Index: trunk/psastro/src/psastroChooseRefstars.c
===================================================================
--- trunk/psastro/src/psastroChooseRefstars.c	(revision 10855)
+++ trunk/psastro/src/psastroChooseRefstars.c	(revision 10880)
@@ -56,6 +56,4 @@
                 psArray *refstars = psArrayAllocEmpty (100);
 
-		FILE *f = fopen ("refstars.dat", "w");
-
                 // select the reference objects within range of this readout
                 // project the reference objects to this chip
@@ -66,10 +64,4 @@
                     psPlaneTransformApply (ref->FP, fpa->fromTPA, ref->TP);
                     psPlaneTransformApply (ref->chip, chip->fromFPA, ref->FP);
-
-		    fprintf (f, "%d  %f %f  %f %f  %f %f  %f %f\n", i,
-			     ref->sky->r, ref->sky->d, 
-			     ref->TP->x, ref->TP->y, 
-			     ref->FP->x, ref->FP->y, 
-			     ref->chip->x, ref->chip->y);
 
                     // limit the X,Y range of the refs to the selected chip
@@ -83,5 +75,4 @@
                     psFree (ref);
                 }
-		fclose (f);
                 psTrace ("psastro", 4, "Added %ld refstars\n", refstars->n);
 
