Quasi Newton optimisation

Is there any way to determine why a QN opt failed? Sometimes, I get a runtime error saying it didnt work, but not a lot of details after that.

You need to provide full error message and code to reproduce the problem.