/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 3 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7386
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2206.8-0032_daily_bin387
RA = 331.709, Dec = -0.5461
tmin = 339638401, tmax = 339897601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='173861', job_status='RUN', time_executed='2021-09-28 04:25:28.611089', time_epoch_executed='1632828328.61' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='387'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/173861

Creating custom pfile directory:
/scratch/kocevski/173861/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=339638401.0 && nMetStart<339897601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=339638401.0 && nMetStart<339897601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/173861/ft1_4FGL_J2206.8-0032_daily_bin387.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=339638401.0 && nMetStart<339897601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/173861/ft1_4FGL_J2206.8-0032_daily_bin387.fits outfile=/scratch/kocevski/173861/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin387.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=339638401.0 tmax=339897601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.42
user 3.20
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/173861/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin387.fits evtable="EVENTS" outfile="/scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits" evtable="EVENTS" scfile=/scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits sctable="SC_DATA" outfile=/scratch/kocevski/173861/ltcube_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits
.....................!
real 15.33
user 14.93
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits evtable="EVENTS" scfile=/scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits sctable="SC_DATA" expcube=/scratch/kocevski/173861/ltcube_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits outfile=/scratch/kocevski/173861/expmap_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/173861/ltcube_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits
.....................!
real 193.94
user 188.76
sys 4.80

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2206.8-0032 @ 331.709 -0.5461

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits scfile=/scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits outfile=/scratch/kocevski/173861/cmap_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=331.709 yref=-0.5461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits scfile=/scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits outfile=/scratch/kocevski/173861/cmap_HighResolution_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=331.709 yref=-0.5461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits evtable="EVENTS" scfile=/scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/173861/Model_4FGL_J2206.8-0032_daily_bin387.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits....................!
real 67.53
user 66.21
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits', '/scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits', expMap='/scratch/kocevski/173861/expmap_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits', expCube='/scratch/kocevski/173861/ltcube_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/173861/Model_4FGL_J2206.8-0032_daily_bin387.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2206.8-0032'

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  6.940e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/173861/ft1_filtered_4FGL_J2206.8-0032_daily_bin387.fits
Spacecraft file(s): /scratch/kocevski/173861/ft2_4FGL_J2206.8-0032_daily_bin387.fits
Exposure map: /scratch/kocevski/173861/expmap_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits
Exposure cube: /scratch/kocevski/173861/ltcube_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/173861/Model_4FGL_J2206.8-0032_daily_bin387.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6536.27112385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6536.26730991

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.571       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11658E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    72.746       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.426       1.0000         .10000E-03   10000.    
     7 'norm      '    3.5814       1.0000         .10000E-03   10000.    
     8 'norm      '    .10140E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.7557       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.847       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10316E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.174       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.2776       1.0000         .10000E-03   10000.    
    17 'Prefactor '    105.66       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.272       1.0000         .10000E-03   10000.    
    19 'norm      '    63.044       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17437E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96498       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0214       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6536.267     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2399 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.555        49.941       -.85921E-05   -.35749E-04
   2  Prefactor     .10000E-03    1.5123        .57702E-06** at limit **
   3  Prefactor     .10000E-03    14.413       -.27260E-06** at limit **
   4  Prefactor     72.757        69.775        .94409E-05   -.12717E-04
   5  Prefactor     .10000E-03    49.221        .95992E-06** at limit **
   6  Prefactor     31.415        48.831       -.59204E-05   -.20781E-05
   7  norm          3.5816        2.6725       -.12791E-06   -.34926E-03
   8  norm          .10000E-03    10.304        .21827E-06** at limit **
   9  Prefactor     8.7580        10.149       -.60931E-06   -.74044E-04
  10  Prefactor     12.847        11.523        .16160E-06   -.24514E-04
  11  Prefactor     .10000E-03    3.6882        .28995E-07** at limit **
  12  Prefactor     .10000E-03    13.449        .51918E-06** at limit **
  13  Prefactor     .10000E-03    36.306        .45616E-06** at limit **
  14  Prefactor     21.177        19.711       -.24881E-05   -.10870E-04
  15  Prefactor     .10000E-03    9.4343        .34754E-07** at limit **
  16  Prefactor     7.2798        16.320       -.12184E-05   -.57058E-04
  17  Prefactor     105.65        121.71       -.28403E-05    .64012E-06
  18  Prefactor     12.267        8.3344       -.57660E-06   -.98013E-04
  19  norm          63.039        9.9614        .13212E-05    .13108E-04
  20  Prefactor     .10000E-03    290.65       -.73298E-06** at limit **
  21  Normalizat    .96504        .26562        .12664E-06   -.40888E-04
  22  Prefactor     1.0213        .13947        .35722E-06   -.58210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.5548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.7568
  Prefactor  = 0.0001
  Prefactor  = 31.4146
  norm       = 3.58159
  norm       = 0.0001
  Prefactor  = 8.75797
  Prefactor  = 12.8469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1768
  Prefactor  = 0.0001
  Prefactor  = 7.27982
  Prefactor  = 105.653
  Prefactor  = 12.2673
  norm       = 63.0395
  Prefactor  = 0.0001
  Normalizat = 0.965037
  Prefactor  = 1.02134
 **********
 **   18 **HESSE 
 **********

 FCN=   6536.267     FROM HESSE     STATUS=OK           338 CALLS     2737 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.555        50.050        .55847E-04   -1.4271    
   2  Prefactor     .10000E-03    1.5435        .96941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     72.757        69.739        .47071E-04   -1.4000    
   5  Prefactor     .10000E-03    49.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.415        48.786        .71475E-04   -1.4586    
   7  norm          3.5816        2.6701        .10943E-03   -1.5329    
   8  norm          .10000E-03    10.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.7580        10.132        .13546E-03   -1.5116    
  10  Prefactor     12.847        11.552        .11175E-03   -1.4991    
  11  Prefactor     .10000E-03    3.6915        .15163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.834        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.177        19.721        .87045E-04   -1.4787    
  15  Prefactor     .10000E-03    9.4541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.2798        16.239        .14868E-03   -1.5168    
  17  Prefactor     105.65        121.70        .39122E-04   -1.3649    
  18  Prefactor     12.267        8.2868        .11435E-03   -1.5007    
  19  norm          63.039        9.9660        .50539E-04   -1.4118    
  20  Prefactor     .10000E-03    292.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96504        .31081        .36965E-03   -.94211    
  22  Prefactor     1.0213        .16348        .20368E-03   -.92022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8493e-11
Minuit parameter uncertainties:
  1  50.0909
  2  1.93015e-05
  3  3.13068e-05
  4  69.8174
  5  1.44841e-05
  6  48.8478
  7  2.67019
  8  4.79311e-05
  9  10.1343
  10  11.5535
  11  3.5061e-06
  12  3.19269e-05
  13  0.000163523
  14  19.727
  15  2.97473e-06
  16  16.2486
  17  121.987
  18  8.28754
  19  9.96623
  20  0.00059895
  21  0.311397
  22  0.163556
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6536.26730381

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.635e-04  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.021e+00  1.636e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  9.650e-01  3.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.709 -0.546
Photon Flux Upper Limit: 8.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/173861/likelihoodResults_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6536.26742992
delta logL = -0.000126110232486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6536.26742991
delta logL = -0.000126095275846

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96354E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2473       1.0000          .0000       10.000    
     3 'Normalizat'    .96504       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6536.217     FROM MIGRAD    STATUS=CONVERGED    157 CALLS      306 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0027        13.956        .18143E-02   -.20115E-03
   2  Index         1.5370        1.1533        .19598E-01    .22378E-04
   3  Normalizat    .97043        .28398        .36873E-03    .30197E-03
   4  Prefactor     1.0163        .16215        .20411E-03    .31814E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00266
  Index      = 1.53699
  Normalizat = 0.970433
  Prefactor  = 1.01631
 **********
 **   18 **HESSE 
 **********

 FCN=   6536.217     FROM HESSE     STATUS=OK            27 CALLS      333 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0027        14.103        .36285E-03   -1.6108    
   2  Index         1.5370        1.1664        .78390E-03   -.76509    
   3  Normalizat    .97043        .28419        .14749E-04   -.94028    
   4  Prefactor     1.0163        .16227        .40822E-04   -.92188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4116e-10
Minuit parameter uncertainties:
  1  14.1146
  2  1.18773
  3  0.284628
  4  0.162351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/173861': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6536.21680504
delta logL = 0.0504987695494

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  4.003e+00  1.411e+01  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  1.537e+00  1.188e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.016e+00  1.624e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  9.704e-01  2.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.709 -0.546

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/173861/cmap_HighResolution_339638401_339897601_4FGL_J2206.8-0032_daily_bin387.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/173861

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', job_status='DONE', photon_flux_upper_limit='8.58e-08', time_completed='2021-09-28 04:36:45.830770', job_id='173861', GAL2='1.02', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632829005.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.05e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='387' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:36:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 173861: <4FGL_J2206.8-0032_daily_bin387> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin387> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 04:25:14 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 04:25:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 04:25:17 2021
Terminated at Tue Sep 28 04:36:46 2021
Results reported at Tue Sep 28 04:36:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin387 331.709 -0.5461 339638401 339897601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2206.8-0032 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   676.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             386.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            692 sec.

The output (if any) is above this job summary.

