﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1098	Aborts on NAN weight pixels	Paul Price	eugene	"Getting some unmasked NANs in the weight (and image) due to quantisation out-of-range.  psphot (specifically, you identified pmSourceFitModel) chokes on these.

Program received signal SIGABRT, Aborted.
[Switching to Thread 47210886901504 (LWP 23436)]
0x00002af02403d885 in raise () from /lib/tls/libc.so.6
(gdb) w
#0  0x00002af02403d885 in raise () from /lib/tls/libc.so.6
#1  0x00002af02403eb3e in abort () from /lib/tls/libc.so.6
#2  0x00002af024037266 in __assert_fail () from /lib/tls/libc.so.6
#3  0x00002af022e2e083 in psMinLM_SetABX (alpha=0x34000e0, beta=0x3400380,
    params=0x67e37c0, paramMask=0x33ff920, x=0x67e3a20, y=0x67e8c70,
    dy=0x67eb630,
    func=0x2af021f44ea8 <pmModelFunc_QGAUSS at models/pmModel_QGAUSS.c:34>)
    at psMinimizeLMM.c:285
#4  0x00002af022e2ebf1 in psMinimizeLMChi2 (min=0x29521a10, covar=0x33ffa40,
    params=0x67e37c0, constraint=0x33ff8a0, x=0x67e3a20, y=0x67e8c70,
    yWt=0x67eb630,
    func=0x2af021f44ea8 <pmModelFunc_QGAUSS at models/pmModel_QGAUSS.c:34>)
    at psMinimizeLMM.c:402
#5  0x00002af021f524b0 in pmSourceFitModel (source=0x3ff7e00, model=0x67e36d0,
    mode=PM_SOURCE_FIT_EXT, maskVal=5 '\005') at pmSourceFitModel.c:170
#6  0x00002af021f6a264 in pmPSFtryModel (sources=0x275f1610,
    modelName=0xa47b3c0 ""PS_MODEL_QGAUSS"", options=0x1e5c5c0,
    maskVal=5 '\005', mark=128 '\200') at pmPSFtry.c:135
        ...
(gdb) f 3
#3  0x00002af022e2e083 in psMinLM_SetABX (alpha=0x34000e0, beta=0x3400380,
    params=0x67e37c0, paramMask=0x33ff920, x=0x67e3a20, y=0x67e8c70,
    dy=0x67eb630,
    func=0x2af021f44ea8 <pmModelFunc_QGAUSS at models/pmModel_QGAUSS.c:34>)
    at psMinimizeLMM.c:285
285             assert (!isnan(dy->data.F32[i]));"	enhancement	closed	high		psphot	unspecified	minor	fixed		
