Hello Amlan, Thank you for your question. Actually, I took your file and code and tried it on my 9.4 SAS with 12.3 SAS/ETS and the optimization completed just fine. My guess is that you are on a previous version of SAS/ETS. In recent years, the VARMAX routine has received algorithm improvements that greatly enhance optimization. If you are unable to upgrade to the newest version of SAS you might want to see if you can bump up the iterations and function calls, such as with nloptions maxiter=500 maxfunc=5000; Best of luck-Ken
... View more