Gets parameter estimates for stochastic simulated data by optimizing least squared resids using deterministic version