// Covariances and errors
double[] fitErrors = optimizer.guessParametersErrors();
double[][] fitCovariance = optimizer.getCovariances();
// Output values
FitResults fitResults = new FitResults(
optimum.getValue(), optimum.getPoint(), fitErrors, fitCovariance);
/*
System.out.printf("Inclination angle [rad]: %15.7e +- %15.7e\n",
fitResults.getVariables()[0], fitResults.getErrors()[0]);