Index: trunk/psModules/test/detrend/verified/tst_pmFlatField.stderr
===================================================================
--- trunk/psModules/test/detrend/verified/tst_pmFlatField.stderr	(revision 5516)
+++ trunk/psModules/test/detrend/verified/tst_pmFlatField.stderr	(revision 5681)
@@ -5,24 +5,64 @@
 \**********************************************************************************/
 
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmFlatField (FILE:LINENO)
-    Null not allowed for flat readout.
+    Unallowable operation: flat is NULL.
 <HOST>|E|pmFlatField (FILE:LINENO)
-    Null not allowed for input image.
+    Unallowable operation: in->image is NULL.
 <HOST>|E|pmFlatField (FILE:LINENO)
-    Null not allowed for flat image.
+    Unallowable operation: flat->image is NULL.
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmFlatField (FILE:LINENO)
     Input image size exceeds that of flat image: (3, 3) vs (2, 2)
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmFlatField (FILE:LINENO)
     Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmFlatField (FILE:LINENO)
-    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
+    Total offset >= flat image size: (50, 50) vs (3, 3)
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmFlatField (FILE:LINENO)
-    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
+    Complex types not allowed for input image. Type: 2064
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmFlatField (FILE:LINENO)
-    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
+    Complex types not allowed for flat image. Type: 2064
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmFlatField (FILE:LINENO)
-    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
+    Input and flat image types differ: (1032 vs 1028)
+<HOST>|W|pmFlatField
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmFlatField (FILE:LINENO)
-    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
+    Mask must be PS_TYPE_MASK type. Type: 1028
 
 ---> TESTPOINT PASSED (Test Point Driver{pmFlatField} | tst_pmFlatField.c)
Index: trunk/psModules/test/detrend/verified/tst_pmFlatField.stdout
===================================================================
--- trunk/psModules/test/detrend/verified/tst_pmFlatField.stdout	(revision 5516)
+++ trunk/psModules/test/detrend/verified/tst_pmFlatField.stdout	(revision 5681)
@@ -4,4 +4,9 @@
 *             TestType: Positive                                                   *
 \**********************************************************************************/
+
+Input mask:
+0 0 0 
+0 0 0 
+0 0 0 
 
 Input image:
@@ -10,9 +15,4 @@
 6.000000 6.000000 6.000000 
 
-Input mask:
-0 0 0 
-0 0 0 
-0 0 0 
-
 Flat image:
 2.000000 2.000000 2.000000 
@@ -85,12 +85,12 @@
 
 Resulting mask:
-0 0 0 
-0 0 0 
-0 0 0 
+8 8 8 
+8 8 8 
+0 8 8 
 
 Resulting image:
 3.000000 3.000000 3.000000 
 3.000000 3.000000 3.000000 
-3.000000 3.000000 3.000000 
+1.000000 3.000000 3.000000 
 
 
Index: trunk/psModules/test/detrend/verified/tst_pmMaskBadPixels.stderr
===================================================================
--- trunk/psModules/test/detrend/verified/tst_pmMaskBadPixels.stderr	(revision 5516)
+++ trunk/psModules/test/detrend/verified/tst_pmMaskBadPixels.stderr	(revision 5681)
@@ -5,4 +5,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 
 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Create mask based on maskVal argument} | tst_pmMaskBadPixels.c)
@@ -14,4 +18,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 
 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Create mask based on saturation argument} | tst_pmMaskBadPixels.c)
@@ -23,4 +31,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 
 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Create mask based on growVal and grow arguments} | tst_pmMaskBadPixels.c)
@@ -32,4 +44,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 
 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Auto create mask based on maskVal argument} | tst_pmMaskBadPixels.c)
@@ -41,6 +57,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
 <HOST>|E|pmMaskBadPixels (FILE:LINENO)
-    Null not allowed for mask image.
+    Unallowable operation: mask is NULL.
 
 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt to use null mask} | tst_pmMaskBadPixels.c)
@@ -53,5 +71,5 @@
 
 <HOST>|E|pmMaskBadPixels (FILE:LINENO)
-    Null not allowed for input image.
+    Unallowable operation: in->image is NULL.
 
 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt tp use null input image} | tst_pmMaskBadPixels.c)
@@ -63,4 +81,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Input image size exceeds that of mask image: (60, 60) vs (50, 50)
@@ -74,6 +96,8 @@
 \**********************************************************************************/
 
-<HOST>|E|pmMaskBadPixels (FILE:LINENO)
-    Input image mask size exceeds that of mask image: (60, 60) vs (50, 50)
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 
 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt to use input image mask bigger than mask} | tst_pmMaskBadPixels.c)
@@ -85,4 +109,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Total offset >= mask image: (150, 150) vs (50, 50)
@@ -96,4 +124,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Complex types not allowed for input image. Type: 2064
@@ -107,4 +139,8 @@
 \**********************************************************************************/
 
+<HOST>|W|pmMaskBadPixels
+    WARNING: in->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 <HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Mask must be PS_TYPE_MASK type. Type: 1032
Index: trunk/psModules/test/detrend/verified/tst_pmMaskBadPixels.stdout
===================================================================
--- trunk/psModules/test/detrend/verified/tst_pmMaskBadPixels.stdout	(revision 5516)
+++ trunk/psModules/test/detrend/verified/tst_pmMaskBadPixels.stdout	(revision 5681)
@@ -24,6 +24,6 @@
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000010000000000000000000000000
+00000000000000000000000001000000000000000000000000
+00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
@@ -76,6 +76,6 @@
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000010000000000000000000000000
+00000000000000000000000001000000000000000000000000
+00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
@@ -156,54 +156,54 @@
 
 Resulting mask:
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
-44444444444444444444444444444444444444444444444444
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000001000000000000000000000000
+00000000000000000000000011100000000000000000000000
+00000000000000000000000111110000000000000000000000
+00000000000000000000000011100000000000000000000000
+00000000000000000000000001000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
 
 Data mask:
@@ -233,25 +233,25 @@
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
-00000000000000000000000010000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00010000000000000000000000000000000000000000001000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
@@ -274,40 +274,40 @@
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000011111110000000000000000000000
-00000000000000000001111111111100000000000000000000
-00000000000000000011111111111110000000000000000000
-00000000000000000111111111111111000000000000000000
-00000000000000001111111111111111100000000000000000
-00000000000000011111111111111111110000000000000000
-00000000000000011111111111111111110000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000011111111111111111110000000000000000
-00000000000000011111111111111111110000000000000000
-00000000000000001111111111111111100000000000000000
-00000000000000000111111111111111000000000000000000
-00000000000000000011111111111110000000000000000000
-00000000000000000001111111111100000000000000000000
-11111110000000000000011111110000000000000001111111
-11111111100000000000000000000000000000000111111111
-11111111110000000000000000000000000000001111111111
-11111111111000000000000000000000000000011111111111
-11111111111100000000000000000000000000111111111111
-11111111111110000000000000000000000001111111111111
-11111111111110000000000000000000000001111111111111
-11111111111111000000000000000000000011111111111111
-11111111111111000000000000000000000011111111111111
-11111111111111000000000000000000000011111111111111
-11111111111111000000000000000000000011111111111111
-11111111111111000000000000000000000011111111111111
-11111111111111000000000000000000000011111111111111
-11111111111111000000000000000000000011111111111111
-11111111111110000000000000000000000001111111111111
+00000000000000000000000001000000000000000000000000
+00000000000000000000011111111100000000000000000000
+00000000000000000001111111111111000000000000000000
+00000000000000000011111111111111100000000000000000
+00000000000000000111111111111111110000000000000000
+00000000000000000111111111111111110000000000000000
+00000000000000001111111111111111111000000000000000
+00000000000000001111111111111111111000000000000000
+00000000000000001111111111111111111000000000000000
+00000000000000001111111111111111111000000000000000
+00000000000000011111111111111111111100000000000000
+00000000000000001111111111111111111000000000000000
+00000000000000001111111111111111111000000000000000
+00000000000010001111111111111111111000100000000000
+00000000111111111111111111111111111111111110000000
+00000011111111111111111111111111111111111111100000
+00000111111111111111111111111111111111111111110000
+00001111111111111111111111111111111111111111111000
+00001111111111111111111111111111111111111111111000
+00011111111111111111111111111111111111111111111100
+00011111111111111111110001000111111111111111111100
+00011111111111111111110000000111111111111111111100
+00011111111111111111110000000111111111111111111100
+00111111111111111111111000001111111111111111111110
+00011111111111111111110000000111111111111111111100
+00011111111111111111110000000111111111111111111100
+00011111111111111111110000000111111111111111111100
+00011111111111111111110000000111111111111111111100
+00001111111111111111100000000011111111111111111000
+00001111111111111111100000000011111111111111111000
+00000111111111111111000000000001111111111111110000
+00000011111111111110000000000000111111111111100000
+00000000111111111000000000000000001111111110000000
+00000000000010000000000000000000000000100000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
 
 Data mask:
@@ -336,6 +336,6 @@
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000010000000000000000000000000
+00000000000000000000000001000000000000000000000000
+00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
@@ -379,38 +379,38 @@
 00000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000
-00000000000000000000011111110000000000000000000000
-00000000000000000001111111111100000000000000000000
-00000000000000000011111111111110000000000000000000
-00000000000000000111111111111111000000000000000000
-00000000000000001111111111111111100000000000000000
-00000000000000011111111111111111110000000000000000
-00000000000000011111111111111111110000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000111111111111111111111000000000000000
-00000000000000011111111111111111110000000000000000
-00000000000000011111111111111111110000000000000000
-00000000000000001111111111111111100000000000000000
-00000000000000000111111111111111000000000000000000
-00000000000000000011111111111110000000000000000000
-00000000000000000001111111111100000000000000000000
-00000000000000000000011111110000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-00000000000000000000000000000000000000000000000000
-
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000001000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000
+
Index: trunk/psModules/test/detrend/verified/tst_pmNonLinear.stderr
===================================================================
--- trunk/psModules/test/detrend/verified/tst_pmNonLinear.stderr	(revision 5516)
+++ trunk/psModules/test/detrend/verified/tst_pmNonLinear.stderr	(revision 5681)
@@ -5,4 +5,20 @@
 \**********************************************************************************/
 
+<HOST>|W|pmNonLinearityPolynomial
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|W|pmNonLinearityPolynomial
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|W|pmNonLinearityPolynomial
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|W|pmNonLinearityPolynomial
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 
 ---> TESTPOINT PASSED (Test Point Driver{pmNonLinearityPolynomial} | tst_pmNonLinear.c)
@@ -14,4 +30,20 @@
 \**********************************************************************************/
 
+<HOST>|W|pmNonLinearityLookup
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|W|pmNonLinearityLookup
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|W|pmNonLinearityLookup
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|W|pmNonLinearityLookup
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
 
 ---> TESTPOINT PASSED (Test Point Driver{pmNonLinearityLookup} | tst_pmNonLinear.c)
@@ -42,30 +74,12 @@
 <HOST>|E|pmNonLinearityLookup (FILE:LINENO)
     Unallowable operation: inputReadout->image is NULL.
-<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
-    Unallowable operation: inFlux is NULL.
-<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
-    Unallowable operation: outFlux is NULL.
 <HOST>|W|pmNonLinearityLookup
-    WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (24, 25)
+    WARNING: inputReadout->parent is NULL.
+<HOST>|W|p_psDetermineTrimmedImage
+    WARNING: could not determine CELL.TRIMSEC from parent cell Metadata (NULL).
+<HOST>|E|psVectorsReadFromFile (FILE:LINENO)
+    Failed to open file I_DONT_EXIST.
 <HOST>|W|pmNonLinearityLookup
-    WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (24, 23)
-<HOST>|W|pmNonLinearityLookup
-    WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (23, 24)
-<HOST>|W|pmNonLinearityLookup
-    WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (25, 24)
-<HOST>|W|pmNonLinearityLookup
-    WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (23, 25)
-<HOST>|W|pmNonLinearityLookup
-    WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (25, 23)
-<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
-    pmNonLinearityLookup(): input vector less than 2 elements.  Returning inputReadout image.
-<HOST>|W|vectorBinDisectF32
-    vectorBinDisectF32(): ordinate -1.000000 is outside vector range (0.000000 - 23.000000).
-<HOST>|W|pmNonLinearityLookup
-    WARNING: pmNonLinear.c: pmNonLinearityLookup(): 1 pixels outside table.
-<HOST>|W|vectorBinDisectF32
-    vectorBinDisectF32(): ordinate 100.000000 is outside vector range (0.000000 - 23.000000).
-<HOST>|W|pmNonLinearityLookup
-    WARNING: pmNonLinear.c: pmNonLinearityLookup(): 1 pixels outside table.
+    WARNING: Lookup Table is too small.  Returning original pmReadout.
 
 ---> TESTPOINT PASSED (Test Point Driver{pmNonLinearityLookup(): error/warning conditions} | tst_pmNonLinear.c)
Index: trunk/psModules/test/detrend/verified/tst_pmNonLinear.stdout
===================================================================
--- trunk/psModules/test/detrend/verified/tst_pmNonLinear.stdout	(revision 5516)
+++ trunk/psModules/test/detrend/verified/tst_pmNonLinear.stdout	(revision 5681)
@@ -88,27 +88,7 @@
 Calling pmNonLinearityLookup() with NULL input pmReadout->image.  Should generate error, return NULL.
 ------------------------------------------------------------
-Calling pmNonLinearityLookup() with NULL inFlux psVector.  Should generate error, return NULL.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with NULL outFlux psVector.  Should generate error, return NULL.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with size difference in inFlux/outFLux psVectors.  Should generate warning.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with size difference in inFlux/outFLux psVectors.  Should generate warning.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with size difference in inFlux/outFLux psVectors.  Should generate warning.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with size difference in inFlux/outFLux psVectors.  Should generate warning.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with size difference in inFlux/outFLux psVectors.  Should generate warning.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with size difference in inFlux/outFLux psVectors.  Should generate warning.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with inFlux psVector size 1.  Should generate error, return original pmReadout.
+Calling pmNonLinearityLookup() with non-existent lookup file.
 ------------------------------------------------------------
 Calling pmNonLinearityLookup() with one pixels outside inFlux range.  Should generate warnings.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with one pixels outside inFlux range.  Should generate warnings.
-------------------------------------------------------------
-Calling pmNonLinearityLookup() with image values not in vector.
 
 ---> TESTPOINT PASSED (pmNonLinear{Testing bad input parameter conditions.} | tst_pmNonLinear.c)
