Index: trunk/Ohana/src/dvopsps/src/insert_FGshape_dvopsps_catalog.c
===================================================================
--- trunk/Ohana/src/dvopsps/src/insert_FGshape_dvopsps_catalog.c	(revision 39252)
+++ trunk/Ohana/src/dvopsps/src/insert_FGshape_dvopsps_catalog.c	(revision 39253)
@@ -229,6 +229,13 @@
 
     float sersic_index = galphot->index;
-    if (galphot->modelType == 6) sersic_index = 1.0;
-    if (galphot->modelType == 7) sersic_index = 4.0;
+    if (galphot->modelType == 6) {
+      sersic_index = 1.0;
+    }
+    else if (galphot->modelType == 7) {
+      sersic_index = 4.0;
+    }
+    else {
+      sersic_index = 1.0 / (2.0 * sersic_index);
+    }
 
     PRINT_FLOAT(gal_buffer, galphot->mag,              "%.6e, ");
