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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1518
RA = 208.335, Dec = 14.5755
tmin = 632793601, tmax = 633052801
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='52007', job_status='RUN', time_executed='2021-09-08 17:24:33.092624', time_epoch_executed='1631147073.09' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52007

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52007/ft1_4FGL_J1353.3+1434_daily_bin1518.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52007/ft2_4FGL_J1353.3+1434_daily_bin1518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52007/ft1_4FGL_J1353.3+1434_daily_bin1518.fits outfile=/scratch/kocevski/52007/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1518.fits ra=208.335 dec=14.5755 rad=12.0 tmin=632793601.0 tmax=633052801.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.63
user 3.43
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/52007/ft2_4FGL_J1353.3+1434_daily_bin1518.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/52007/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1518.fits evtable="EVENTS" outfile="/scratch/kocevski/52007/ft1_filtered_4FGL_J1353.3+1434_daily_bin1518.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.56
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52007/ft1_filtered_4FGL_J1353.3+1434_daily_bin1518.fits" evtable="EVENTS" scfile=/scratch/kocevski/52007/ft2_4FGL_J1353.3+1434_daily_bin1518.fits sctable="SC_DATA" outfile=/scratch/kocevski/52007/ltcube_632793601_633052801_4FGL_J1353.3+1434_daily_bin1518.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/52007/ft2_4FGL_J1353.3+1434_daily_bin1518.fits
.....................!
real 13.48
user 13.09
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52007/ft1_filtered_4FGL_J1353.3+1434_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/52007/ft2_4FGL_J1353.3+1434_daily_bin1518.fits sctable="SC_DATA" expcube=/scratch/kocevski/52007/ltcube_632793601_633052801_4FGL_J1353.3+1434_daily_bin1518.fits outfile=/scratch/kocevski/52007/expmap_632793601_633052801_4FGL_J1353.3+1434_daily_bin1518.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/52007/ltcube_632793601_633052801_4FGL_J1353.3+1434_daily_bin1518.fits
.....................!
real 192.95
user 188.23
sys 4.29

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/52007/ft1_filtered_4FGL_J1353.3+1434_daily_bin1518.fits scfile=/scratch/kocevski/52007/ft2_4FGL_J1353.3+1434_daily_bin1518.fits outfile=/scratch/kocevski/52007/cmap_632793601_633052801_4FGL_J1353.3+1434_daily_bin1518.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52007/ft1_filtered_4FGL_J1353.3+1434_daily_bin1518.fits scfile=/scratch/kocevski/52007/ft2_4FGL_J1353.3+1434_daily_bin1518.fits outfile=/scratch/kocevski/52007/cmap_HighResolution_632793601_633052801_4FGL_J1353.3+1434_daily_bin1518.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.916       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10607E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7476       1.0000         .10000E-03   10000.    
     4 'norm      '    3.3780       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0928       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.363       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.125       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.824       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3382       1.0000         .10000E-03   10000.    
    14 'norm      '    7.0255       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2275       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0126       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=   7763.478     FROM MIGRAD    STATUS=CONVERGED    287 CALLS     1458 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.916        7.5533       -.17335E-06    .24394E-04
   2  Prefactor     .10000E-03    19.066        .62551E-05** at limit **
   3  Prefactor     1.7147        62.661       -.12877E-03    .19366E-04
   4  norm          3.3790        7.3110       -.11345E-05   -.31836E-03
   5  Prefactor     .10000E-03    13.414       -.34756E-05** at limit **
   6  Prefactor     .10000E-03    2.3198       -.16674E-06** at limit **
   7  Prefactor     3.0928        3.3800       -.10167E-05   -.31150E-03
   8  Prefactor     .10000E-03    4.4647       -.64061E-07** at limit **
   9  Prefactor     10.360        11.302       -.19123E-05   -.24914E-05
  10  Prefactor     20.119        31.295       -.12220E-04    .21848E-04
  11  Prefactor     .10000E-03    7.0648        .19227E-06** at limit **
  12  Prefactor     14.824        8.9884        .46807E-06    .90156E-04
  13  Prefactor     2.3389        6.0842       -.21401E-05   -.64827E-03
  14  norm          7.0252        3.6798       -.16085E-05   -.96984E-04
  15  Normalizat    1.2273        .18367        .24350E-05    .40493E-03
  16  Prefactor     1.0128        .14562        .35522E-05    .38738E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.9162
  Prefactor  = 0.000100001
  Prefactor  = 1.71468
  norm       = 3.37896
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.09284
  Prefactor  = 0.0001
  Prefactor  = 10.3604
  Prefactor  = 20.1188
  Prefactor  = 0.0001
  Prefactor  = 14.8236
  Prefactor  = 2.33888
  norm       = 7.02517
  Normalizat = 1.22732
  Prefactor  = 1.01277
 **********
 **   18 **HESSE 
 **********

 FCN=   7763.478     FROM HESSE     STATUS=OK           203 CALLS     1661 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.916        7.5120        .11605E-03   -1.5017    
   2  Prefactor     .10000E-03    19.525        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7147        63.855        .31722E-03   -1.5446    
   4  norm          3.3790        7.2643        .22016E-03   -1.5340    
   5  Prefactor     .10000E-03    13.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.3635        .13095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0928        3.3727        .16415E-03   -1.5356    
   8  Prefactor     .10000E-03    4.4836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.360        11.326        .12447E-03   -1.5064    
  10  Prefactor     20.119        31.301        .89281E-04   -1.4811    
  11  Prefactor     .10000E-03    7.0700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.824        8.9245        .10403E-03   -1.4938    
  13  Prefactor     2.3389        6.0376        .26814E-03   -1.5402    
  14  norm          7.0252        3.6768        .11748E-03   -1.5178    
  15  Normalizat    1.2273        .22040        .26796E-03   -.85763    
  16  Prefactor     1.0128        .17448        .23239E-03   -.92305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29894e-09
Minuit parameter uncertainties:
  1  7.51261
  2  0.000220955
  3  20.9511
  4  7.26621
  5  5.66337e-06
  6  2.55405e-05
  7  3.37291
  8  7.72229e-06
  9  11.3281
  10  31.3263
  11  1.37975e-05
  12  8.92525
  13  6.0392
  14  3.67689
  15  0.220572
  16  0.174579
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  7.722e-06  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:  1.013e+00  1.746e-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.227e+00  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 208.335 14.575
Photon Flux Upper Limit: 4.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/52007/likelihoodResults_632793601_633052801_4FGL_J1353.3+1434_daily_bin1518.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7763.47937931
delta logL = -0.00106118944404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7763.47831881
delta logL = -6.95308699505e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11099E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2135       1.0000          .0000       10.000    
     3 'Normalizat'    1.2272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0129       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=   7763.478     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      236 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10621E-03    3.8893        .18142E-01** at limit **
   2  Index         2.0930        8.8171        .50000        .53573E-04
   3  Normalizat    1.2273        .38127E-02    .26795E-03    .22112E-03
   4  Prefactor     1.0128        .30544E-02    .23239E-03   -.31698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106213
  Index      = 2.09298
  Normalizat = 1.22733
  Prefactor  = 1.01276
 **********
 **   18 **HESSE 
 **********

 FCN=   7763.478     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10621E-03    49.500        .20233E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0930        5.9886        .50000       -.62045    
   3  Normalizat    1.2273        .13590E-01    .53591E-04   -.85762    
   4  Prefactor     1.0128        .10887E-01    .46478E-04   -.92305    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.99476e-08
Minuit parameter uncertainties:
  1  0.0351026
  2  234.788
  3  0.0135901
  4  0.010887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52007': 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): 102
logL (Free Index) = 7763.47831638
delta logL = 1.73341868503e-06

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.062e-04  3.510e-02  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.093e+00  2.348e+02  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:  1.013e+00  1.089e-02  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.227e+00  1.359e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 208.335 14.575

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/52007/cmap_HighResolution_632793601_633052801_4FGL_J1353.3+1434_daily_bin1518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.56e-03', job_status='DONE', photon_flux_upper_limit='4.66e-08', time_completed='2021-09-08 17:33:27.589037', job_id='52007', GAL2='1.01', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631147607.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.73e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1518' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:33:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 52007: <4FGL_J1353.3+1434_daily_bin1518> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1518> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:20:28 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:20:29 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:20:29 2021
Terminated at Wed Sep  8 17:33:28 2021
Results reported at Wed Sep  8 17:33:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1518 208.335 14.5755 632793601 633052801 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 :                                   529.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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

