Index: trunk/Ohana/src/opihi/dvo/ddmags.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/ddmags.c	(revision 5945)
+++ trunk/Ohana/src/opihi/dvo/ddmags.c	(revision 7080)
@@ -20,4 +20,5 @@
   RegionName = NULL;
   RegionList = NULL;
+  skylist = NULL;
 
   /* load photcode information */
@@ -66,9 +67,11 @@
     }
     catalog.catflags = LOAD_AVES | LOAD_MEAS | LOAD_SECF;
-    if (!load_catalog (&catalog, FALSE)) {
+    if (!load_catalog (&catalog, TRUE)) {
       unlock_catalog (&catalog);
       continue;
     }
     unlock_catalog (&catalog);
+    // fprintf (stderr, "seaching %s with %d stars\n", catalog.filename, catalog.Naverage);
+    // ListPhotSelections ();
 
     /* get correct mags, convert to X,Y */
@@ -109,4 +112,6 @@
       if (M2 != NULL) free (M2);
     }
+    // fprintf (stderr, "selected %d stars\n", Npts);
+
     if (catalog.average != NULL) free (catalog.average);
     if (catalog.secfilt != NULL) free (catalog.secfilt);
