Index: /branches/eam_branches/20091201/tools/diff_outputs.pl
===================================================================
--- /branches/eam_branches/20091201/tools/diff_outputs.pl	(revision 26860)
+++ /branches/eam_branches/20091201/tools/diff_outputs.pl	(revision 26861)
@@ -15,13 +15,15 @@
 use constant PRODUCTS => { 'REGULAR' => [ 'IMAGE', 'MASK', 'VARIANCE',
                                           'SOURCES', 'JPEG1', 'JPEG2',
-                                          'KERNEL' ],
+                                          'KERNEL', 'LOG' ],
                            'ALL' => [ 'IMAGE', 'MASK', 'VARIANCE', 'SOURCES', 'JPEG1', 'JPEG2', 'KERNEL',
                                       'INVERSE.IMAGE', 'INVERSE.MASK', 'INVERSE.VARIANCE', 'INVERSE.SOURCES',
                                       'INCONV.IMAGE', 'INCONV.MASK', 'INCONV.VARIANCE',
                                       'REFCONV.IMAGE', 'REFCONV.MASK', 'REFCONV.VARIANCE',
+                                      'LOG',
                                ],
                            'INVERSE' => [ 'INVERSE.IMAGE', 'INVERSE.MASK',
                                           'INVERSE.VARIANCE',
-                                          'INVERSE.SOURCES' ],
+                                          'INVERSE.SOURCES',
+                                          'LOG', ],
                        };
 
@@ -44,4 +46,5 @@
                              'REFCONV.MASK' => '.refConv.mk.fits', # Convolved reference mask
                              'REFCONV.VARIANCE' => '.refConv.wt.fits', # Convolved reference variance
+                             'LOG' => '.log', # Log file
                          };
 
Index: /branches/eam_branches/20091201/tools/gpc1_find_images.pl
===================================================================
--- /branches/eam_branches/20091201/tools/gpc1_find_images.pl	(revision 26860)
+++ /branches/eam_branches/20091201/tools/gpc1_find_images.pl	(revision 26861)
@@ -194,19 +194,20 @@
 
     %mapping = ();
-    if ((exists($opt{C})&&(exists($opt{S})))||
-	(exists($opt{W})&&(exists($opt{O})))||
-	exists($opt{I})) {
-
-	$sth_mapping = "SELECT skycell_id,class_id from warpSkyCellMap WHERE warp_id = $warp_id";
-	$mr = $db->selectall_arrayref( $sth_mapping );
-	foreach $mrr (@{ $mr }) {
-	    my ($skycell,$class) = @{ $mrr };
-	    my $raw_class = $class;
-	    $raw_class =~ s/xy/ota/i;
-	    push @{ $mapping{$skycell} }, $class;
-	    push @{ $mapping{$skycell} }, $raw_class;
-	    push @{ $mapping{$class} }, $skycell;
-	    push @{ $mapping{$raw_class} }, $skycell;
+    unless (exists($opt{Y})) {
+	if ((exists($opt{C})&&(exists($opt{S})))||
+	    (exists($opt{W})&&(exists($opt{O})))||
+	    exists($opt{I})) {
+	    $sth_mapping = "SELECT skycell_id,class_id from warpSkyCellMap WHERE warp_id = $warp_id";
+	    $mr = $db->selectall_arrayref( $sth_mapping );
+	    foreach $mrr (@{ $mr }) {
+		my ($skycell,$class) = @{ $mrr };
+		my $raw_class = $class;
+		$raw_class =~ s/xy/ota/i;
+		push @{ $mapping{$skycell} }, $class;
+		push @{ $mapping{$skycell} }, $raw_class;
+		push @{ $mapping{$class} }, $skycell;
+		push @{ $mapping{$raw_class} }, $skycell;
 #	    print STDERR "$raw_class $class $skycell\n";
+	    }
 	}
     }
@@ -444,4 +445,14 @@
 	    return(1);
 	}
+	elsif ($opt{M} && ($key =~ /mk.fits/)) {
+	    if (($opt{O} ne '')&&($key !~ /$opt{O}/)) {
+		return(0); # Not the requested OTA
+	    }
+	    if (($opt{S} ne '')&& !(is_mapped($key,$opt{S}))) {
+		return(0); # Not the remapped skycell requested
+	    }
+	    return(1);
+	}	    
+
     }
     return(0);
@@ -478,7 +489,17 @@
 	    return(0); # Not a fits
 	}
+	elsif ($key =~ /refConv/) {
+	    return(0);
+	}
+	elsif ($key =~ /inConv/) {
+	    return(0);
+	}
+	elsif ($key =~ /inv/) {
+	    return(0);
+	}
 	elsif ($key =~ /wt.fits/) {
 	    return(0); # No handler for weight right now.
 	}
+
 	elsif ($key =~ /mask/) {
 	    if ($opt{M}) {
Index: /branches/eam_branches/20091201/tools/stack_outputs.pl
===================================================================
--- /branches/eam_branches/20091201/tools/stack_outputs.pl	(revision 26860)
+++ /branches/eam_branches/20091201/tools/stack_outputs.pl	(revision 26861)
@@ -20,4 +20,7 @@
                              'B1' => '.b1.jpg', # Binned jpeg
                              'B2' => '.b2.jpg', # Binned jpeg
+                             'UNCONV.IMAGE' => '.unconv.fits', # Image
+                             'UNCONV.MASK' => '.unconv.mask.fits', # Mask
+                             'UNCONV.VARIANCE' => '.unconv.wt.fits', # Variance
                          };
 
Index: /branches/eam_branches/20091201/tools/wiki_nightly_stacks_table.pl
===================================================================
--- /branches/eam_branches/20091201/tools/wiki_nightly_stacks_table.pl	(revision 26860)
+++ /branches/eam_branches/20091201/tools/wiki_nightly_stacks_table.pl	(revision 26861)
@@ -314,4 +314,7 @@
 
 foreach $d (sort (keys %diststacks)) {
+    unless (exists($fault_diststacks{$d})) {
+	next;
+    }
     print '||' . $d ;
     foreach $t (@targets) {
