add exception for convergence to a suboptimal point