++ntroid/createLog.cpp::      createLog:  line   51  INFO   >>  Created FileAppender: 'psf_centroid.log', level info
++centroid_expomap.cpp::           main:  line  561  WARN   >>  PSF_centroid called
++centroid_expomap.cpp::           main:  line  718  INFO   >>  Using SNR: Lo=2, Norm: 3 and high: 10
++centroid_expomap.cpp::           main:  line  782  INFO   >>  Opening PSF coefficients file: swxpsf20010101v006_rc2.fits
++centroid_expomap.cpp::           main:  line  886  INFO   >>  Setting threshholds to 3  / 2.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (325.1,464.15) with boxsize 9 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (629.882,476.794) with boxsize 9 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (260,541.643) with boxsize 9 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (564.556,557.611) with boxsize 9 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (378.129,248.613) with boxsize 11 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (552,376) with boxsize 11 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (760.222,418.867) with boxsize 11 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (475.958,476.917) with boxsize 11 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (533.696,609.87) with boxsize 11 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (644.773,224.227) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (682,288) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (795.387,300.323) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (371.109,339.647) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (503.84,360.36) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (595.047,368.558) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (467.803,435.033) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (637.727,437.855) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (407,456) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (357.895,615.711) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (590.766,629.922) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (595.967,660.984) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (535,687) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (572,147) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (817.206,329.941) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (435.054,341.649) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (448,369) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (628,511) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (441,642) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (384.167,724.917) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (502.467,139.4) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (535.462,140.231) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (474.236,183.915) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (543.771,211.688) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (563.393,454.691) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (510.909,522.121) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (385.462,529.877) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (422.065,610.806) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line 1116  ERROR  >>  GOT NAN at index 3 from -nan / -nan
++ouble/CellDetect.cpp:: Merge_Excesses:  line 1116  ERROR  >>  GOT NAN at index 4 from -nan / -nan
++ouble/CellDetect.cpp:: Merge_Excesses:  line 1116  ERROR  >>  GOT NAN at index 5 from -nan / -nan
++ouble/CellDetect.cpp:: Merge_Excesses:  line 1116  ERROR  >>  GOT NAN at index 5 from -nan / -nan
++ouble/CellDetect.cpp:: Merge_Excesses:  line 1178  INFO   >>  Detect found 30 sources.
++ouble/CellDetect.cpp:: Merge_Excesses:  line 1190  INFO   >>  Final source list : 
( 325.17, 463.39 ) ns = 31.658 (+/- 10.050)  nb = 2.7705 (+/- 1.2815)  s_n = 3.1502 boxsize =   12
( 629.58, 475.56 ) ns = 49.905 (+/- 12.238)  nb = 5.1110 (+/- 1.6043)  s_n = 4.0777 boxsize =   11
( 259.97, 542.37 ) ns = 48.060 (+/- 12.599)  nb = 0.70213 (+/- 1.4123)  s_n = 3.8147 boxsize =    9
( 565.50, 557.32 ) ns = 38.594 (+/- 11.405)  nb = 0.078765 (+/- 1.2209)  s_n = 3.3838 boxsize =    9
( 378.31, 248.66 ) ns = 43.536 (+/- 11.343)  nb = 3.1802 (+/- 1.4171)  s_n = 3.8382 boxsize =   11
( 553.14, 374.20 ) ns = 35.227 (+/- 10.234)  nb = 9.1435 (+/- 1.7503)  s_n = 3.4423 boxsize =   14
( 760.19, 419.20 ) ns = 54.960 (+/- 13.389)  nb = 37.263 (+/- 3.2158)  s_n = 4.1049 boxsize =   21
( 476.04, 477.56 ) ns = 33.052 (+/- 10.428)  nb = 3.8799 (+/- 1.4319)  s_n = 3.1695 boxsize =   11
( 533.70, 609.87 ) ns = 31.186 (+/- 10.054)  nb = 3.0721 (+/- 1.2937)  s_n = 3.1020 boxsize =   11
( 645.80, 223.20 ) ns = 40.098 (+/- 11.427)  nb = 19.245 (+/- 2.2959)  s_n = 3.5090 boxsize =   17
( 795.11, 298.81 ) ns = 31.362 (+/- 9.8148)  nb = 8.9801 (+/- 1.5456)  s_n = 3.1954 boxsize =   15
( 371.23, 339.80 ) ns = 149.37 (+/- 17.178)  nb = 8.3592 (+/- 1.9794)  s_n = 8.6958 boxsize =   15
( 505.12, 359.65 ) ns = 60.351 (+/- 11.948)  nb = 10.711 (+/- 1.9547)  s_n = 5.0510 boxsize =   16
( 594.97, 367.79 ) ns = 44.317 (+/- 10.827)  nb = 11.009 (+/- 1.9015)  s_n = 4.0933 boxsize =   17
( 467.33, 435.32 ) ns = 74.643 (+/- 12.667)  nb = 8.7488 (+/- 1.7976)  s_n = 5.8928 boxsize =   17
( 638.66, 437.81 ) ns = 70.650 (+/- 12.602)  nb = 17.491 (+/- 2.2523)  s_n = 5.6063 boxsize =   21
( 408.16, 454.60 ) ns = 26.750 (+/- 8.7426)  nb = 6.4830 (+/- 1.5417)  s_n = 3.0597 boxsize =   17
( 356.73, 616.71 ) ns = 43.437 (+/- 10.916)  nb = 17.643 (+/- 2.2626)  s_n = 3.9792 boxsize =   19
( 589.90, 629.65 ) ns = 78.355 (+/- 13.098)  nb = 6.4878 (+/- 1.6630)  s_n = 5.9824 boxsize =   15
( 595.66, 660.37 ) ns = 76.997 (+/- 12.901)  nb = 5.4843 (+/- 1.5741)  s_n = 5.9683 boxsize =   15
( 534.58, 685.62 ) ns = 103.44 (+/- 14.105)  nb = 13.802 (+/- 2.1408)  s_n = 7.3334 boxsize =   21
( 573.45, 131.61 ) ns = 41.831 (+/- 8.6317)  nb = -1.0505 (+/- 0.21676)  s_n = 4.8462 boxsize =   20
( 817.21, 329.94 ) ns = 29.475 (+/- 9.6463)  nb = 11.393 (+/- 1.7902)  s_n = 3.0555 boxsize =   17
( 434.52, 341.19 ) ns = 125.97 (+/- 15.744)  nb = 21.464 (+/- 2.5912)  s_n = 8.0011 boxsize =   20
( 506.35, 144.06 ) ns = 21.476 (+/- 6.9153)  nb = 1.5187 (+/- 0.40116)  s_n = 3.1056 boxsize =   21
( 473.97, 185.56 ) ns = 140.77 (+/- 15.723)  nb = 11.414 (+/- 1.9913)  s_n = 8.9532 boxsize =   20
( 563.40, 454.93 ) ns = 2742.6 (+/- 61.679)  nb = 18.551 (+/- 4.8547)  s_n = 44.465 boxsize =   20
( 511.21, 522.24 ) ns = 28.048 (+/- 9.0142)  nb = 11.169 (+/- 1.8091)  s_n = 3.1115 boxsize =   21
( 393.45, 531.99 ) ns = 55.982 (+/- 12.768)  nb = 29.431 (+/- 2.8037)  s_n = 4.3847 boxsize =   21
( 424.39, 613.12 ) ns = 65.714 (+/- 12.145)  nb = 15.509 (+/- 2.1717)  s_n = 5.4107 boxsize =   20

++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 1
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (563.397,454.934) with snr= 44.4654 hence radius 30
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=2098.46
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (563.397,454.934) with snr= 44.4654 hence radius 30
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  241  WARN   >>  Warning - Minimum is above maximum Edm! Minimum edm is 77.3158, Will continue anyway...
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  619  INFO   >>  Invalid minimum, not making errors
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  579  INFO   >>  Rejecting source from pile up fit - no exposure ( -nan,-nan)
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  643  WARN   >>  The piled up fit was not valid, so have to use the non-piled up fit
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.74841 with cstat 12366.3
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 563.53, 454.851) with errors (0.0726687, 0.069952)
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  994  WARN   >>  Can't save the non-pile-up fit as alternative, because the fit was invalid
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 2
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (473.968,185.563) with snr= 8.95317 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=342.782
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (473.968,185.563) with snr= 8.95317 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=342.782
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.90714 with cstat 608.99
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 473.872, 184.827) with errors (0.325863, 0.302361)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 3
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (371.231,339.803) with snr= 8.69581 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=366.286
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (371.231,339.803) with snr= 8.69581 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=344.581
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.32937 with cstat 645.16
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 371.353, 339.412) with errors (0.273782, 0.266355)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 4
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (434.524,341.19) with snr= 8.00112 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=414.863
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (434.524,341.19) with snr= 8.00112 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=376.839
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  632  INFO   >>  Accepting the piled up fit, as Lpup=16.0158 compared to thresh 10
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (435.251,341.712) with snr= 8.00112 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=401.668
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (435.251,341.712) with snr= 8.00112 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=368.809
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  632  INFO   >>  Accepting the piled up fit, as Lpup=13.5712 compared to thresh 10
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.38161 with cstat 590.334
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 435.22, 341.658) with errors (0.000143051, 0.000143051)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 5
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (534.578,685.622) with snr= 7.3334 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=270.327
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (534.578,685.622) with snr= 7.3334 hence radius 15
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=270.327
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.5168 with cstat 510.238
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 534.687, 685.839) with errors (0.322997, 0.313456)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 6
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (589.903,629.653) with snr= 5.98239 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=237.545
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (589.903,629.653) with snr= 5.98239 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=226.147
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.42811 with cstat 321.51
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 590.758, 630.5) with errors (0.401841, 0.429508)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 7
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (595.657,660.373) with snr= 5.96829 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=239.004
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (595.657,660.373) with snr= 5.96829 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=220.823
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.41799 with cstat 338.571
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 596.001, 660.908) with errors (0.38365, 0.344709)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 8
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (467.329,435.315) with snr= 5.89281 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=264.31
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (467.329,435.315) with snr= 5.89281 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=239.177
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.46331 with cstat 309.879
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 467.683, 435.029) with errors (0.460703, 0.453099)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 9
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (638.656,437.812) with snr= 5.60635 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=266.677
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (638.656,437.812) with snr= 5.60635 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=243.214
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.46256 with cstat 306.881
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 638.695, 438.331) with errors (0.441049, 0.452762)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 10
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (424.391,613.116) with snr= 5.41068 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=368.83
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (424.391,613.116) with snr= 5.41068 hence radius 12
++pomap/PSF_Fit_XY.cpp::         doGrid:  line 1635  INFO   >>  Grid has found a new best at (412.391, 625.116), fval = 270.46
++pomap/PSF_Fit_XY.cpp::         doGrid:  line 1635  INFO   >>  Grid has found a new best at (428.391, 617.116), fval = 266.814
++pomap/PSF_Fit_XY.cpp::         doGrid:  line 1644  INFO   >>  The grid search found a new best position; freeing position, and refitting from this point.
++pomap/PSF_Fit_XY.cpp::         doGrid:  line 1670  INFO   >>  Have a new best fit after the grid: (428.392, 616.827), fval = 266.4
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=266.4
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  632  INFO   >>  Accepting the piled up fit, as Lpup=40 compared to thresh 10
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (428.392,616.827) with snr= 5.41068 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=221.039
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (428.392,616.827) with snr= 5.41068 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=203.24
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.66411 with cstat 241.871
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 427.868, 616.548) with errors (0.643242, 0.576394)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 11
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (505.123,359.649) with snr= 5.05098 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=270.185
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (505.123,359.649) with snr= 5.05098 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=236.857
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  632  INFO   >>  Accepting the piled up fit, as Lpup=13.7922 compared to thresh 10
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (505.524,359.541) with snr= 5.05098 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=270.198
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (505.524,359.541) with snr= 5.05098 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=236.672
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  632  INFO   >>  Accepting the piled up fit, as Lpup=13.8859 compared to thresh 10
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.55965 with cstat 278.055
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 505.519, 359.54) with errors (0.000228882, 0.000114441)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 12
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (573.455,131.606) with snr= 4.84619 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=1989.55
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  533  INFO   >>  Rejecting source - no exposure ( 573.455,131.606)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 0
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 13
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (393.453,531.987) with snr= 4.38468 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=368.893
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.48437 with cstat 283.235
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 394.373, 532.19) with errors (0.652377, 0.69091)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 14
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (760.188,419.203) with snr= 4.10492 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=306.524
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.35571 with cstat 317.48
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 760.587, 419.593) with errors (0.452622, 0.463587)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 15
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (594.974,367.795) with snr= 4.09326 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=192.494
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.65249 with cstat 223.867
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 595.695, 368.516) with errors (0.639709, 0.61062)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 16
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (629.578,475.556) with snr= 4.07771 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=226.989
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.58052 with cstat 271.712
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 629.44, 476.469) with errors (0.425476, 0.425197)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 17
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (356.725,616.706) with snr= 3.97925 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=225.641
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.63857 with cstat 233.367
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 358.406, 616.515) with errors (0.668131, 0.634289)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 18
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (378.312,248.656) with snr= 3.83821 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=178.665
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.54682 with cstat 224.792
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 377.612, 248.282) with errors (0.55463, 0.59992)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 19
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (259.974,542.368) with snr= 3.81469 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=176.285
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.61326 with cstat 225.6
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 260.105, 542.057) with errors (0.501741, 0.561819)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 20
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (645.804,223.196) with snr= 3.50903 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=318.186
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.17566 with cstat 266.126
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 645.149, 223.281) with errors (0.79001, 0.65291)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 21
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (553.143,374.2) with snr= 3.44229 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=191.247
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.68674 with cstat 224.413
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 552.693, 374.507) with errors (0.510596, 0.468474)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 22
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (565.5,557.318) with snr= 3.38379 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=187.019
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.8174 with cstat 194.078
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 565.266, 557.248) with errors (0.664301, 0.70583)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 23
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (795.111,298.806) with snr= 3.19541 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=253.207
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.69267 with cstat 214.611
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 794.178, 299.33) with errors (0.889333, 0.771682)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 24
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (476.04,477.56) with snr= 3.16946 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=166.121
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.81342 with cstat 211.115
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 476.204, 477.266) with errors (0.500226, 0.483146)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 25
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (325.174,463.391) with snr= 3.15016 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=151.818
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.83285 with cstat 178.401
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 325.103, 463.044) with errors (0.696949, 0.887275)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 26
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (511.206,522.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=221.446
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 220.63 so delta: -0.815807
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 220.63, and freeing and refitting makes it worse: 220.63
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1385  WARN   >>  This is a small problem, so we'll just avoid an infinite loop
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 207.833 so delta: -12.7969
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (523.206,534.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=162.709
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 144.96 so delta: -17.7495
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.98494 with cstat 140.593
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 511.206, 522.235) with errors (0.527687, 0.150719)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 16.9706 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (511.206,522.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=221.446
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 220.63 so delta: -0.815807
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 220.63, and freeing and refitting makes it worse: 220.63
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1385  WARN   >>  This is a small problem, so we'll just avoid an infinite loop
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 207.833 so delta: -12.7969
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (523.206,534.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=162.709
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 144.96 so delta: -17.7495
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.98494 with cstat 140.593
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 511.206, 522.235) with errors (0.527687, 0.150719)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 16.9706 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (511.206,522.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=221.446
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 220.63 so delta: -0.815807
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 220.63, and freeing and refitting makes it worse: 220.63
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1385  WARN   >>  This is a small problem, so we'll just avoid an infinite loop
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 207.833 so delta: -12.7969
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (523.206,534.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=162.709
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 144.96 so delta: -17.7495
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.98494 with cstat 140.593
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 511.206, 522.235) with errors (0.527687, 0.150719)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 16.9706 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (511.206,522.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=221.446
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 220.63 so delta: -0.815807
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 220.63, and freeing and refitting makes it worse: 220.63
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1385  WARN   >>  This is a small problem, so we'll just avoid an infinite loop
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 207.833 so delta: -12.7969
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (523.206,534.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=162.709
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 144.96 so delta: -17.7495
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.98494 with cstat 140.593
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 511.206, 522.235) with errors (0.527687, 0.150719)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 16.9706 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (511.206,522.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=221.446
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 220.63 so delta: -0.815807
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 220.63, and freeing and refitting makes it worse: 220.63
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1385  WARN   >>  This is a small problem, so we'll just avoid an infinite loop
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 207.833 so delta: -12.7969
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (523.206,534.235) with snr= 3.11151 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=162.709
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 144.96 so delta: -17.7495
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.98494 with cstat 140.593
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 511.206, 522.235) with errors (0.527687, 0.150719)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 27
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (506.353,144.059) with snr= 3.10556 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=784.147
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.12643 with cstat 786.544
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 500.942, 141.856) with errors (5.61135, 6.82715)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 28
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (533.696,609.87) with snr= 3.10201 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=163.31
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.83924 with cstat 179.902
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 534.382, 608.942) with errors (0.744972, 0.939962)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 29
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (408.16,454.6) with snr= 3.05971 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=161.275
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.9059 with cstat 162.978
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 407.569, 452.67) with errors (1.09052, 0.726307)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++ap/PSF_Fit_Image.cpp::     FitSources:  line  140  INFO   >>  Call fit for source 30
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (817.206,329.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=274.133
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 260.144 so delta: -13.9896
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 255.079 so delta: -5.06492
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 246.638 so delta: -4.86723
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (805.206,341.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=219.774
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 202.075 so delta: -17.6992
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.97459 with cstat 176.573
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 817.206, 329.941) with errors (0.105972, 0.156384)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 16.9706 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (817.206,329.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=274.133
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 260.144 so delta: -13.9896
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 255.079 so delta: -5.06492
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 244.036 so delta: -11.043
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  388  WARN   >>  When I return from calcErr and refit on the new min for 1 , cstat gets worse by 16.1079. Bailing.
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  612  ERROR  >>  An error occured making the errors: std::exception
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.69695 with cstat 198.506
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 829.206, 341.941) with errors (nan, nan)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 16.9706 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (829.206,341.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=203.829
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 185.099 so delta: -18.7293
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (817.206,353.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=239.834
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 231.63 so delta: -8.20443
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.86938 with cstat 178.195
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 829.206, 341.941) with errors (0.116959, 0.106487)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 16.9706 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (829.206,341.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=203.829
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 185.099 so delta: -18.7293
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (817.206,353.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=239.834
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 231.63 so delta: -8.20443
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.86938 with cstat 178.195
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 829.206, 341.941) with errors (0.116959, 0.106487)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 16.9706 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (829.206,341.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=203.829
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 185.099 so delta: -18.7293
++ap/PSF_Fit_Image.cpp::      FitSource:  line  255  WARN   >>  The errors created on the fit were not valid, but an alternative position may be apt, trying again
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (817.206,353.941) with snr= 3.05554 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=239.834
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 231.63 so delta: -8.20443
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.86938 with cstat 178.195
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 829.206, 341.941) with errors (0.116959, 0.106487)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++centroid_expomap.cpp::           main:  line 1588  INFO   >>  Completed
