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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin540
RA = 208.335, Dec = 14.5755
tmin = 379296001, tmax = 379555201
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='47447', job_status='RUN', time_executed='2021-09-08 17:07:01.051145', time_epoch_executed='1631146021.05' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='540'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47447

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47447/ft1_4FGL_J1353.3+1434_daily_bin540.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47447/ft2_4FGL_J1353.3+1434_daily_bin540.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/47447/ft1_4FGL_J1353.3+1434_daily_bin540.fits outfile=/scratch/kocevski/47447/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin540.fits ra=208.335 dec=14.5755 rad=12.0 tmin=379296001.0 tmax=379555201.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 4.71
user 4.43
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/47447/ft1_filtered_4FGL_J1353.3+1434_daily_bin540.fits" evtable="EVENTS" scfile=/scratch/kocevski/47447/ft2_4FGL_J1353.3+1434_daily_bin540.fits sctable="SC_DATA" outfile=/scratch/kocevski/47447/ltcube_379296001_379555201_4FGL_J1353.3+1434_daily_bin540.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/47447/ft2_4FGL_J1353.3+1434_daily_bin540.fits
.....................!
real 16.43
user 15.95
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47447/ft1_filtered_4FGL_J1353.3+1434_daily_bin540.fits evtable="EVENTS" scfile=/scratch/kocevski/47447/ft2_4FGL_J1353.3+1434_daily_bin540.fits sctable="SC_DATA" expcube=/scratch/kocevski/47447/ltcube_379296001_379555201_4FGL_J1353.3+1434_daily_bin540.fits outfile=/scratch/kocevski/47447/expmap_379296001_379555201_4FGL_J1353.3+1434_daily_bin540.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/47447/ltcube_379296001_379555201_4FGL_J1353.3+1434_daily_bin540.fits
.....................!
real 194.55
user 188.39
sys 5.03

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/47447/ft1_filtered_4FGL_J1353.3+1434_daily_bin540.fits scfile=/scratch/kocevski/47447/ft2_4FGL_J1353.3+1434_daily_bin540.fits outfile=/scratch/kocevski/47447/cmap_379296001_379555201_4FGL_J1353.3+1434_daily_bin540.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/47447/ft1_filtered_4FGL_J1353.3+1434_daily_bin540.fits scfile=/scratch/kocevski/47447/ft2_4FGL_J1353.3+1434_daily_bin540.fits outfile=/scratch/kocevski/47447/cmap_HighResolution_379296001_379555201_4FGL_J1353.3+1434_daily_bin540.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6229       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3815       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.351       1.0000         .10000E-03   10000.    
     4 'norm      '    22.085       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5405       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.556       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4425       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.658       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34363       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8457       1.0000         .10000E-03   10000.    
    14 'norm      '    8.8120       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1426       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96694       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=   6786.372     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1340 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6229        4.7376       -.68804E-06    .25522E-03
   2  Prefactor     8.3774        11.168        .20977E-05   -.25915E-03
   3  Prefactor     30.347        25.966       -.14826E-05   -.23840E-03
   4  norm          22.083        10.391        .37706E-06    .17877E-03
   5  Prefactor     .10000E-03    25.031       -.20503E-06** at limit **
   6  Prefactor     1.5402        2.2420        .60977E-07   -.58921E-04
   7  Prefactor     .10000E-03    1.7820        .14848E-06** at limit **
   8  Prefactor     11.554        10.566        .31152E-06    .92744E-04
   9  Prefactor     3.4388        12.421       -.80182E-06   -.14073E-03
  10  Prefactor     14.654        27.611       -.16744E-05   -.12415E-03
  11  Prefactor     .13862        18.308       -.17363E-07    .23349E-04
  12  Prefactor     .10000E-03    9.1627       -.31987E-06** at limit **
  13  Prefactor     2.8425        6.1240        .56331E-06   -.69258E-04
  14  norm          8.8118        3.5628       -.10580E-07   -.32786E-04
  15  Normalizat    1.1426        .19103        .19843E-06   -.50051E-04
  16  Prefactor     .96707        .14645       -.50648E-06   -.23945E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.62285
  Prefactor  = 8.37742
  Prefactor  = 30.3466
  norm       = 22.083
  Prefactor  = 0.0001
  Prefactor  = 1.54019
  Prefactor  = 0.0001
  Prefactor  = 11.5539
  Prefactor  = 3.43881
  Prefactor  = 14.6537
  Prefactor  = 0.138615
  Prefactor  = 0.0001
  Prefactor  = 2.84254
  norm       = 8.8118
  Normalizat = 1.14264
  Prefactor  = 0.967075
 **********
 **   18 **HESSE 
 **********

 FCN=   6786.372     FROM HESSE     STATUS=OK           219 CALLS     1559 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6229        4.7576        .86536E-03   -1.5278    
   2  Prefactor     8.3774        11.515        .69236E-03   -1.5129    
   3  Prefactor     30.347        26.870        .72726E-04   -1.4606    
   4  norm          22.083        10.438        .85232E-04   -1.4768    
   5  Prefactor     .10000E-03    25.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5402        2.2172        .14416E-03   -1.5460    
   7  Prefactor     .10000E-03    3.2461        .21362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.554        10.587        .11785E-03   -1.5028    
   9  Prefactor     3.4388        12.799        .21799E-03   -1.5337    
  10  Prefactor     14.654        28.229        .10462E-03   -1.4942    
  11  Prefactor     .13862        23.976        .10363       -1.5634    
  12  Prefactor     .10000E-03    9.4107        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8425        6.1230        .24103E-03   -1.5371    
  14  norm          8.8118        3.5613        .95454E-04   -1.5114    
  15  Normalizat    1.1426        .22936        .26434E-03   -.88394    
  16  Prefactor     .96707        .17503        .22563E-03   -.93835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.72932e-10
Minuit parameter uncertainties:
  1  4.75804
  2  11.5181
  3  26.881
  4  10.4392
  5  4.411e-05
  6  2.21728
  7  1.70495e-05
  8  10.5891
  9  12.8096
  10  28.2543
  11  3.6462
  12  8.49497e-07
  13  6.12431
  14  3.56144
  15  0.229564
  16  0.175129
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.155e+01  1.059e+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.671e-01  1.751e-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.143e+00  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.88
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 2.87e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.08e-05

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

Saving results to:
/scratch/kocevski/47447/likelihoodResults_379296001_379555201_4FGL_J1353.3+1434_daily_bin540.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) = 6786.37069452
delta logL = 0.00125915813442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6786.36835721
delta logL = 0.00359647252662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.378       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3378       1.0000          .0000       10.000    
     3 'Normalizat'    1.1402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96861       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=   6786.368     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      247 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.373        21.699        .12437E-03   -.41892E-03
   2  Index         2.3381        1.3414        .89373E-02   -.53764E-04
   3  Normalizat    1.1402        .22092        .26458E-03    .12049E-03
   4  Prefactor     .96860        .17509        .22547E-03   -.19450E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3729
  Index      = 2.33806
  Normalizat = 1.14024
  Prefactor  = 0.968596
 **********
 **   18 **HESSE 
 **********

 FCN=   6786.368     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.373        17.254        .49749E-05   -1.5064    
   2  Index         2.3381        1.0729        .35749E-03   -.56142    
   3  Normalizat    1.1402        .21993        .10583E-04   -.88470    
   4  Prefactor     .96860        .17448        .45095E-04   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.31238e-10
Minuit parameter uncertainties:
  1  17.2627
  2  1.08479
  3  0.22011
  4  0.174586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47447': 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) = 6786.36835715
delta logL = 0.00359653249689

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.037e+01  1.726e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.338e+00  1.085e+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:  9.686e-01  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.140e+00  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.88
Ra Dec: 208.335 14.575
Photon Index (Free Index): 2.34 +/- 1.08
Photon Flux (Free Index): 3.02e-08 +/- 3.25e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/47447/cmap_HighResolution_379296001_379555201_4FGL_J1353.3+1434_daily_bin540.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.97e-03', comment='SUCCESS', photon_flux='2.87e-08', energy_flux2='1.08e-05', photon_flux_error='2.63e-08', dlogl='3.60e-03', energy_flux='1.18e-05', photon_flux2='3.02e-08', job_status='DONE', time_completed='2021-09-08 17:15:41.207417', photon_index_error2='1.08', photon_index2='2.34', ts='1.88', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='9.11e-08', energy_flux_error2='1.49e-05', EG='1.14', time_epoch_completed='1631146541.21', return_code='0', job_id='47447', GAL2='0.97', EG2='1.14', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='3.25e-08', ts2='1.88', photon_index='2.25' WHERE bin_id='540' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:15:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 47447: <4FGL_J1353.3+1434_daily_bin540> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin540 208.335 14.5755 379296001 379555201 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 :                                   515.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             330.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   536 sec.
    Turnaround time :                            604 sec.

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

