Index: /branches/eam_branches/ohana.20170809/src/relphot/src/relphot_objects.c
===================================================================
--- /branches/eam_branches/ohana.20170809/src/relphot/src/relphot_objects.c	(revision 40110)
+++ /branches/eam_branches/ohana.20170809/src/relphot/src/relphot_objects.c	(revision 40111)
@@ -149,4 +149,9 @@
     if (VERBOSE) fprintf (stderr, "saving catalog %s\n", catalog.filename);
     
+    // modify the output format as desired (ignore current format on disk)
+    if (UPDATE_CATFORMAT) {
+      catalog.catformat = dvo_catalog_catformat (UPDATE_CATFORMAT);
+    }
+
     char history[128];
     struct timeval now;
@@ -247,4 +252,5 @@
     if (UPDATE)        	   { strextend (&command, "-update"); }
     if (!KEEP_UBERCAL) 	   { strextend (&command, "-reset-ubercal"); }
+    if (UPDATE_CATFORMAT)  { strextend (&command, "-update-catformat %s", UPDATE_CATFORMAT); }
     if (BOUNDARY_TREE)     { strextend (&command, "-boundary-tree %s", BOUNDARY_TREE); }
     if (SYNTH_ZERO_POINTS) { strextend (&command, "-synthphot-zpts %s", SYNTH_ZERO_POINTS); }
