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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1252
RA = 208.335, Dec = 14.5755
tmin = 563846401, tmax = 564105601
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='50542', job_status='RUN', time_executed='2021-09-08 17:19:58.894569', time_epoch_executed='1631146798.89' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50542

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50542/ft1_4FGL_J1353.3+1434_daily_bin1252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50542/ft2_4FGL_J1353.3+1434_daily_bin1252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50542/ft1_4FGL_J1353.3+1434_daily_bin1252.fits outfile=/scratch/kocevski/50542/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1252.fits ra=208.335 dec=14.5755 rad=12.0 tmin=563846401.0 tmax=564105601.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 2.84
user 2.63
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/50542/ft1_filtered_4FGL_J1353.3+1434_daily_bin1252.fits" evtable="EVENTS" scfile=/scratch/kocevski/50542/ft2_4FGL_J1353.3+1434_daily_bin1252.fits sctable="SC_DATA" outfile=/scratch/kocevski/50542/ltcube_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.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/50542/ft2_4FGL_J1353.3+1434_daily_bin1252.fits
.....................!
real 15.43
user 15.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50542/ft1_filtered_4FGL_J1353.3+1434_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/50542/ft2_4FGL_J1353.3+1434_daily_bin1252.fits sctable="SC_DATA" expcube=/scratch/kocevski/50542/ltcube_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.fits outfile=/scratch/kocevski/50542/expmap_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.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/50542/ltcube_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.fits
.....................!
real 192.78
user 187.89
sys 4.43

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/50542/ft1_filtered_4FGL_J1353.3+1434_daily_bin1252.fits scfile=/scratch/kocevski/50542/ft2_4FGL_J1353.3+1434_daily_bin1252.fits outfile=/scratch/kocevski/50542/cmap_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/50542/ft1_filtered_4FGL_J1353.3+1434_daily_bin1252.fits scfile=/scratch/kocevski/50542/ft2_4FGL_J1353.3+1434_daily_bin1252.fits outfile=/scratch/kocevski/50542/cmap_HighResolution_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.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.60
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/50542/ft1_filtered_4FGL_J1353.3+1434_daily_bin1252.fits', '/scratch/kocevski/50542/ft2_4FGL_J1353.3+1434_daily_bin1252.fits', expMap='/scratch/kocevski/50542/expmap_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.fits', expCube='/scratch/kocevski/50542/ltcube_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/50542/Model_4FGL_J1353.3+1434_daily_bin1252.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/50542/ft1_filtered_4FGL_J1353.3+1434_daily_bin1252.fits
Spacecraft file(s): /scratch/kocevski/50542/ft2_4FGL_J1353.3+1434_daily_bin1252.fits
Exposure map: /scratch/kocevski/50542/expmap_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.fits
Exposure cube: /scratch/kocevski/50542/ltcube_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/50542/Model_4FGL_J1353.3+1434_daily_bin1252.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) = 5564.59664766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.029       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11610E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10418E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.301       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7433       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.569       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .47615E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7648       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.599       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .63937       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1312       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .69971       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=   5564.595     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1458 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.031        6.8931        .21771E-05   -.14256E-03
   2  Prefactor     .10000E-03    7.6250        .23748E-06** at limit **
   3  Prefactor     .10000E-03    28.834       -.26875E-05** at limit **
   4  norm          .10000E-03    3.6976       -.63291E-07** at limit **
   5  Prefactor     45.299        59.898       -.23310E-05   -.16524E-04
   6  Prefactor     .10000E-03    1.5074        .41606E-07** at limit **
   7  Prefactor     2.7457        3.2082        .96120E-07   -.14119E-03
   8  Prefactor     26.567        15.252       -.11242E-05   -.17863E-03
   9  Prefactor     .10006E-03    7.3097        .23350E-05** at limit **
  10  Prefactor     4.7885        47.403        .74934E-04   -.77382E-05
  11  Prefactor     .10000E-03    21.427       -.75704E-06** at limit **
  12  Prefactor     14.592        10.010       -.13786E-05   -.29305E-03
  13  Prefactor     .64708        4.7147       -.37122E-06   -.78699E-03
  14  norm          .10000E-03    1.1787        .31404E-08** at limit **
  15  Normalizat    1.1310        .18898       -.18834E-05   -.42089E-03
  16  Prefactor     .69968        .14310       -.20891E-05   -.40330E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0312
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 45.2991
  Prefactor  = 0.0001
  Prefactor  = 2.74575
  Prefactor  = 26.5668
  Prefactor  = 0.000100061
  Prefactor  = 4.78851
  Prefactor  = 0.0001
  Prefactor  = 14.5916
  Prefactor  = 0.647076
  norm       = 0.0001
  Normalizat = 1.13102
  Prefactor  = 0.699676
 **********
 **   18 **HESSE 
 **********

 FCN=   5564.595     FROM HESSE     STATUS=OK           201 CALLS     1659 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.031        6.9002        .12064E-03   -1.5044    
   2  Prefactor     .10000E-03    7.6846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    28.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.7155        .13992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     45.299        59.874        .59569E-04   -1.4361    
   6  Prefactor     .10000E-03    1.5133        .89427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7457        3.2011        .14003E-03   -1.5377    
   8  Prefactor     26.567        15.257        .77719E-04   -1.4677    
   9  Prefactor     .10006E-03    30.398        .38226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.7885        47.085        .18432E-03   -1.5270    
  11  Prefactor     .10000E-03    21.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.592        10.115        .10483E-03   -1.4944    
  13  Prefactor     .64708        25.934        .28019E-02   -1.5547    
  14  norm          .10000E-03    1.1970        .79026E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1310        .21935        .23230E-03   -.88762    
  16  Prefactor     .69968        .16664        .22484E-03   -1.0354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93844e-09
Minuit parameter uncertainties:
  1  6.90067
  2  3.44603e-05
  3  9.73639e-05
  4  2.27381e-05
  5  59.9538
  6  4.88457e-06
  7  3.20133
  8  15.2592
  9  0.00271415
  10  30.0616
  11  6.82261e-06
  12  10.1162
  13  8.19615
  14  4.70866e-06
  15  0.219531
  16  0.166761
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  2.657e+01  1.526e+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:  6.997e-01  1.668e-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.131e+00  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.35
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 6.61e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 2.72e-05 +/- 1.56e-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) = 5564.57967795
delta logL = 0.0154649985707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5564.57317026
delta logL = 0.0219726941132

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.455       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1414       1.0000          .0000       10.000    
     3 'Normalizat'    1.1385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69658       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=   5564.573     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      254 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.457        18.765        .75105E-04    .11201E-04
   2  Index         2.1413        .52341        .67003E-02    .30685E-03
   3  Normalizat    1.1385        .21455        .23177E-03   -.17413E-04
   4  Prefactor     .69656        .16584        .22532E-03   -.20687E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.4565
  Index      = 2.14133
  Normalizat = 1.13851
  Prefactor  = 0.696556
 **********
 **   18 **HESSE 
 **********

 FCN=   5564.573     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .94E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.457        18.438        .30042E-05   -1.4641    
   2  Index         2.1413        .51394        .13401E-02   -.60862    
   3  Normalizat    1.1385        .21460        .92708E-05   -.88525    
   4  Prefactor     .69656        .16595        .90128E-05   -1.0366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.39823e-13
Minuit parameter uncertainties:
  1  18.4422
  2  0.515292
  3  0.214766
  4  0.166071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50542': 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) = 5564.57317023
delta logL = 0.0219727174454

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  2.846e+01  1.844e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.141e+00  5.153e-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:  6.966e-01  1.661e-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.139e+00  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.39
Ra Dec: 208.335 14.575
Photon Index (Free Index): 2.14 +/- 0.52
Photon Flux (Free Index): 5.88e-08 +/- 4.90e-08
Energy Flux (Free Index): 2.96e-05 +/- 2.20e-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/50542/cmap_HighResolution_563846401_564105601_4FGL_J1353.3+1434_daily_bin1252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.61e-08', energy_flux2='2.96e-05', photon_flux_error='3.79e-08', dlogl='2.20e-02', energy_flux='2.72e-05', photon_flux2='5.88e-08', job_status='DONE', time_completed='2021-09-08 17:27:22.375032', photon_index_error2='0.52', photon_index2='2.14', ts='7.35', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='2.20e-05', EG='1.13', time_epoch_completed='1631147242.38', return_code='0', job_id='50542', GAL2='0.70', EG2='1.14', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='4.90e-08', ts2='7.39', photon_index='2.25' WHERE bin_id='1252' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:27:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 50542: <4FGL_J1353.3+1434_daily_bin1252> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1252> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:15:50 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:15:52 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:15:52 2021
Terminated at Wed Sep  8 17:27:23 2021
Results reported at Wed Sep  8 17:27:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1252 208.335 14.5755 563846401 564105601 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 :                                   442.58 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             190.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            693 sec.

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

