BIC, order, model = step_ARIMA(decomp.resid[6:-6], 3, 3, 3) print('***************************************') print('Best model with BIC = ' + str(BIC) + ' and with order '+ str(order))