++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 (369,481) with boxsize 9 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (737.585,321.317) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (852.529,399.941) with boxsize 15 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (867.125,527.188) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (854,579) with boxsize 17 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (552.1,238.567) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (848.571,309.071) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (845.111,344.222) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (860.2,468.5) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (527.447,508.866) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (713.529,565.235) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (848.867,644.933) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (844.25,694.375) with boxsize 21 is a new source.
++ouble/CellDetect.cpp:: Merge_Excesses:  line  879  INFO   >>   Source at (826.722,720.722) 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 1178  INFO   >>  Detect found 14 sources.
++ouble/CellDetect.cpp:: Merge_Excesses:  line 1190  INFO   >>  Final source list : 
( 370.49, 480.60 ) ns = 37.931 (+/- 10.338)  nb = 8.1584 (+/- 1.7162)  s_n = 3.6691 boxsize =   14
( 737.61, 321.84 ) ns = 50.036 (+/- 11.195)  nb = 7.2738 (+/- 1.6584)  s_n = 4.4694 boxsize =   15
( 854.21, 399.54 ) ns = 31.984 (+/- 8.4684)  nb = 4.9649 (+/- 0.83383)  s_n = 3.7769 boxsize =   20
( 869.23, 519.68 ) ns = 28.311 (+/- 7.4462)  nb = -0.045082 (+/- 0.21329)  s_n = 3.8020 boxsize =   20
( 861.04, 583.04 ) ns = 32.525 (+/- 8.0776)  nb = 1.5249 (+/- 0.42691)  s_n = 4.0265 boxsize =   20
( 554.00, 239.83 ) ns = 25.559 (+/- 8.4620)  nb = 5.3962 (+/- 1.4574)  s_n = 3.0205 boxsize =   17
( 851.17, 312.94 ) ns = 22.817 (+/- 6.7565)  nb = -0.57299 (+/- 0.16967)  s_n = 3.3770 boxsize =   21
( 850.05, 348.53 ) ns = 23.588 (+/- 7.0478)  nb = 0.79936 (+/- 0.29492)  s_n = 3.3469 boxsize =   21
( 864.44, 471.61 ) ns = 21.946 (+/- 6.7577)  nb = 0.13634 (+/- 0.19899)  s_n = 3.2475 boxsize =   20
( 528.97, 509.11 ) ns = 2510.5 (+/- 59.389)  nb = 36.489 (+/- 5.0646)  s_n = 42.272 boxsize =   21
( 714.43, 565.29 ) ns = 27.469 (+/- 9.1530)  nb = 12.640 (+/- 1.9239)  s_n = 3.0011 boxsize =   21
( 845.11, 658.22 ) ns = 21.119 (+/- 6.7614)  nb = 0.80910 (+/- 0.26882)  s_n = 3.1235 boxsize =   21
( 844.25, 694.38 ) ns = 20.239 (+/- 6.4555)  nb = -0.47420 (+/- 0.16224)  s_n = 3.1351 boxsize =   21
( 827.26, 721.21 ) ns = 22.934 (+/- 6.9051)  nb = 0.33166 (+/- 0.25957)  s_n = 3.3213 boxsize =   21

++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 (528.968,509.109) with snr= 42.2717 hence radius 30
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=2458.38
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (528.968,509.109) with snr= 42.2717 hence radius 30
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=2239.06
++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 (528.89,509.337) with snr= 42.2717 hence radius 30
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=2454.35
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  557  INFO   >>  Calling fit with pile up, attempt 1, input position (528.89,509.337) with snr= 42.2717 hence radius 30
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=2243.08
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  632  INFO   >>  Accepting the piled up fit, as Lpup=40 compared to thresh 10
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.45583 with cstat 10845.5
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 528.893, 509.33) with errors (0.000286102, 0.000286102)
++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 (737.614,321.841) with snr= 4.4694 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=199.624
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.0956 with cstat 236.459
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 737.103, 322.282) with errors (0.531242, 0.564841)
++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 (861.036,583.036) with snr= 4.02653 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=165.645
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -3.12168 with cstat 188.982
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 860.827, 584.502) with errors (1.1224, 1.10396)
++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 (869.227,519.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=163.34
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 159.291 so delta: -4.04963
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 157.613 so delta: -1.6773
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  388  WARN   >>  When I return from calcErr and refit on the new min for 0 , cstat gets worse by 1.6773. 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 -2.66245 with cstat 132.871
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 881.227, 507.682) 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 (881.227,507.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=129.637
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 121.103 so delta: -8.53391
++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 (869.227,519.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=163.34
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 159.291 so delta: -4.04963
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 157.613 so delta: -1.6773
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  388  WARN   >>  When I return from calcErr and refit on the new min for 0 , cstat gets worse by 1.67731. 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 -2.66245 with cstat 132.871
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 881.227, 507.682) 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 (881.227,507.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=129.637
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 121.103 so delta: -8.53392
++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 (869.227,519.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=163.34
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 159.291 so delta: -4.04962
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 157.613 so delta: -1.6773
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 157.613, and freeing and refitting makes it worse: 157.613
++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::   Fit_Centroid:  line  388  WARN   >>  When I return from calcErr and refit on the new min for 0 , cstat gets worse by 1.67731. 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 -2.66245 with cstat 132.871
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 881.227, 507.682) 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 (881.227,507.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=129.637
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 121.103 so delta: -8.53392
++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 (869.227,519.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=163.34
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 159.291 so delta: -4.04962
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 157.613 so delta: -1.67731
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  388  WARN   >>  When I return from calcErr and refit on the new min for 0 , cstat gets worse by 1.67732. 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 -2.66245 with cstat 132.871
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 881.227, 507.682) 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 (881.227,507.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=129.637
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 121.103 so delta: -8.53393
++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 (869.227,519.682) with snr= 3.80205 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=163.34
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 159.291 so delta: -4.04961
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 157.613 so delta: -1.67731
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 157.613, and freeing and refitting makes it worse: 157.613
++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::   Fit_Centroid:  line  388  WARN   >>  When I return from calcErr and refit on the new min for 0 , cstat gets worse by 1.67732. 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 -2.66245 with cstat 132.871
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 881.227, 507.682) with errors (nan, nan)
++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 (854.214,399.536) with snr= 3.77688 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=164.668
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -2.96 with cstat 203.643
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 854.132, 399.202) with errors (0.83717, 0.95218)
++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 (370.486,480.6) with snr= 3.66909 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=176.738
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.4398 with cstat 230.861
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 370.647, 479.809) with errors (0.523597, 0.484019)
++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 (851.167,312.944) with snr= 3.37703 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=1054
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  533  INFO   >>  Rejecting source - no exposure ( 851.167,312.944)
++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 8
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (850.053,348.526) with snr= 3.34686 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=681.979
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -2.65152 with cstat 687.319
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 852.586, 337.199) with errors (6.28895, 3.88552)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 11.6075 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (852.586,337.199) with snr= 3.34686 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=441.058
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -2.31766 with cstat 445.872
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 842.783, 343.029) with errors (1.33499, 1.09983)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 11.4057 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (842.783,343.029) with snr= 3.34686 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=322.376
++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 (854.783,340.192) with snr= 3.34686 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=691.156
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -2.39938 with cstat 695.593
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 851.928, 351.312) with errors (4.39937, 2.14906)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 11.4809 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (851.928,351.312) with snr= 3.34686 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=626.422
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  533  INFO   >>  Rejecting source - no exposure ( 863.928,343.042)
++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 9
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (827.263,721.211) with snr= 3.32134 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=828.836
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -3.99259 with cstat 833.035
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 824.491, 722.335) with errors (4.03068, 4.25253)
++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 (864.444,471.611) with snr= 3.24748 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=136.43
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 128.761 so delta: -7.66824
++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 (852.444,483.611) with snr= 3.24748 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=98.5474
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -4.27494 with cstat 137.377
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 855.886, 478.037) with errors (1.06924, 0.998337)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 6.55072 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (855.886,478.037) with snr= 3.24748 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=99.7314
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -3.6769 with cstat 132.093
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 859.962, 475.151) with errors (1.14244, 1.24376)
++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 (844.25,694.375) with snr= 3.13508 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=930
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  533  INFO   >>  Rejecting source - no exposure ( 849.95,698.878)
++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 12
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (845.111,658.222) with snr= 3.12349 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=171.757
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 160.755 so delta: -11.0018
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 159.33 so delta: -1.42533
++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 (857.111,646.222) with snr= 3.12349 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=89.8591
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -2.86699 with cstat 92.1039
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 852.486, 647.711) with errors (2.23711, 2.33626)
++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 13
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (554,239.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=209.239
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 206.642 so delta: -2.5967
++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 (566,227.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=91.4981
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 85.4407 so delta: -6.05736
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.65567 with cstat 88.673
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 554, 239.833) with errors (1.15963, 0.38332)
++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 (554,239.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=209.239
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 206.642 so delta: -2.5967
++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 (566,227.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=91.4981
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 85.4407 so delta: -6.05736
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.65567 with cstat 88.673
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 554, 239.833) with errors (1.15963, 0.38332)
++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 (554,239.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=209.239
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 206.642 so delta: -2.5967
++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 (566,227.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=91.4981
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 85.4407 so delta: -6.05736
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.65567 with cstat 88.673
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 554, 239.833) with errors (1.15963, 0.38332)
++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 (554,239.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=209.239
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 206.642 so delta: -2.5967
++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 (566,227.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=91.4981
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 85.4407 so delta: -6.05736
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.65567 with cstat 88.673
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 554, 239.833) with errors (1.15963, 0.38332)
++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 (554,239.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=209.239
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 206.642 so delta: -2.5967
++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 (566,227.833) with snr= 3.02047 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=91.4981
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 85.4407 so delta: -6.05736
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.65567 with cstat 88.673
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 554, 239.833) with errors (1.15963, 0.38332)
++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 (714.429,565.286) with snr= 3.00114 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=232.229
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 225.073 so delta: -7.15552
++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 (726.429,553.286) with snr= 3.00114 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=150.735
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 131.453 so delta: -19.2827
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 131.453, and freeing and refitting makes it worse: 131.453
++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::   Fit_Centroid:  line  388  WARN   >>  When I return from calcErr and refit on the new min for 0 , cstat gets worse by 7.11491. 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 -5.75701 with cstat 111.755
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 714.429, 541.286) 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 (714.429,541.286) with snr= 3.00114 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=161.761
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1359  INFO   >>  **!!** New minimum found, c-stat = 147.406 so delta: -14.3547
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1382  WARN   >>  A weirdity has occurred, the error step gave cstat 147.406, and freeing and refitting makes it worse: 147.406
++pomap/PSF_Fit_XY.cpp::      calcError:  line 1385  WARN   >>  This is a small problem, so we'll just avoid an infinite loop
++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 (702.429,529.286) with snr= 3.00114 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=99.2011
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.90284 with cstat 100.609
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 709.627, 531.757) with errors (1.89559, 1.43359)
++ap/PSF_Fit_Image.cpp::      FitSource:  line  269  INFO   >>  Fitting this source has moved its position by 7.61086 compared to a fit region radius 12, refitting
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  512  INFO   >>  Calling  nopup fit, attempt 1, input position (709.627,531.757) with snr= 3.00114 hence radius 12
++pomap/PSF_Fit_XY.cpp::   Fit_Centroid:  line  255  INFO   >>  For PSF: swxpsf20010101v006_rc2.fits fVal=145.276
++pomap/PSF_Fit_XY.cpp::C_Stat_Flat_Source:  line  746  INFO   >>   Best-fitting flat value is -5.6897 with cstat 136.181
++ap/PSF_Fit_Image.cpp::      FitRegion:  line  812  INFO   >>  Best Centroid position: ( 710.617, 532.997) with errors (1.06573, 1.42224)
++ap/PSF_Fit_Image.cpp::     FitSources:  line  142  INFO   >>  Fit complete. Valid: 1
++centroid_expomap.cpp::           main:  line 1588  INFO   >>  Completed
