[DynareDev] estimation with analytic scores and hessian