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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1016
RA = 208.335, Dec = 14.5755
tmin = 502675201, tmax = 502934401
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='49272', job_status='RUN', time_executed='2021-09-08 17:13:50.319078', time_epoch_executed='1631146430.32' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1016'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49272

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49272/ft1_4FGL_J1353.3+1434_daily_bin1016.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49272/ft1_4FGL_J1353.3+1434_daily_bin1016.fits outfile=/scratch/kocevski/49272/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1016.fits ra=208.335 dec=14.5755 rad=12.0 tmin=502675201.0 tmax=502934401.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.58
user 3.33
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.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/49272/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1016.fits evtable="EVENTS" outfile="/scratch/kocevski/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.fits" evtable="EVENTS" scfile=/scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits sctable="SC_DATA" outfile=/scratch/kocevski/49272/ltcube_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.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/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits
.....................!
real 13.65
user 13.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits sctable="SC_DATA" expcube=/scratch/kocevski/49272/ltcube_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.fits outfile=/scratch/kocevski/49272/expmap_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.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/49272/ltcube_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.fits
.....................!
real 192.75
user 187.11
sys 5.18

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

Setting source of interest to:
4FGL J1353.3+1434 @ 208.335 14.5755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.fits scfile=/scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits outfile=/scratch/kocevski/49272/cmap_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.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=208.335 yref=14.5755 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.fits scfile=/scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits outfile=/scratch/kocevski/49272/cmap_HighResolution_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.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=208.335 yref=14.5755 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/49272/Model_4FGL_J1353.3+1434_daily_bin1016.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/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.fits.....................!
real 47.09
user 45.69
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.fits', '/scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits', expMap='/scratch/kocevski/49272/expmap_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.fits', expCube='/scratch/kocevski/49272/ltcube_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/49272/Model_4FGL_J1353.3+1434_daily_bin1016.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1353.3+1434'

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  3.439e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.249e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/49272/ft1_filtered_4FGL_J1353.3+1434_daily_bin1016.fits
Spacecraft file(s): /scratch/kocevski/49272/ft2_4FGL_J1353.3+1434_daily_bin1016.fits
Exposure map: /scratch/kocevski/49272/expmap_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.fits
Exposure cube: /scratch/kocevski/49272/ltcube_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/49272/Model_4FGL_J1353.3+1434_daily_bin1016.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) = 5909.32331186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.811       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .14933E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.612       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.954       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0780       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10769E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.8047       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2171       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5909.315     FROM MIGRAD    STATUS=CONVERGED    320 CALLS     1467 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.800        7.0364       -.42006E-05   -.92006E-03
   2  Prefactor     .10000E-03    7.3489        .71524E-07** at limit **
   3  Prefactor     .10000E-03    12.734       -.41300E-05** at limit **
   4  norm          .10001E-03    7.9053        .50273E-05** at limit **
   5  Prefactor     .10000E-03    14.816       -.49694E-05** at limit **
   6  Prefactor     .10000E-03    .84687       -.24186E-07** at limit **
   7  Prefactor     .10000E-03    1.3726        .16516E-07** at limit **
   8  Prefactor     16.611        12.027        .56301E-07   -.58667E-04
   9  Prefactor     .10000E-03    4.7337       -.31192E-07** at limit **
  10  Prefactor     34.950        32.781       -.20535E-05   -.33975E-04
  11  Prefactor     6.9876        34.687       -.37379E-05    .23068E-04
  12  Prefactor     .10001E-03    13.377        .89038E-05** at limit **
  13  Prefactor     .10000E-03    6.2754       -.91052E-07** at limit **
  14  norm          8.8041        4.0709       -.78532E-07   -.15051E-03
  15  Normalizat    1.2170        .19472        .83291E-06   -.66550E-03
  16  Prefactor     .89750        .15323       -.74666E-07   -.44430E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7996
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100008
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6114
  Prefactor  = 0.0001
  Prefactor  = 34.9496
  Prefactor  = 6.98764
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 8.80407
  Normalizat = 1.21703
  Prefactor  = 0.897495
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.315     FROM HESSE     STATUS=OK           195 CALLS     1662 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.800        7.0964        .11656E-03   -1.5021    
   2  Prefactor     .10000E-03    7.3878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    41.056        .38720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .84849        .69081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.3783        .87949E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.611        12.028        .98266E-04   -1.4893    
   9  Prefactor     .10000E-03    4.7502        .16331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.950        32.751        .67783E-04   -1.4525    
  11  Prefactor     6.9876        34.546        .15078E-03   -1.5179    
  12  Prefactor     .10001E-03    13.259        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.4164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.8041        4.0696        .10182E-03   -1.5114    
  15  Normalizat    1.2170        .23303        .24933E-03   -.86078    
  16  Prefactor     .89750        .18421        .22696E-03   -.96229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90324e-09
Minuit parameter uncertainties:
  1  7.09693
  2  1.04163e-05
  3  0.000232657
  4  0.00116028
  5  0.000302188
  6  4.13597e-08
  7  8.19078e-07
  8  12.0302
  9  2.2224e-06
  10  32.7676
  11  31.1026
  12  0.000618871
  13  1.14562e-05
  14  4.06974
  15  0.233231
  16  0.184337
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.661e+01  1.203e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.249e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
483    Prefactor:  8.975e-01  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
484        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
485        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
482   Normalization:  1.217e+00  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.39
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 4.13e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.23e-05

TS (Fixed Index): 3.39
Ra Dec: 208.335 14.575
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/49272/likelihoodResults_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.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): 0
logL (Free Index) = 5909.31510702
delta logL = 3.87659574699e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5909.31508354
delta logL = 6.22431425654e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5909.315     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      258 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.721        16.107        .97969E-04    .10583E-03
   2  Index         2.2432        .57214        .62474E-02    .28315E-03
   3  Normalizat    1.2172        .22973        .24932E-03   -.87323E-04
   4  Prefactor     .89739        .18321        .22697E-03    .34911E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7213
  Index      = 2.24318
  Normalizat = 1.21723
  Prefactor  = 0.897392
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.315     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.721        15.592        .39187E-05   -1.4890    
   2  Index         2.2432        .55386        .12495E-02   -.58400    
   3  Normalizat    1.2172        .22991        .99727E-05   -.86072    
   4  Prefactor     .89739        .18337        .90790E-05   -.96232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62004e-11
Minuit parameter uncertainties:
  1  15.5955
  2  0.555502
  3  0.230098
  4  0.183499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49272': 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) = 5909.31508161
delta logL = 6.4174727413e-05

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.672e+01  1.560e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.243e+00  5.555e-01  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
483    Prefactor:  8.974e-01  1.835e-01  0.000e+00  1.000e+01 ( 1.000e+00)
484        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
485        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
482   Normalization:  1.217e+00  2.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.38
Ra Dec: 208.335 14.575
Photon Index (Free Index): 2.24 +/- 0.56
Photon Flux (Free Index): 4.11e-08 +/- 3.37e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.58e-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/49272/cmap_HighResolution_502675201_502934401_4FGL_J1353.3+1434_daily_bin1016.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.49e-03', comment='SUCCESS', photon_flux='4.13e-08', energy_flux2='1.71e-05', photon_flux_error='2.99e-08', dlogl='6.42e-05', energy_flux='1.70e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2021-09-08 17:21:53.497172', photon_index_error2='0.56', photon_index2='2.24', ts='3.39', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='1.58e-05', EG='1.22', time_epoch_completed='1631146913.5', return_code='0', job_id='49272', GAL2='0.90', EG2='1.22', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='3.37e-08', ts2='3.38', photon_index='2.25' WHERE bin_id='1016' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:21:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 49272: <4FGL_J1353.3+1434_daily_bin1016> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1016> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 17:11:22 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:11:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 17:11:37 2021
Terminated at Wed Sep  8 17:21:54 2021
Results reported at Wed Sep  8 17:21:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1016 208.335 14.5755 502675201 502934401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1353.3+1434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   481.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            632 sec.

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

