for ( int i = 0; i < obsData.getTransits().size(); i++ ) {
if ( fitModel.useAcrossScan() ) {
GVector2d bestFitLSC = new GVector2d(bestFit[2*i], bestFit[2*i+1]);
GVector2d targetsLSC = new GVector2d(targets[2*i], targets[2*i+1]);
GVector2d errorsLSC = new GVector2d(errors[2*i], errors[2*i+1]);
double scanAngle = obsData.getTransits().get(i).getScanAngle();
GVector2d bestFitLPC = Conversion.fromLSCtoLPC(bestFitLSC, scanAngle);
GVector2d targetsLPC = Conversion.fromLSCtoLPC(targetsLSC, scanAngle);
GVector2d errorsLPC = Conversion.fromLSCtoLPCError(errorsLSC, scanAngle);
buffwriter.write(String.format("%20.12e %20.12e %20.12e %20.12e %20.12e %20.12e %20.12e %20.12e %20.12e %20.12e %20.12e %20.12e %20.12e\n",
times[i],
targets[2*i], targets[2*i+1],
errors[2*i], errors[2*i+1],
bestFit[2*i], bestFit[2*i+1],
targetsLPC.getX(), targetsLPC.getY(),
errorsLPC.getX(), errorsLPC.getY(),
bestFitLPC.getX(), bestFitLPC.getY()));
} else {
buffwriter.write(String.format("%20.12e %20.12e %20.12e %20.12e\n",