Index: trunk/psphot/src/psphotOutput.c
===================================================================
--- trunk/psphot/src/psphotOutput.c	(revision 5617)
+++ trunk/psphot/src/psphotOutput.c	(revision 5628)
@@ -364,32 +364,4 @@
 	fprintf (f, "%5d %5d  %7.1f\n", 
 		 peak->x, peak->y, peak->counts); 
-    }
-    fclose (f);
-    return true;
-}
-
-// write the moments to an output file 
-bool pmMomentsWriteText (psArray *sources, char *filename) {
-
-    int i;
-    FILE *f;
-    pmSource *source;
-	
-    f = fopen (filename, "w");
-    if (f == NULL) {
-	psLogMsg ("pmMomentsWriteText", 3, "can't open output file for moments%s\n", filename);
-	return false;
-    }
-
-    for (i = 0; i < sources->n; i++) {
-	source = (pmSource *) sources->data[i];
-	if (source->moments == NULL) continue;
-	fprintf (f, "%5d %5d  %7.1f  %7.1f %7.1f  %6.3f %6.3f  %8.1f %7.1f %7.1f %7.1f  %4d %2d\n", 
-		 source->peak->x, source->peak->y, source->peak->counts, 
-		 source->moments->x, source->moments->y, 
-		 source->moments->Sx, source->moments->Sy, 
-		 source->moments->Sum, source->moments->Peak, 
-		 source->moments->Sky, source->moments->SN, 
-		 source->moments->nPixels, source->type); 
     }
     fclose (f);
