Optimization Error:

It was also discussed here and one of the responses shows how to use alternative line searches…