analytical jacobian works until 1.d-7 residual