Index: /branches/eam_branches/ipp-20140206/Ohana/src/opihi/dvo/photometry.c
===================================================================
--- /branches/eam_branches/ipp-20140206/Ohana/src/opihi/dvo/photometry.c	(revision 36589)
+++ /branches/eam_branches/ipp-20140206/Ohana/src/opihi/dvo/photometry.c	(revision 36590)
@@ -662,5 +662,5 @@
       break;
     case AVE_dMAG:
-      value = PhotdM (code, average, secfilt);
+      value = PhotAveErr (code, average, secfilt);
       break;
     case AVE_Xm:
@@ -865,5 +865,5 @@
   /* for ErrSelect, check average errors */
   if (ErrSelect) {
-    dM = PhotdM (code, average, secfilt);
+    dM = PhotAveErr (code, average, secfilt);
     if (dM > ErrValue) return (FALSE);
   }
Index: /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/launch_region_hosts.c
===================================================================
--- /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/launch_region_hosts.c	(revision 36589)
+++ /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/launch_region_hosts.c	(revision 36590)
@@ -78,4 +78,9 @@
     if (PARALLEL_REGIONS_MANUAL) continue;
 
+    // launch the job, then wait for it to be done loading catalogs.  force the remote
+    // client to generate the file
+    char *syncfile = make_filename (CATDIR, host->hostname, host->hostID, "loadcat.sync");
+    clear_sync_file (syncfile);
+
     // launch the job on the remote machine (no handshake)
     int errorInfo = 0;
@@ -86,4 +91,9 @@
     }
     host->pid = pid; // save for future reference
+
+    // remove client is done, go ahead with next client
+    check_sync_file (syncfile, 1);
+    clear_sync_file (syncfile);
+    free (syncfile);
   }
 
Index: /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/relphot_parallel_images.c
===================================================================
--- /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/relphot_parallel_images.c	(revision 36589)
+++ /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/relphot_parallel_images.c	(revision 36590)
@@ -52,4 +52,10 @@
   catalog = load_catalogs (skylist, &Ncatalog, 0, NULL);
   MARKTIME("-- load catalog data: %f sec\n", dtime);
+
+  // NOTE: if I let all hosts load blindly, I saturate the data clients with too many
+  // relphot_client requests.  I need to have the master mediate this.  the master
+  // will not launch the next remote job until this one says it is done
+  char *syncfile = make_filename (CATDIR, regionHosts->hosts[myHost].hostname, REGION_HOST_ID, "loadcat.sync");
+  update_sync_file (syncfile, 1);
   
   // generate tables go from catID,objID -> catSeq,objSeq
Index: /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/setMrelCatalog.c
===================================================================
--- /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/setMrelCatalog.c	(revision 36589)
+++ /branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/setMrelCatalog.c	(revision 36590)
@@ -255,5 +255,5 @@
 
 	// Map (Maplist) and Mkron (Mkronlist,dkronlist) are used to calculate mean mags per filter
-	float Map = PhotAper (&measure[k]);
+	float Map = PhotAperCat (&measure[k]);
 	if (!isnan(Map)) {
 	    Maplist[Nap] = Map - Mcal - Mmos - Mgrid;
@@ -263,5 +263,5 @@
 	}
 
-	float Mkron = PhotKron (&measure[k]);
+	float Mkron = PhotKronCat (&measure[k]);
 	if (!isnan(Mkron)) {
 	  Mkronlist[Nkron] = Mkron - Mcal - Mmos - Mgrid;
