Index: trunk/ippScripts/scripts/diff_skycell.pl
===================================================================
--- trunk/ippScripts/scripts/diff_skycell.pl	(revision 17803)
+++ trunk/ippScripts/scripts/diff_skycell.pl	(revision 17858)
@@ -87,5 +87,5 @@
 
 # Identify the input and the template
-my ($input, $inputMask, $inputWeight, $inputPath, $inputPSF); # Input files and path
+my ($input, $inputMask, $inputWeight, $inputPath); # Input files and path
 my ($template, $templateMask, $templateWeight, $templatePath, $templateSources); # Template files and path
 my $tess_id;                    # Tesselation identifier
@@ -111,9 +111,7 @@
             $inputMask = "PPSTACK.OUTPUT.MASK";
             $inputWeight = "PPSTACK.OUTPUT.WEIGHT";
-            $inputPSF = "PSPHOT.PSF.SAVE";
         } else {
             $inputMask = "PSWARP.OUTPUT.MASK";
             $inputWeight = "PSWARP.OUTPUT.WEIGHT";
-            $inputPSF = "PSPHOT.PSF.SAVE";
         }
     }
@@ -147,5 +145,4 @@
 $templateWeight = $ipprc->filename($templateWeight, $templatePath);
 $inputWeight = $ipprc->filename($inputWeight, $inputPath);
-$inputPSF = $ipprc->filename($inputPSF, $inputPath);
 $templateSources = $ipprc->filename($templateSources, $templatePath);
 
@@ -156,5 +153,4 @@
 &my_die("Couldn't find input: $inputMask", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputMask);
 &my_die("Couldn't find input: $inputWeight", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputWeight);
-&my_die("Couldn't find input: $inputPSF", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputPSF);
 &my_die("Couldn't find input: $templateSources", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateSources);
 
@@ -180,5 +176,5 @@
     $command .= " -recipe PPSTATS WARPSTATS";
     $command .= " -sources $templateSources";
-    $command .= " -psf $inputPSF";
+    $command .= " -photometry";
     $command .= " -tracedest $traceDest -log $logDest";
 
