Extend MaxLik for constraints
Add try/catch error