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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin864
RA = 208.335, Dec = 14.5755
tmin = 463276801, tmax = 463536001
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='49041', job_status='RUN', time_executed='2021-09-08 17:11:38.494156', time_epoch_executed='1631146298.49' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='864'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49041

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49041/ft1_4FGL_J1353.3+1434_daily_bin864.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49041/ft2_4FGL_J1353.3+1434_daily_bin864.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49041/ft1_4FGL_J1353.3+1434_daily_bin864.fits outfile=/scratch/kocevski/49041/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin864.fits ra=208.335 dec=14.5755 rad=12.0 tmin=463276801.0 tmax=463536001.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.74
user 3.49
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49041/ft1_filtered_4FGL_J1353.3+1434_daily_bin864.fits evtable="EVENTS" scfile=/scratch/kocevski/49041/ft2_4FGL_J1353.3+1434_daily_bin864.fits sctable="SC_DATA" expcube=/scratch/kocevski/49041/ltcube_463276801_463536001_4FGL_J1353.3+1434_daily_bin864.fits outfile=/scratch/kocevski/49041/expmap_463276801_463536001_4FGL_J1353.3+1434_daily_bin864.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/49041/ltcube_463276801_463536001_4FGL_J1353.3+1434_daily_bin864.fits
.....................!
real 192.34
user 187.47
sys 4.45

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/49041/ft1_filtered_4FGL_J1353.3+1434_daily_bin864.fits scfile=/scratch/kocevski/49041/ft2_4FGL_J1353.3+1434_daily_bin864.fits outfile=/scratch/kocevski/49041/cmap_463276801_463536001_4FGL_J1353.3+1434_daily_bin864.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.61
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49041/ft1_filtered_4FGL_J1353.3+1434_daily_bin864.fits scfile=/scratch/kocevski/49041/ft2_4FGL_J1353.3+1434_daily_bin864.fits outfile=/scratch/kocevski/49041/cmap_HighResolution_463276801_463536001_4FGL_J1353.3+1434_daily_bin864.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.59
user 0.41
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    30.491       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    55.786       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12974E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3638       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.522       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2662       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2317       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12444E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.4921       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .65402       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=   6655.995     FROM MIGRAD    STATUS=CONVERGED    308 CALLS     1481 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.490        10.206       -.13043E-06   -.10678E-03
   2  Prefactor     .10000E-03    11.553       -.64478E-06** at limit **
   3  Prefactor     .10000E-03    10.998       -.44470E-05** at limit **
   4  norm          .10000E-03    8.3447        .19252E-05** at limit **
   5  Prefactor     55.788        52.612        .16803E-05    .34285E-04
   6  Prefactor     .10000E-03    1.8396       -.18197E-07** at limit **
   7  Prefactor     3.3642        4.3446       -.54639E-06   -.12201E-03
   8  Prefactor     12.519        15.137       -.25105E-05   -.10785E-03
   9  Prefactor     .10000E-03    18.340       -.61760E-05** at limit **
  10  Prefactor     .10000E-03    6.6202       -.36674E-06** at limit **
  11  Prefactor     8.2596        18.358       -.10282E-04   -.21456E-03
  12  Prefactor     2.2305        2.1747        .37267E-06   -.16907E-02
  13  Prefactor     .10009E-03    5.6105        .26304E-05** at limit **
  14  norm          .10000E-03    2.3122       -.62752E-07** at limit **
  15  Normalizat    1.4922        .19597        .16227E-06   -.31376E-03
  16  Prefactor     .65397        .14822        .83922E-06   -.25855E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 30.4895
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 55.7879
  Prefactor  = 0.0001
  Prefactor  = 3.36416
  Prefactor  = 12.5191
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 8.25956
  Prefactor  = 2.2305
  Prefactor  = 0.000100094
  norm       = 0.0001
  Normalizat = 1.49224
  Prefactor  = 0.653974
 **********
 **   18 **HESSE 
 **********

 FCN=   6655.995     FROM HESSE     STATUS=OK           201 CALLS     1682 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.490        10.219        .72560E-04   -1.4603    
   2  Prefactor     .10000E-03    11.918        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.4475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     55.788        52.610        .53707E-04   -1.4213    
   6  Prefactor     .10000E-03    3.4012        .21399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3642        4.3346        .18480E-03   -1.5341    
   8  Prefactor     12.519        15.144        .11320E-03   -1.5000    
   9  Prefactor     .10000E-03    18.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.6227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.2596        18.515        .13944E-03   -1.5133    
  12  Prefactor     2.2305        6.3217        .13759E-02   -1.5409    
  13  Prefactor     .10009E-03    15.517        .34558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.3731        .24205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4922        .23748        .23308E-03   -.77997    
  16  Prefactor     .65397        .18026        .25569E-03   -1.0536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08034e-08
Minuit parameter uncertainties:
  1  10.2196
  2  3.33992e-05
  3  0.000126889
  4  3.85836e-05
  5  52.6538
  6  1.23563e-05
  7  4.335
  8  15.1491
  9  0.000196337
  10  9.82119e-06
  11  18.5277
  12  6.32363
  13  0.00241936
  14  1.56895e-05
  15  0.237657
  16  0.180421
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.252e+01  1.515e+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.540e-01  1.804e-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.492e+00  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/49041/likelihoodResults_463276801_463536001_4FGL_J1353.3+1434_daily_bin864.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) = 6655.15523118
delta logL = 0.839939796017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6655.12304209
delta logL = 0.872128877943

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9771       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3779       1.0000          .0000       10.000    
     3 'Normalizat'    1.4143       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69224       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.

 FCN=   6655.123     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      251 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9591        45.887        .50562E-02    .47055E-03
   2  Index         3.3798        2.4586        .11981        .16593E-03
   3  Normalizat    1.4142        .57725E-01    .53843E-01    .21107E-05
   4  Prefactor     .69233        .43285E-01    .42298E-01    .21360E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95909
  Index      = 3.37979
  Normalizat = 1.41423
  Prefactor  = 0.692327
 **********
 **   18 **HESSE 
 **********

 FCN=   6655.123     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9591        86.098        .10435E-03   -1.5310    
   2  Index         3.3798        3.8660        .42017E-02   -.33000    
   3  Normalizat    1.4142        .25933        .23807E-03   -.80218    
   4  Prefactor     .69233        .20097        .24898E-03   -1.0383    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.56637e-10
Minuit parameter uncertainties:
  1  36.9853
  2  4.52546
  3  0.259571
  4  0.201181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49041': 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) = 6655.12303957
delta logL = 0.872131403611

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  3.959e+00  3.699e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  3.380e+00  4.525e+00  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.923e-01  2.012e-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.414e+00  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.72
Ra Dec: 208.335 14.575
Photon Index (Free Index): 3.38 +/- 4.53
Photon Flux (Free Index): 9.26e-08 +/- 7.05e-08
Energy Flux (Free Index): 1.60e-05 +/- 2.00e-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/49041/cmap_HighResolution_463276801_463536001_4FGL_J1353.3+1434_daily_bin864.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', comment='SUCCESS', energy_flux2='1.60e-05', dlogl='8.72e-01', photon_flux2='9.26e-08', job_status='DONE', time_completed='2021-09-08 17:20:11.728727', photon_index_error2='4.53', photon_index2='3.38', ts='0.89', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='2.00e-05', EG='1.49', time_epoch_completed='1631146811.73', return_code='0', job_id='49041', GAL2='0.69', EG2='1.41', return_code2='102', photon_flux_error2='7.05e-08', ts2='2.72', photon_index='2.25' WHERE bin_id='864' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:20:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 49041: <4FGL_J1353.3+1434_daily_bin864> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin864> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 17:11:00 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:11:20 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:20 2021
Terminated at Wed Sep  8 17:20:12 2021
Results reported at Wed Sep  8 17:20:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin864 208.335 14.5755 463276801 463536001 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 :                                   508.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             284.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            552 sec.

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

