/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 142 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 = 7383
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1377
RA = 331.892, Dec = -53.7719
tmin = 596246401, tmax = 596505601
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='195598', job_status='RUN', time_executed='2021-09-28 05:43:26.158027', time_epoch_executed='1632833006.16' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1377'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195598

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195598/ft1_4FGL_J2207.5-5346_daily_bin1377.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195598/ft1_4FGL_J2207.5-5346_daily_bin1377.fits outfile=/scratch/kocevski/195598/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1377.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=596246401.0 tmax=596505601.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 4.99
user 4.76
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.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/195598/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1377.fits evtable="EVENTS" outfile="/scratch/kocevski/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.fits" evtable="EVENTS" scfile=/scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits sctable="SC_DATA" outfile=/scratch/kocevski/195598/ltcube_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.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/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits
.....................!
real 11.67
user 11.33
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.fits evtable="EVENTS" scfile=/scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits sctable="SC_DATA" expcube=/scratch/kocevski/195598/ltcube_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.fits outfile=/scratch/kocevski/195598/expmap_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.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/195598/ltcube_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.fits
.....................!
real 189.79
user 185.08
sys 4.32

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.fits scfile=/scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits outfile=/scratch/kocevski/195598/cmap_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.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.892 yref=-53.7719 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.fits scfile=/scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits outfile=/scratch/kocevski/195598/cmap_HighResolution_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.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.892 yref=-53.7719 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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.fits evtable="EVENTS" scfile=/scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195598/Model_4FGL_J2207.5-5346_daily_bin1377.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/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.fits.....................!
real 41.78
user 40.45
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.fits', '/scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits', expMap='/scratch/kocevski/195598/expmap_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.fits', expCube='/scratch/kocevski/195598/ltcube_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195598/Model_4FGL_J2207.5-5346_daily_bin1377.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/195598/ft1_filtered_4FGL_J2207.5-5346_daily_bin1377.fits
Spacecraft file(s): /scratch/kocevski/195598/ft2_4FGL_J2207.5-5346_daily_bin1377.fits
Exposure map: /scratch/kocevski/195598/expmap_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.fits
Exposure cube: /scratch/kocevski/195598/ltcube_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195598/Model_4FGL_J2207.5-5346_daily_bin1377.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4985.40102991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5034       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.524       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6044       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9176       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.5624       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.039       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.302       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.3292       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3970       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.190       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10495E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3700       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72993       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4985.376     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2671 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8581        .80379E-07** at limit **
   2  Prefactor     1.5044        76.677        .18103E-04   -.11902E-04
   3  Prefactor     28.527        47.867       -.69855E-06    .15144E-05
   4  Prefactor     1.5909        1432.9        .14334E-04   -.28184E-05
   5  Prefactor     9.9174        9.1635        .74505E-07    .11871E-04
   6  Prefactor     9.5609        28.779        .64974E-06   -.53443E-05
   7  Prefactor     11.038        7.0651       -.99469E-07    .29811E-04
   8  norm          .10000E-03    .30345       -.46788E-07** at limit **
   9  Prefactor     .10000E-03    22.846       -.20684E-05** at limit **
  10  Prefactor     11.304        17.028       -.15701E-05   -.15234E-03
  11  Prefactor     7.3291        4.4074        .17478E-06   -.14039E-03
  12  Prefactor     5.3581        1385.1        .30617E-04    .10639E-05
  13  norm          .10000E-03    4.0372       -.82192E-07** at limit **
  14  Prefactor     10.189        7.6022        .21568E-06   -.33946E-04
  15  Prefactor     .10000E-03    20.668       -.44922E-06** at limit **
  16  Prefactor     .10000E-03    16.249       -.48528E-06** at limit **
  17  Prefactor     .10000E-03    19.460        .18835E-05** at limit **
  18  Prefactor     .10000E-03    79.119        .71676E-06** at limit **
  19  Prefactor     .10000E-03    16.225       -.49939E-06** at limit **
  20  Prefactor     .10000E-03    12.064        .40754E-07** at limit **
  21  Normalizat    1.3701        .22002       -.19211E-06   -.15959E-03
  22  Prefactor     .72987        .16246       -.11918E-05   -.14158E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.50439
  Prefactor  = 28.5274
  Prefactor  = 1.59093
  Prefactor  = 9.91738
  Prefactor  = 9.56093
  Prefactor  = 11.0382
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3043
  Prefactor  = 7.3291
  Prefactor  = 5.3581
  norm       = 0.0001
  Prefactor  = 10.1889
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.37007
  Prefactor  = 0.729873
 **********
 **   18 **HESSE 
 **********

 FCN=   4985.376     FROM HESSE     STATUS=OK           346 CALLS     3017 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8965        .93947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5044        76.714        .17456E-02   -1.5463    
   3  Prefactor     28.527        47.883        .75014E-04   -1.4639    
   4  Prefactor     1.5909        1456.7        .33459E-03   -1.5456    
   5  Prefactor     9.9174        9.1615        .12724E-03   -1.5078    
   6  Prefactor     9.5609        28.757        .12959E-03   -1.5089    
   7  Prefactor     11.038        7.0529        .12058E-03   -1.5043    
   8  norm          .10000E-03    .43619        .75523E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.304        16.684        .11916E-03   -1.5035    
  11  Prefactor     7.3291        4.4047        .11047E-03   -1.5166    
  12  Prefactor     5.3581        1347.8        .17298E-03   -1.5245    
  13  norm          .10000E-03    4.0517        .13856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.189        7.6306        .12552E-03   -1.5069    
  15  Prefactor     .10000E-03    21.446        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    79.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3701        .25947        .24701E-03   -.81498    
  22  Prefactor     .72987        .18953        .24051E-03   -1.0237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50452e-10
Minuit parameter uncertainties:
  1  1.76004e-06
  2  21.5142
  3  47.9474
  4  98.7918
  5  9.16275
  6  28.7982
  7  7.05339
  8  3.08353e-07
  9  0.000116437
  10  16.6905
  11  4.40487
  12  174.08
  13  7.29776e-06
  14  7.63134
  15  0.000116774
  16  7.5373e-06
  17  0.000236262
  18  9.30718e-05
  19  1.57953e-05
  20  2.67594e-07
  21  0.259721
  22  0.189701
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  7.329e+00  4.405e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  7.299e-01  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.370e+00  2.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.04
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 6.72e-08 +/- 4.04e-08
Energy Flux (Fixed Index): 2.11e-05 +/- 1.27e-05

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): 0
logL (Free Index) = 4982.60291183
delta logL = 2.77262375469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4982.58962711
delta logL = 2.78590848082

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0060       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5192       1.0000          .0000       10.000    
     3 'Normalizat'    1.4059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4982.590     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      203 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0060        4.8878        .35426E-02   -.65879E-02
   2  Index         1.5192        .29060        .13067       -.31555E-04
   3  Normalizat    1.4059        .21266        .55252E-01    .12583E-05
   4  Prefactor     .71445        .15719        .42594E-01    .15059E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.00596
  Index      = 1.51925
  Normalizat = 1.40593
  Prefactor  = 0.714447
 **********
 **   18 **HESSE 
 **********

 FCN=   4982.590     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0060        5.6142        .11698E-03   -1.5142    
   2  Index         1.5192        .35112        .54988E-02   -.77002    
   3  Normalizat    1.4059        .24855        .24431E-03   -.80457    
   4  Prefactor     .71445        .18374        .24272E-03   -1.0296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68165e-08
Minuit parameter uncertainties:
  1  5.61459
  2  0.351684
  3  0.248766
  4  0.183892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195598': 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) = 4982.58962702
delta logL = 2.78590857079

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  8.006e+00  5.615e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.519e+00  3.517e-01  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  7.144e-01  1.839e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.406e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.63
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.52 +/- 0.35
Photon Flux (Free Index): 3.15e-08 +/- 2.38e-08
Energy Flux (Free Index): 9.33e-05 +/- 8.78e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/195598/cmap_HighResolution_596246401_596505601_4FGL_J2207.5-5346_daily_bin1377.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.72e-08', energy_flux2='9.33e-05', photon_flux_error='4.04e-08', dlogl='2.79e+00', energy_flux='2.11e-05', photon_flux2='3.15e-08', job_status='DONE', time_completed='2021-09-28 05:52:43.326352', photon_index_error2='0.35', photon_index2='1.52', ts='12.04', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='8.78e-05', EG='1.37', time_epoch_completed='1632833563.33', return_code='0', job_id='195598', GAL2='0.71', EG2='1.41', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='2.38e-08', ts2='17.63', photon_index='2.44' WHERE bin_id='1377' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:52:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 195598: <4FGL_J2207.5-5346_daily_bin1377> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1377> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:54 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:40:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:40:56 2021
Terminated at Tue Sep 28 05:52:44 2021
Results reported at Tue Sep 28 05:52:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1377 331.892 -53.7719 596246401 596505601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   540.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            710 sec.

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

