Index: branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src/photdbc.c
===================================================================
--- branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src/photdbc.c	(revision 37979)
+++ branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src/photdbc.c	(revision 38044)
@@ -10,5 +10,10 @@
 
   // the output catalog needs to inherit the SKY_DEPTH of the input catalog
-  sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, TRUE, 0, VERBOSE);
+  sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, FALSE, 0, VERBOSE);
+  if (!sky) {
+      fprintf (stderr, "ERROR loading sky table from %s\n", CATDIR);
+      exit (2);
+  }
+
   SkyTableSetFilenames (sky, CATDIR, "cpt");
   skylist = SkyListByPatch (sky, -1, &REGION);
Index: branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src/photdbc_client.c
===================================================================
--- branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src/photdbc_client.c	(revision 37979)
+++ branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src/photdbc_client.c	(revision 38044)
@@ -6,7 +6,7 @@
 
   // load the current sky table (layout of all SkyRegions) 
-  SkyTable *sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, TRUE, -1, VERBOSE);
+  SkyTable *sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, FALSE, -1, VERBOSE);
   if (!sky) {
-      fprintf (stderr, "ERROR running loading sky table from %s\n", CATDIR);
+      fprintf (stderr, "ERROR loading sky table from %s\n", CATDIR);
       exit (2);
   }
