Dear Tibor,
I just came across your mail about the MCSCF convergence problems and took a look at it. Sorry for not replying earlier, but I hope that my reply will still be helpful.
Yes, I know that the CASSCF convergence is sometimes not reproducible, although in most cases the same correct minimum is found. This happens if the Hessian becomes nearly singular, which means that some orbital rotations are nearly redundant. It is not surprising that QN has problems in such cases. Unfortunately, it is difficult to fix reliably, because one would have to remove singularities by excluding some orbital rotations, which would then unavoidably lead to small changes of the energy and possibly to small steps on potential energy surfaces.
In my view this is an intrinsic problem caused by the choice of the active space (and the number of states). My experience is: if the second-order CASSCF algorithm has problems to converge, very likely the active space is not well chosen.
In the current case the problem is quite obvious: the occupation numbers of several active orbitals are very close to 2, which means that rotations of these orbitals with closed-shell orbitals hardly change the energy, i.e. they are nearly redundant, leading to near-singularity of the Hessian. A closer look shows that only 4 active orbitals are relevant: the two pi orbitals of the OH radical and a pi/pi* pair of cytosine. All other occupied orbitals should be made closed-shell (inactive), leading to an active space of 5 electrons in 4 orbitals. Probably, the other pi/pi* orbitals of cytosine should also be included in the active space, but then OCC needs to be increased. I have not looked at this.
Another problem is that there are two nearly degenerate states, correlating asymptotically with the two degenerate ^2Pi states of the OH radical. Both states should be included in a state-averaged CASSCF in order to facilitate convergence and to get a smooth PES for all orientations of the OH radical.
In order to converge to the desired active space it is important to have a reasonable starting guess. In many cases this can be generated with AVAS, without the need of a preceding RHF (which can also converge to different local minima, depending on the starting guess). An example of how to generate the AVAS guess for the (5,4) active space is attached. With this, the second-order method converges very quickly with or without QN. Naturally, the first-order so-sci method needs more iterations, but overall it is faster than the second-order optimization. Interestingly, in this case QN helps a lot to reduce the number of iterations (from 57 to 15!)
We have made SO-SCI the default for DF-CASSCF, since the second-order method gets very expensive for larger molecules with many closed-shell orbitals. This has made it possible to run CASSCF calculations with thousands of basis functions and hundreds of electrons. On the other hand, the second-order method is the default for conventional CASSCF, which is typically used for small molecules.
Best wishes
Joachim Werner
Attached are 2 tests with avas starting guess. One with the original geometry, and one with a reordered geometry so that the cytosine ring can be placed in the yz plane.
Note that the choice of atomic orbitals in AVAS depends on the orientation of the system.