Index: trunk/ppStack/src/ppStackSources.c
===================================================================
--- trunk/ppStack/src/ppStackSources.c	(revision 20884)
+++ trunk/ppStack/src/ppStackSources.c	(revision 20940)
@@ -228,5 +228,5 @@
     FILE *file = fopen(filename, "w"); // File to write
     psFree(filename);
-    fprintf(file, "# x y mag1 mag2\n");
+    fprintf(file, "# x1 y1 x2 y2 mag1 mag1err mag2 mag2err flag1 flag2\n");
 #endif
 
@@ -252,6 +252,9 @@
             isfinite(listMag) && isfinite(sourceMag)) {
 #ifdef TESTING
-            fprintf(file, "%f %f %f %f %.4x %.4x\n", x->data.F32[i], y->data.F32[i],
-                    listSource->psfMag, source->psfMag, listSource->mode, source->mode);
+            float xList, yList;         // Coordinates from source on list
+            coordsFromSource(&xList, &yList, listSource);
+            fprintf(file, "%f %f %f %f %f %f %f %f %.4x %.4x\n", x->data.F32[i], y->data.F32[i], xList, yList,
+                    listSource->psfMag, listSource->errMag, source->psfMag, source->errMag,
+                    listSource->mode, source->mode);
 #endif
             magDiff->data.F32[numIn] = listSource->psfMag - source->psfMag;
