Index: /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/CoordOps.c
===================================================================
--- /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/CoordOps.c	(revision 37692)
+++ /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/CoordOps.c	(revision 37693)
@@ -7,6 +7,4 @@
 static Coords *oldCoords;   // list of available images
 static off_t  NoldCoords;   // number of available images
-
-AstromOffsetTable *table = NULL;
 
 void initCoords (void) {
@@ -26,8 +24,4 @@
   memset (nPosSum,    0, N*sizeof(off_t));
   memset (isBadCoord, 0, N*sizeof(int));
-
-  // create a table to save tables with their coords
-  table = AstromOffsetTableInit();
-
 }
 
Index: /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/load_catalogs.c
===================================================================
--- /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/load_catalogs.c	(revision 37692)
+++ /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/load_catalogs.c	(revision 37693)
@@ -6,5 +6,5 @@
 Catalog *load_catalogs (SkyList *skylist, int *Ncatalog, int subselect, int hostID, char *hostpath, char *syncfile) {
 
-  int i, j, Nstar;
+  int i, j;
   // int k, m;
   Catalog *catalog, *pcatalog, tcatalog;
@@ -90,7 +90,9 @@
   fprintf (stderr, "included %d ICRF QSOs\n", ICRFmax()); 
 
-  Nstar = 0;
+  int Nstar = 0;
+  int Nmeas = 0;
   for (i = 0; i < Ncat; i++) {
     Nstar += catalog[i].Naverage;
+    Nmeas += catalog[i].Nmeasure;
     if ((sizeof(IDX_T) == 8) && (catalog[i].Nmeasure > 0xffffffff)) {
       fprintf (stderr, "ERROR: using small-sized IDX_T on data with more than 2G detections per table will cause errors\n");
@@ -102,4 +104,5 @@
     fprintf (stderr, "warning: insufficient stars %d\n", Nstar);
   }
+  fprintf (stderr, "using %d stars, %d measurements to calibrate\n", Nstar, Nmeas);
 
   // if we are running with parallel_images but not a parallel database, we need to
