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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin521
RA = 208.335, Dec = 14.5755
tmin = 374371201, tmax = 374630401
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='47418', job_status='RUN', time_executed='2021-09-08 17:06:56.380946', time_epoch_executed='1631146016.38' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='521'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47418

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47418/ft1_4FGL_J1353.3+1434_daily_bin521.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47418/ft2_4FGL_J1353.3+1434_daily_bin521.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/47418/ft1_4FGL_J1353.3+1434_daily_bin521.fits outfile=/scratch/kocevski/47418/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin521.fits ra=208.335 dec=14.5755 rad=12.0 tmin=374371201.0 tmax=374630401.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.27
user 3.06
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/47418/ft2_4FGL_J1353.3+1434_daily_bin521.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/47418/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin521.fits evtable="EVENTS" outfile="/scratch/kocevski/47418/ft1_filtered_4FGL_J1353.3+1434_daily_bin521.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/47418/ft1_filtered_4FGL_J1353.3+1434_daily_bin521.fits" evtable="EVENTS" scfile=/scratch/kocevski/47418/ft2_4FGL_J1353.3+1434_daily_bin521.fits sctable="SC_DATA" outfile=/scratch/kocevski/47418/ltcube_374371201_374630401_4FGL_J1353.3+1434_daily_bin521.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/47418/ft2_4FGL_J1353.3+1434_daily_bin521.fits
.....................!
real 16.86
user 16.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47418/ft1_filtered_4FGL_J1353.3+1434_daily_bin521.fits evtable="EVENTS" scfile=/scratch/kocevski/47418/ft2_4FGL_J1353.3+1434_daily_bin521.fits sctable="SC_DATA" expcube=/scratch/kocevski/47418/ltcube_374371201_374630401_4FGL_J1353.3+1434_daily_bin521.fits outfile=/scratch/kocevski/47418/expmap_374371201_374630401_4FGL_J1353.3+1434_daily_bin521.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/47418/ltcube_374371201_374630401_4FGL_J1353.3+1434_daily_bin521.fits
.....................!
real 193.68
user 187.28
sys 4.40

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/47418/ft1_filtered_4FGL_J1353.3+1434_daily_bin521.fits scfile=/scratch/kocevski/47418/ft2_4FGL_J1353.3+1434_daily_bin521.fits outfile=/scratch/kocevski/47418/cmap_374371201_374630401_4FGL_J1353.3+1434_daily_bin521.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/47418/ft1_filtered_4FGL_J1353.3+1434_daily_bin521.fits scfile=/scratch/kocevski/47418/ft2_4FGL_J1353.3+1434_daily_bin521.fits outfile=/scratch/kocevski/47418/cmap_HighResolution_374371201_374630401_4FGL_J1353.3+1434_daily_bin521.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.58
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.423       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    23.516       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .37514E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.893       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10564E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.587       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.1783       1.0000         .10000E-03   10000.    
    14 'norm      '    2.8728       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0676       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90698       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=   5654.545     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1483 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.419        10.948        .24667E-05   -.95490E-05
   2  Prefactor     .10000E-03    4.2162        .20481E-06** at limit **
   3  Prefactor     .10000E-03    24.890       -.29076E-06** at limit **
   4  norm          23.516        12.752        .30047E-05   -.68842E-05
   5  Prefactor     .10000E-03    114.86       -.79422E-05** at limit **
   6  Prefactor     .10000E-03    2.4363        .40810E-07** at limit **
   7  Prefactor     .10000E-03    1.5831        .69254E-07** at limit **
   8  Prefactor     20.892        13.395       -.62426E-06   -.66946E-05
   9  Prefactor     .10000E-03    7.7471       -.31069E-07** at limit **
  10  Prefactor     .10000E-03    67.253        .19977E-05** at limit **
  11  Prefactor     51.578        34.880       -.39173E-05   -.56810E-05
  12  Prefactor     .10000E-03    6.1416       -.21223E-06** at limit **
  13  Prefactor     8.1778        6.5458        .20428E-05   -.12225E-03
  14  norm          2.8726        2.9214       -.25390E-06   -.31661E-03
  15  Normalizat    1.0679        .19613       -.14552E-05    .78646E-04
  16  Prefactor     .90684        .15429        .11777E-05   -.86845E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.4189
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.5164
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.8916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.5784
  Prefactor  = 0.0001
  Prefactor  = 8.17778
  norm       = 2.87263
  Normalizat = 1.06785
  Prefactor  = 0.906835
 **********
 **   18 **HESSE 
 **********

 FCN=   5654.545     FROM HESSE     STATUS=OK           203 CALLS     1686 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.419        10.965        .86538E-04   -1.4782    
   2  Prefactor     .10000E-03    4.2292        .15079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          23.516        12.778        .82602E-04   -1.4738    
   5  Prefactor     .10000E-03    115.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.813        .22287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5865        .92390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.892        13.400        .87628E-04   -1.4794    
   9  Prefactor     .10000E-03    7.8859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    69.027        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     51.578        34.945        .55839E-04   -1.4270    
  12  Prefactor     .10000E-03    6.2478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.1778        6.5138        .14019E-03   -1.5136    
  14  norm          2.8726        2.9153        .12531E-03   -1.5369    
  15  Normalizat    1.0679        .23530        .25893E-03   -.90791    
  16  Prefactor     .90684        .18526        .22097E-03   -.95903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89344e-10
Minuit parameter uncertainties:
  1  10.9657
  2  1.24042e-06
  3  5.73417e-06
  4  12.7799
  5  6.84095e-05
  6  0.00011935
  7  6.38506e-07
  8  13.402
  9  9.73593e-06
  10  0.000128576
  11  34.959
  12  4.06968e-05
  13  6.51439
  14  2.91544
  15  0.235529
  16  0.185388
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  2.089e+01  1.340e+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:  9.068e-01  1.854e-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.068e+00  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.44
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 5.20e-08 +/- 3.33e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.37e-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) = 5654.40898857
delta logL = 0.13572220157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5654.40860418
delta logL = 0.136106591087

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.291       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9942       1.0000          .0000       10.000    
     3 'Normalizat'    1.0801       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90016       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=   5654.409     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      238 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.269        469.84        .19532E-02    .92372E-05
   2  Index         1.9944        5.9127        .17310        .49364E-04
   3  Normalizat    1.0800        .13819        .58257E-01    .33877E-04
   4  Prefactor     .90028        .77874E-01    .45007E-01    .12139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.2694
  Index      = 1.99444
  Normalizat = 1.08002
  Prefactor  = 0.900276
 **********
 **   18 **HESSE 
 **********

 FCN=   5654.409     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.269        18.915        .78128E-04   -1.4682    
   2  Index         1.9944        .47029        .64800E-02   -.64489    
   3  Normalizat    1.0800        .23162        .25763E-03   -.90396    
   4  Prefactor     .90028        .18439        .22167E-03   -.96131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34938e-12
Minuit parameter uncertainties:
  1  18.9193
  2  0.471387
  3  0.231833
  4  0.184521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47418': 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) = 5654.40860338
delta logL = 0.136107398563

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  2.627e+01  1.892e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  1.994e+00  4.714e-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:  9.003e-01  1.845e-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.080e+00  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.71
Ra Dec: 208.335 14.575
Photon Index (Free Index): 1.99 +/- 0.47
Photon Flux (Free Index): 4.28e-08 +/- 3.27e-08
Energy Flux (Free Index): 3.00e-05 +/- 2.98e-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/47418/cmap_HighResolution_374371201_374630401_4FGL_J1353.3+1434_daily_bin521.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.20e-08', energy_flux2='3.00e-05', photon_flux_error='3.33e-08', dlogl='1.36e-01', energy_flux='2.14e-05', photon_flux2='4.28e-08', job_status='DONE', time_completed='2021-09-08 17:14:39.281857', photon_index_error2='0.47', photon_index2='1.99', ts='5.44', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.98e-05', EG='1.07', time_epoch_completed='1631146479.28', return_code='0', job_id='47418', GAL2='0.90', EG2='1.08', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='3.27e-08', ts2='5.71', photon_index='2.25' WHERE bin_id='521' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:14:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 47418: <4FGL_J1353.3+1434_daily_bin521> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin521> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  8 17:05:35 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:06:40 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:06:40 2021
Terminated at Wed Sep  8 17:14:40 2021
Results reported at Wed Sep  8 17:14:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin521 208.335 14.5755 374371201 374630401 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 :                                   456.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   479 sec.
    Turnaround time :                            545 sec.

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

