Index: /branches/eam_branches/relphot.20210521/src/reload_catalogs.c
===================================================================
--- /branches/eam_branches/relphot.20210521/src/reload_catalogs.c	(revision 41604)
+++ /branches/eam_branches/relphot.20210521/src/reload_catalogs.c	(revision 41605)
@@ -80,4 +80,6 @@
     TIMESTAMP(time2);
 
+    // XXX relphot_objects.c resets average and secfilt here
+
     populate_tiny_values(&catalog, DVO_TV_MEASURE | DVO_TV_AVERAGE);
     TIMESTAMP(time3a);
@@ -100,4 +102,6 @@
     setMrelFinal (&catalog, flatcorr, FALSE);
     TIMESTAMP(time5);
+
+    // XXX relphot_objects allows !UPDATE and skips
 
     // modify the output format as desired (ignore current format on disk)
Index: /branches/eam_branches/relphot.20210521/src/relphot.c
===================================================================
--- /branches/eam_branches/relphot.20210521/src/relphot.c	(revision 41604)
+++ /branches/eam_branches/relphot.20210521/src/relphot.c	(revision 41605)
@@ -87,4 +87,9 @@
 
     I would like to merge the functionality of relphot_images (Nloop == 0), relphot_objects, and apply_offsets
+
+    relphot_objects vs reload_objects (apply offsets):
+
+    relphot_objects 
+    
     
 ***/
Index: /branches/eam_branches/relphot.20210521/src/relphot_objects.c
===================================================================
--- /branches/eam_branches/relphot.20210521/src/relphot_objects.c	(revision 41604)
+++ /branches/eam_branches/relphot.20210521/src/relphot_objects.c	(revision 41605)
@@ -40,4 +40,6 @@
   load_images (&db, skylist, &UserPatch, TRUE, USE_ALL_IMAGES);
   MARKTIME("loaded images: %f sec\n", dtime);
+
+  // XXX can I call reload_catalogs here?
 
   // load the ZP corrections here
@@ -115,8 +117,11 @@
     initImageBins  (&catalog, 1, FALSE);
     initMosaicBins (&catalog, 1, FALSE);
+    // XXX reload_catalogs.c calls initTGroupBins here 
+
     initGridBins   (&catalog, 1); 
 
     findImages (&catalog, 1, FALSE);
     findMosaics (&catalog, 1, FALSE);
+    // XXX reload_catalogs.c calls findTGroups here 
 
     initMrel (&catalog, 1);
