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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin820
RA = 331.892, Dec = -53.7719
tmin = 451872001, tmax = 452131201
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='193674', job_status='RUN', time_executed='2021-09-28 05:37:43.820569', time_epoch_executed='1632832663.82' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='820'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193674

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193674/ft1_4FGL_J2207.5-5346_daily_bin820.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193674/ft1_4FGL_J2207.5-5346_daily_bin820.fits outfile=/scratch/kocevski/193674/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin820.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=451872001.0 tmax=452131201.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.36
user 3.17
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.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/193674/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin820.fits evtable="EVENTS" outfile="/scratch/kocevski/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.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.52
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.fits" evtable="EVENTS" scfile=/scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits sctable="SC_DATA" outfile=/scratch/kocevski/193674/ltcube_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.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/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits
.....................!
real 11.88
user 11.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.fits evtable="EVENTS" scfile=/scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits sctable="SC_DATA" expcube=/scratch/kocevski/193674/ltcube_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.fits outfile=/scratch/kocevski/193674/expmap_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.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/193674/ltcube_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.fits
.....................!
real 192.82
user 188.26
sys 4.22

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/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.fits scfile=/scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits outfile=/scratch/kocevski/193674/cmap_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.fits scfile=/scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits outfile=/scratch/kocevski/193674/cmap_HighResolution_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.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.54
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.fits evtable="EVENTS" scfile=/scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193674/Model_4FGL_J2207.5-5346_daily_bin820.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/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.fits.....................!
real 55.63
user 54.25
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.fits', '/scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits', expMap='/scratch/kocevski/193674/expmap_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.fits', expCube='/scratch/kocevski/193674/ltcube_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193674/Model_4FGL_J2207.5-5346_daily_bin820.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/193674/ft1_filtered_4FGL_J2207.5-5346_daily_bin820.fits
Spacecraft file(s): /scratch/kocevski/193674/ft2_4FGL_J2207.5-5346_daily_bin820.fits
Exposure map: /scratch/kocevski/193674/expmap_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.fits
Exposure cube: /scratch/kocevski/193674/ltcube_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193674/Model_4FGL_J2207.5-5346_daily_bin820.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) = 7323.88778205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6774       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    85.689       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20533E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.889       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5888       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.671       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7776       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7536       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11505E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3043       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0919       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.606       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0928       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82557       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=   7323.853     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2432 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6774        2.3387        .50772E-07   -.10458E-03
   2  Prefactor     .10000E-03    8.5770       -.10707E-07** at limit **
   3  Prefactor     .10000E-03    13.194       -.27208E-06** at limit **
   4  Prefactor     85.679        90.093        .91989E-06   -.27629E-04
   5  Prefactor     .10000E-03    5.0100       -.51662E-05** at limit **
   6  Prefactor     .10000E-03    5.8368       -.10003E-06** at limit **
   7  Prefactor     11.889        4.3933        .94382E-07   -.31663E-03
   8  norm          1.5888        .87518        .29347E-07   -.28150E-03
   9  Prefactor     18.687        36.216       -.20321E-05   -.11206E-03
  10  Prefactor     2.7763        7.9029        .68431E-06   -.55971E-04
  11  Prefactor     2.7536        2.0463       -.13259E-07   -.29666E-03
  12  Prefactor     .10001E-03    59.391        .92288E-06** at limit **
  13  norm          .10000E-03    5.1684       -.50163E-07** at limit **
  14  Prefactor     .10000E-03    1.4816       -.65397E-07** at limit **
  15  Prefactor     2.3035        4.9318        .64926E-05   -.59393E-04
  16  Prefactor     3.0925        28.364       -.31711E-05    .36064E-04
  17  Prefactor     .10000E-03    2.6401        .13170E-07** at limit **
  18  Prefactor     .10000E-03    50.179       -.10666E-05** at limit **
  19  Prefactor     31.610        37.916       -.10472E-05    .59078E-04
  20  Prefactor     .10000E-03    8.6956        .71110E-07** at limit **
  21  Normalizat    1.0928        .16949       -.34974E-05   -.31025E-03
  22  Prefactor     .82561        .12510        .16857E-05   -.11489E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.67737
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 85.6789
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.889
  norm       = 1.58881
  Prefactor  = 18.6867
  Prefactor  = 2.77632
  Prefactor  = 2.75358
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.30347
  Prefactor  = 3.09251
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 31.6105
  Prefactor  = 0.0001
  Normalizat = 1.09276
  Prefactor  = 0.825605
 **********
 **   18 **HESSE 
 **********

 FCN=   7323.853     FROM HESSE     STATUS=OK           342 CALLS     2774 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6774        2.3368        .11769E-03   -1.5381    
   2  Prefactor     .10000E-03    8.6006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     85.679        90.075        .43399E-04   -1.3854    
   5  Prefactor     .10000E-03    14.744        .31786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.889        4.3900        .10420E-03   -1.5018    
   8  norm          1.5888        .86927        .57123E-04   -1.5456    
   9  Prefactor     18.687        36.058        .92690E-04   -1.4843    
  10  Prefactor     2.7763        7.7913        .24417E-03   -1.5375    
  11  Prefactor     2.7536        2.0481        .10227E-03   -1.5376    
  12  Prefactor     .10001E-03    59.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.2707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.5453        .20187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.3035        5.1743        .13158E-02   -1.5404    
  16  Prefactor     3.0925        28.911        .23064E-03   -1.5356    
  17  Prefactor     .10000E-03    2.6438        .13573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    50.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     31.610        38.000        .71272E-04   -1.4583    
  20  Prefactor     .10000E-03    8.7941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0928        .19810        .24481E-03   -.89985    
  22  Prefactor     .82561        .14719        .21614E-03   -.98791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54958e-09
Minuit parameter uncertainties:
  1  2.33685
  2  3.88998e-05
  3  4.66754e-05
  4  90.2188
  5  0.000147088
  6  1.27065e-05
  7  4.39009
  8  0.869276
  9  36.0998
  10  7.79419
  11  2.04819
  12  0.00123115
  13  5.84728e-06
  14  8.98205e-06
  15  5.17533
  16  18.9228
  17  9.29532e-07
  18  0.000876929
  19  38.0293
  20  5.96099e-05
  21  0.198232
  22  0.147257
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.754e+00  2.048e+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:  8.256e-01  1.473e-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.093e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.22
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 2.53e-08 +/- 1.88e-08
Energy Flux (Fixed Index): 7.91e-06 +/- 5.88e-06

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) = 7321.81296449
delta logL = 2.03980336983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7321.78093657
delta logL = 2.07183128745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3771       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3623       1.0000          .0000       10.000    
     3 'Normalizat'    1.1115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81767       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=   7321.781     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3771        1.7509        .66427E-02    .23089E-02
   2  Index         1.3623        .32965        .19740       -.56020E-04
   3  Normalizat    1.1115        .15598        .54934E-01    .12165E-04
   4  Prefactor     .81767        .12199        .43947E-01    .11857E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.37714
  Index      = 1.36227
  Normalizat = 1.11151
  Prefactor  = 0.817671
 **********
 **   18 **HESSE 
 **********

 FCN=   7321.781     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3771        2.1387        .93085E-04   -1.5400    
   2  Index         1.3623        .44388        .78885E-02   -.81474    
   3  Normalizat    1.1115        .18272        .24291E-03   -.89383    
   4  Prefactor     .81767        .14294        .21697E-03   -.99080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07148e-09
Minuit parameter uncertainties:
  1  2.13877
  2  0.445131
  3  0.182822
  4  0.143004
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193674': 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) = 7321.78093657
delta logL = 2.07183128938

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.377e+00  2.139e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.362e+00  4.451e-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:  8.177e-01  1.430e-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.112e+00  1.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.35
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.36 +/- 0.45
Photon Flux (Free Index): 9.23e-09 +/- 7.98e-09
Energy Flux (Free Index): 4.62e-05 +/- 5.68e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/193674/cmap_HighResolution_451872001_452131201_4FGL_J2207.5-5346_daily_bin820.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.53e-08', energy_flux2='4.62e-05', photon_flux_error='1.88e-08', dlogl='2.07e+00', energy_flux='7.91e-06', photon_flux2='9.23e-09', job_status='DONE', time_completed='2021-09-28 05:48:18.860081', photon_index_error2='0.45', photon_index2='1.36', ts='6.22', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='5.68e-05', EG='1.09', time_epoch_completed='1632833298.86', return_code='0', job_id='193674', GAL2='0.82', EG2='1.11', return_code2='0', energy_flux_error='5.88e-06', photon_flux_error2='7.98e-09', ts2='10.35', photon_index='2.44' WHERE bin_id='820' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:48:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 193674: <4FGL_J2207.5-5346_daily_bin820> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin820> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:35:17 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:35:19 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:35:19 2021
Terminated at Tue Sep 28 05:48:19 2021
Results reported at Tue Sep 28 05:48:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin820 331.892 -53.7719 451872001 452131201 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 :                                   633.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

