Index: /branches/eam_branches/ipp-20140206/psphot/src/psphotFullForceReadout.c
===================================================================
--- /branches/eam_branches/ipp-20140206/psphot/src/psphotFullForceReadout.c	(revision 36627)
+++ /branches/eam_branches/ipp-20140206/psphot/src/psphotFullForceReadout.c	(revision 36628)
@@ -100,4 +100,10 @@
     psphotMagnitudes(config, view, filerule);
 
+    // calculate lensing parameters
+    if (!psphotLensing(config, view, filerule)) {
+	psErrorStackPrint(stderr, "Unable to do lensing parameters.");
+        psErrorClear();
+    }
+
     // replace background in residual image
     psphotSkyReplace (config, view, filerule);
Index: /branches/eam_branches/ipp-20140206/psphot/src/psphotStackReadout.c
===================================================================
--- /branches/eam_branches/ipp-20140206/psphot/src/psphotStackReadout.c	(revision 36627)
+++ /branches/eam_branches/ipp-20140206/psphot/src/psphotStackReadout.c	(revision 36628)
@@ -418,4 +418,10 @@
     // calculate source magnitudes
     psphotMagnitudes(config, view, STACK_RAW);
+
+    // calculate lensing parameters
+    if (!psphotLensing(config, view, filerule)) {
+	psErrorStackPrint(stderr, "Unable to do lensing parameters.");
+        psErrorClear();
+    }
 
     if (!psphotEfficiency(config, view, STACK_RAW)) {
