LmDatumError is an interface for evaluating error, Jacobian matrix and Hessian matrix of a single piece of observed data