Space Time Fixed mena function.
Try Catch for NLML calculation.