IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 18 years ago

Closed 18 years ago

#1011 closed defect (fixed)

psphot "un-implemented edge case" Abort

Reported by: Michael Wood-Vasey Owned by: eugene
Priority: high Milestone:
Component: psphot Version: 2.3
Severity: normal Keywords:
Cc: koppenh@…

Description

I just tried running IPP 2.3 psphot on an ESSENCE and got the follow error and then abort:

2007-11-14 21:14:01Z|master.private.iic.harvard.edu|I|psphot.apresid

systematic scatter floor: 0.250476

Aborting. Error stack:
2007-11-14 21:14:01Z|master.private.iic.harvard.edu|A|psLib.sys

un-implemented edge case

Abort

I include the full error message below and have uploaded the image file along with my .ipprc file and the mess that is my current CTIO4m/MOSAICII configuration file.

wwoodvas@master(W,v9.0)% psphot -file sm060925/10/wcc5.060925_0649.393_10.sw.fits

psphotArguments (psphotArguments.c:113) : Expected to see one more argument; saw 0

Error reading arguments

-> psphotArguments (psphotArguments.c:113): Incorrect arguments

Expected to see one more argument; saw 0

USAGE: psphot [-file image(s)] [-list imagelist] (output)
wwoodvas@master(W,v9.0)% psphot -file sm060925/10/wcc5.060925_0649.393_10.sw.fits out.dat
2007-11-14 21:13:41Z|master.private.iic.harvard.edu|I|psModules.config

Camera MOSAIC2, format CTIOTEST matches header.

2007-11-14 21:13:41Z|master.private.iic.harvard.edu|W|psModules.config

Camera CTIO_MOSAIC2, format CTIOTEST also matches header --- ignored.

2007-11-14 21:13:41Z|master.private.iic.harvard.edu|W|psModules.config

Camera MOSAIC2_FULL, format SPLIT also matches header --- ignored.

2007-11-14 21:13:41Z|master.private.iic.harvard.edu|W|psModules.config

Camera SIMPLE, format SIMPLE also matches header --- ignored.

2007-11-14 21:13:41Z|master.private.iic.harvard.edu|4|psphot

Chip 0: 1 1

2007-11-14 21:13:42Z|master.private.iic.harvard.edu|4|psphot

Cell 0: 1 1

2007-11-14 21:13:42Z|master.private.iic.harvard.edu|4|psphot

Cell 0: 1 1

2007-11-14 21:13:43Z|master.private.iic.harvard.edu|I|psphot

PHOTCODE is CTIO4m.R.MOSAIC2

2007-11-14 21:13:43Z|master.private.iic.harvard.edu|I|p_psRandomGetSystemSeed

System random seed value used seed = 7024397566277022336 hex

vectorFittedStats_v4 (psStats.c:1827) : fit did not converge
psVectorStats (psStats.c:2255) : Failed to calculate fitted statistics
psImageBackground (psImageBackground.c:105) : Unable to measure statistics for image background (256x256, (row0,col0) = (512,0)

2007-11-14 21:13:43Z|master.private.iic.harvard.edu|5|psphot

build median image: 0.218302 sec

2007-11-14 21:13:43Z|master.private.iic.harvard.edu|I|psphot

image sky : mean 1066.126176 stdev 20.764078

2007-11-14 21:13:43Z|master.private.iic.harvard.edu|I|psphot

background sky : min 1061.125732 mean 1066.126099 max 1086.520752 stdev 2.266991

2007-11-14 21:13:43Z|master.private.iic.harvard.edu|5|psphot

build resampled image: 0.271467 sec

2007-11-14 21:13:43Z|master.private.iic.harvard.edu|I|psphot

subtracted background model: 0.335967 sec

2007-11-14 21:13:44Z|master.private.iic.harvard.edu|5|psphot

smooth image: 0.810221 sec

2007-11-14 21:13:44Z|master.private.iic.harvard.edu|5|psphot

smooth weight: 1.381477 sec

2007-11-14 21:13:44Z|master.private.iic.harvard.edu|I|psphot

built smoothed signficance image: 1.480808 sec

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|psphot

206 peaks: 0.145400 sec

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|psphot

206 sources, 104 moments, 0 failed: 0.116525 sec

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|psphot

found 0 satstar blend peaks, leaving 206 sources: 0.000201 sec

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|psphot.deblend

identified 4 blended objects: 0.001881 sec

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|psphot

psf clump X, Y: 1.633718, 1.998073

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|psphot

psf clump DX, DY: 0.030763, 0.043221

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|pmObjects

SN range (moments): 30.138367 - 946.949219

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|pmObjects

SN range (peaks) : 50.045311 - 708.139465

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|I|psphot.roughclass

rough classification: 0.000622 sec

2007-11-14 21:13:45Z|master.private.iic.harvard.edu|4|psphot.pspsf

selected candidate 28 PSF objects

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|4|psphot.psftry

fit ext: 0.888334 sec for 28 of 28 sources

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|4|psphot.psftry

fit psf: 0.188984 sec for 19 of 28 sources

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|4|pmPSFtry

chisq vs flux fit: -0.009270 +/- 0.092110

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|4|pmPSFtry

chisq vs flux fit term 0: 0.719311 +/- 0.547708

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|4|pmPSFtry

chisq vs flux fit term 1: 3.816662 +/- 3.830077

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|4|pmPSFtryMetric

apresid: -0.211000 +/- 0.128374; keeping 15 of 28 psf stars

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|I|psphot.pspsf

try model PS_MODEL_GAUSS, ap-fit: -0.211000 +/- 0.128374 : sky bias: 0.000000

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|I|psphot.choosePSF

dSxo: mean: 0.004817, median: 0.007607, stdev: 0.008474, npts: 15

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|I|psphot.choosePSF

dSyo: mean: 0.011897, median: 0.013097, stdev: 0.012383, npts: 15

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|I|psphot.choosePSF

ndSx: mean: 0.069921, median: 0.150724, stdev: 0.596339, npts: 15

2007-11-14 21:13:46Z|master.private.iic.harvard.edu|I|psphot.choosePSF

ndSy: mean: 0.038462, median: 0.083771, stdev: 0.555951, npts: 15

2007-11-14 21:13:47Z|master.private.iic.harvard.edu|I|psphot.pspsf

generate residuals for 15 objects: 0.738764 sec

2007-11-14 21:13:47Z|master.private.iic.harvard.edu|I|psphot.pspsf

select psf model: 1.825810 sec

2007-11-14 21:13:47Z|master.private.iic.harvard.edu|I|psphot.pspsf

psf model PS_MODEL_GAUSS, ApResid: -0.211000 +/- 0.128374

2007-11-14 21:13:47Z|master.private.iic.harvard.edu|I|psphot

no external sources supplied

2007-11-14 21:13:47Z|master.private.iic.harvard.edu|4|psphot.models

built models for 206 objects: 0.457255 sec

2007-11-14 21:13:47Z|master.private.iic.harvard.edu|5|psphot.ensemble

built fitSources: 0.000252 (206 objects)

2007-11-14 21:13:47Z|master.private.iic.harvard.edu|5|psphot.ensemble

built matrix: 0.027738 (326 elements)

2007-11-14 21:13:48Z|master.private.iic.harvard.edu|I|psphot.ensemble

measure ensemble of PSFs: 0.505165 sec

2007-11-14 21:13:50Z|master.private.iic.harvard.edu|I|psphot.psphotBlendFit

fit models: 2.471221 sec for 96 objects (38 psf, 54 ext, 4 failed, 110 skipped)

2007-11-14 21:13:50Z|master.private.iic.harvard.edu|I|psphot.replace

replace models for 206 objects: 0.015166 sec

2007-11-14 21:13:50Z|master.private.iic.harvard.edu|5|psphot.ensemble

built fitSources: 0.000197 (206 objects)

2007-11-14 21:13:50Z|master.private.iic.harvard.edu|5|psphot.ensemble

built matrix: 0.024692 (324 elements)

2007-11-14 21:13:51Z|master.private.iic.harvard.edu|I|psphot.ensemble

measure ensemble of PSFs: 0.514397 sec

2007-11-14 21:13:51Z|master.private.iic.harvard.edu|I|psphot.noise

add noise for 206 objects: 0.014986 sec

2007-11-14 21:13:52Z|master.private.iic.harvard.edu|5|psphot

smooth image: 1.215097 sec

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|5|psphot

smooth weight: 2.210000 sec

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|psphot

built smoothed signficance image: 2.298654 sec

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|psphot

1883 peaks: 0.140329 sec

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|psphot.noise

sub noise for 206 objects: 0.014748 sec

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|psphot

1880 sources, 24 moments, 3 failed: 0.059666 sec

psMetadataAddItem (psMetadata.c:687) : Duplicate metadata item name: PSF.CLUMP.X is not allowed. Use a psMetadataFlags option to allow such action.
psMetadataAddV (psMetadata.c:751) : Failed to add metadata item to metadata collection list.
psMetadataAddItem (psMetadata.c:687) : Duplicate metadata item name: PSF.CLUMP.Y is not allowed. Use a psMetadataFlags option to allow such action.
psMetadataAddV (psMetadata.c:751) : Failed to add metadata item to metadata collection list.
psMetadataAddItem (psMetadata.c:687) : Duplicate metadata item name: PSF.CLUMP.DX is not allowed. Use a psMetadataFlags option to allow such action.
psMetadataAddV (psMetadata.c:751) : Failed to add metadata item to metadata collection list.
psMetadataAddItem (psMetadata.c:687) : Duplicate metadata item name: PSF.CLUMP.DY is not allowed. Use a psMetadataFlags option to allow such action.
psMetadataAddV (psMetadata.c:751) : Failed to add metadata item to metadata collection list.

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|psphot

psf clump X, Y: 1.975700, 2.371485

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|psphot

psf clump DX, DY: 0.126670, 0.148684

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|pmObjects

SN range (moments): 4.030891 - 1080.415405

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|pmObjects

SN range (peaks) : 53.329250 - 1280.342041

2007-11-14 21:13:53Z|master.private.iic.harvard.edu|I|psphot.roughclass

rough classification: 0.001134 sec

2007-11-14 21:13:57Z|master.private.iic.harvard.edu|4|psphot.models

built models for 1880 objects: 4.108523 sec

2007-11-14 21:13:57Z|master.private.iic.harvard.edu|I|psphot.replace

replace models for 206 objects: 0.014508 sec

2007-11-14 21:13:57Z|master.private.iic.harvard.edu|5|psphot.ensemble

built fitSources: 0.001483 (2086 objects)

2007-11-14 21:13:58Z|master.private.iic.harvard.edu|5|psphot.ensemble

built matrix: 0.373788 (22915 elements)

2007-11-14 21:13:58Z|master.private.iic.harvard.edu|I|psphot.ensemble

measure ensemble of PSFs: 1.274498 sec

2007-11-14 21:13:58Z|master.private.iic.harvard.edu|I|psphot

skipping extended source measurements

2007-11-14 21:13:59Z|master.private.iic.harvard.edu|I|psphot

saving plot to radial.plots.ps

2007-11-14 21:14:00Z|master.private.iic.harvard.edu|I|psphot

plotted 37 sources (32 psf, 5 sat): 1.111835 sec

2007-11-14 21:14:00Z|master.private.iic.harvard.edu|4|psphot.growth

GrowthCurve : apLoss : 0.170807

pmSourcePhotometryAper (pmSourcePhotometry.c:309) : apSum is negative
pmSourcePhotometryAper (pmSourcePhotometry.c:309) : apSum is negative
pmSourcePhotometryAper (pmSourcePhotometry.c:309) : apSum is negative

2007-11-14 21:14:01Z|master.private.iic.harvard.edu|4|psphot.apresid

measure aperture residuals for 181 objects (1831 skipped, 0 failed, 74 invalid)

2007-11-14 21:14:01Z|master.private.iic.harvard.edu|I|psphot.apresid

result of 1 x 1 grid (10 stars per bin)

2007-11-14 21:14:01Z|master.private.iic.harvard.edu|I|psphot.apresid

systematic error / photon error: 20.519646

2007-11-14 21:14:01Z|master.private.iic.harvard.edu|I|psphot.apresid

systematic scatter floor: 0.250476

Aborting. Error stack:
2007-11-14 21:14:01Z|master.private.iic.harvard.edu|A|psLib.sys

un-implemented edge case

Abort

Attachments (2)

mosaic2.20071114.tgz (10.4 KB ) - added by Michael Wood-Vasey 18 years ago.
CTIO4m/mosaic2 configuration files
ipprc (4.2 KB ) - added by Michael Wood-Vasey 18 years ago.
ipprc file

Download all attachments as: .zip

Change History (10)

comment:1 by Michael Wood-Vasey, 18 years ago

Can't upload image FITS file (too big). FITS file available at

http://www.cfa.harvard.edu/~wmwood-vasey/ESSENCE/wcc5.060925_0649.393_10.sw.fits.gz

by Michael Wood-Vasey, 18 years ago

Attachment: mosaic2.20071114.tgz added

CTIO4m/mosaic2 configuration files

by Michael Wood-Vasey, 18 years ago

Attachment: ipprc added

ipprc file

comment:2 by Paul Price, 18 years ago

Cc: koppenh@… added

comment:3 by Michael Wood-Vasey, 18 years ago

With respect to the comment from Price in Bug 1015 (now marked as a duplicate of this bug):

"""
The problem with the statistics ("Unable to perform statistics on readout
READOUT.00") is probably due to NaNs in your flat-field that aren't getting
masked; I will look in to this.
"""

FWIW, for the ESSENCE CTIO4m/MOSAICII image I was processing the values have a range strictly between 0 and 29673.000.

comment:4 by Paul Price, 18 years ago

Cc: price@… added

My comments had to do with bug 1015, which is a duplicate of this bug. When that bug was marked as a duplicate, the system sent you a copy of the update.

comment:5 by Michael Wood-Vasey, 18 years ago

I understand. I was just taking the opportunity to mention that I had the same error with regarda to unable to do statistics on an image that had no NaNs. Just trying to provide some extra information in case it was at all helpful.

comment:6 by Michael Wood-Vasey, 18 years ago

Severity: enhancementnormal

comment:7 by jhoblitt, 18 years ago

Cc: jhoblitt@… added
Status: newassigned

fixed?

comment:8 by Paul Price, 18 years ago

Resolution: fixed
Status: assignedclosed

I think so. Haven't seen it for a while, at least.

Note: See TracTickets for help on using tickets.