﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
830	psphot abort due to invalid level in pmFPA.c (pmFPALevelToName) from psphotImageLoop.c	masiero	Paul Price	"When psphot (ippdev version as of 9/8/06) attempts to fit any model for extended
sources, psphotImageLoop.c calls the function-path: 

 pmFPAfileIOChecks->pmFPAfileRead->pmFPALevelToName

the last few lines of output, including the error generated by pmFPALevelToName
(found in pmFPA.c in psmodules) are:

    measure ensemble of PSFs: 0.349030 sec
    fit models: 8.179565 sec for 74 objects (41 psf, 28 ext, 5 failed, 265 skipped)
    replace unfitted models: 0.187735 sec (339 objects)
    GrowthCurve : apLoss : 0.000000
    measure aperture residuals : 0.881953 sec for 0 objects (71 skipped, 39
failed, 229 invalid)    
    You can't get here; level = 1071453705
    Aborted

The offending level is the same regardless of the extended source model used
(tested for standard PGAUSS and custom STRAIL models), or the image it is used on.

All code is currently running on Redhat Enterprise Linux for 64 bit systems. 
This happens for the following image, but other images show the same error:

/home/panstarrs/masiero/clean1.fits

(Note that this is a symbolic link to an external drive mounted on po01, so you
will need to grab the images while logged into po01).  

Runline was: 

psphot -file clean1.fits -site ipprc.config out1

and must be performed in a directory with the appropriate config files, e.g.

/talcs2/masiero/Test/Chip00/Strail.0.10

on po01."	defect	closed	high		psphot	unspecified	normal	fixed		
