Index: trunk/psastro/src/psastroLuminosityFunction.c
===================================================================
--- trunk/psastro/src/psastroLuminosityFunction.c	(revision 10855)
+++ trunk/psastro/src/psastroLuminosityFunction.c	(revision 10880)
@@ -68,5 +68,4 @@
   // exclude bins with no stars
   // exclude points after the peak with N < 0.8*peak
-  FILE *f = fopen ("psastro.dat", "w");
   int n = 0;
   for (int i = 0; i < nMags->n; i++) {
@@ -75,8 +74,6 @@
     lnMag->data.F32[n] = log10 (nMags->data.F32[i]);
     Mag->data.F32[n] = mMin + (i + 0.5)*dMag;
-    fprintf (f, "%d  %f %.0f %f\n", n, Mag->data.F32[n], nMags->data.F32[i], lnMag->data.F32[n]);
     n++;
   }
-  fclose (f);
   lnMag->n = n;
   Mag->n = n;
