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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1060
RA = 208.335, Dec = 14.5755
tmin = 514080001, tmax = 514339201
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='50243', job_status='RUN', time_executed='2021-09-08 17:17:23.158217', time_epoch_executed='1631146643.16' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50243

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50243/ft1_4FGL_J1353.3+1434_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50243/ft2_4FGL_J1353.3+1434_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50243/ft1_4FGL_J1353.3+1434_daily_bin1060.fits outfile=/scratch/kocevski/50243/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1060.fits ra=208.335 dec=14.5755 rad=12.0 tmin=514080001.0 tmax=514339201.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.66
user 3.39
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/50243/ft1_filtered_4FGL_J1353.3+1434_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/50243/ft2_4FGL_J1353.3+1434_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/50243/ltcube_514080001_514339201_4FGL_J1353.3+1434_daily_bin1060.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/50243/ft2_4FGL_J1353.3+1434_daily_bin1060.fits
.....................!
real 13.70
user 13.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50243/ft1_filtered_4FGL_J1353.3+1434_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/50243/ft2_4FGL_J1353.3+1434_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/50243/ltcube_514080001_514339201_4FGL_J1353.3+1434_daily_bin1060.fits outfile=/scratch/kocevski/50243/expmap_514080001_514339201_4FGL_J1353.3+1434_daily_bin1060.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/50243/ltcube_514080001_514339201_4FGL_J1353.3+1434_daily_bin1060.fits
.....................!
real 191.52
user 185.84
sys 4.47

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/50243/ft1_filtered_4FGL_J1353.3+1434_daily_bin1060.fits scfile=/scratch/kocevski/50243/ft2_4FGL_J1353.3+1434_daily_bin1060.fits outfile=/scratch/kocevski/50243/cmap_514080001_514339201_4FGL_J1353.3+1434_daily_bin1060.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.39
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1186       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .67031       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .90462       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4216       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .27237E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.499       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.754       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2959       1.0000         .10000E-03   10000.    
    11 'Prefactor '    99.350       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.942       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20145E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.6618       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2135       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90129       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=   6455.618     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1498 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1181        6.8568       -.63861E-07    .13988E-05
   2  Prefactor     .66627        7.8404        .19185E-06   -.70491E-04
   3  Prefactor     .10000E-03    14.640        .56065E-06** at limit **
   4  norm          .90304        18.422        .10377E-05    .10212E-04
   5  Prefactor     6.3188        148.42        .92653E-05    .62378E-05
   6  Prefactor     .10003E-03    1.9765       -.40836E-06** at limit **
   7  Prefactor     .10000E-03    4.2073        .24528E-05** at limit **
   8  Prefactor     13.498        13.340        .43250E-06   -.87916E-05
   9  Prefactor     11.758        13.301        .50796E-06    .15880E-04
  10  Prefactor     6.2877        14.594        .29952E-06    .17562E-04
  11  Prefactor     99.332        38.119        .21063E-06    .22885E-04
  12  Prefactor     11.945        8.0403        .82607E-06    .21118E-03
  13  Prefactor     .10000E-03    4.1804       -.75693E-06** at limit **
  14  norm          8.6624        3.9773        .26541E-06    .18592E-03
  15  Normalizat    1.2137        .19746       -.91100E-06    .14158E-03
  16  Prefactor     .90119        .15124        .52624E-06    .76547E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.11813
  Prefactor  = 0.666268
  Prefactor  = 0.0001
  norm       = 0.903045
  Prefactor  = 6.31876
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 13.4977
  Prefactor  = 11.7585
  Prefactor  = 6.28769
  Prefactor  = 99.3318
  Prefactor  = 11.9451
  Prefactor  = 0.0001
  norm       = 8.66241
  Normalizat = 1.21368
  Prefactor  = 0.901185
 **********
 **   18 **HESSE 
 **********

 FCN=   6455.618     FROM HESSE     STATUS=OK           215 CALLS     1713 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1181        6.9553        .17771E-03   -1.5255    
   2  Prefactor     .66627        25.881        .42659E-02   -1.5545    
   3  Prefactor     .10000E-03    14.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .90304        18.969        .25649E-02   -1.5518    
   5  Prefactor     6.3188        149.21        .15838E-03   -1.5205    
   6  Prefactor     .10003E-03    22.915        .21151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1809        .15906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.498        13.313        .10902E-03   -1.4973    
   9  Prefactor     11.758        13.304        .11685E-03   -1.5022    
  10  Prefactor     6.2877        14.584        .15998E-03   -1.5206    
  11  Prefactor     99.332        38.120        .20166E-03   -1.3711    
  12  Prefactor     11.945        8.0613        .11592E-03   -1.5017    
  13  Prefactor     .10000E-03    9.8019        .30951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.6624        3.9807        .10489E-03   -1.5119    
  15  Normalizat    1.2137        .23076        .26358E-03   -.86181    
  16  Prefactor     .90119        .17777        .23456E-03   -.96100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1048e-08
Minuit parameter uncertainties:
  1  6.95636
  2  8.30827
  3  4.4531e-06
  4  8.28016
  5  61.5843
  6  0.00167535
  7  3.12872e-06
  8  13.3158
  9  13.3075
  10  14.5921
  11  38.1293
  12  8.06199
  13  0.000125888
  14  3.98084
  15  0.230958
  16  0.177888
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.350e+01  1.332e+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.012e-01  1.779e-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.214e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.60
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 3.36e-08 +/- 3.31e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/50243/likelihoodResults_514080001_514339201_4FGL_J1353.3+1434_daily_bin1060.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) = 6455.54535364
delta logL = 0.0723038083415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6455.54223195
delta logL = 0.0754254941294

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8342       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6400       1.0000          .0000       10.000    
     3 'Normalizat'    1.1939       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90984       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6455.542     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      318 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8172        20.424        .63891E-03   -.84130E-04
   2  Index         2.6432        1.4633        .80763E-02    .39371E-03
   3  Normalizat    1.1938        .23825        .26544E-03   -.10703E-03
   4  Prefactor     .91011        .18002        .23352E-03   -.12638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.81719
  Index      = 2.64324
  Normalizat = 1.19382
  Prefactor  = 0.910114
 **********
 **   18 **HESSE 
 **********

 FCN=   6455.542     FROM HESSE     STATUS=OK            25 CALLS      343 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8172        15.942        .25556E-04   -1.5081    
   2  Index         2.6432        1.1478        .16153E-02   -.49082    
   3  Normalizat    1.1938        .23365        .10618E-04   -.86794    
   4  Prefactor     .91011        .17810        .93408E-05   -.95789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97492e-11
Minuit parameter uncertainties:
  1  15.9485
  2  1.16113
  3  0.233859
  4  0.178213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50243': 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) = 6455.54222016
delta logL = 0.0754372868059

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  9.817e+00  1.595e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.643e+00  1.161e+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.101e-01  1.782e-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.194e+00  2.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.74
Ra Dec: 208.335 14.575
Photon Index (Free Index): 2.64 +/- 1.16
Photon Flux (Free Index): 5.07e-08 +/- 6.60e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.19e-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/50243/cmap_HighResolution_514080001_514339201_4FGL_J1353.3+1434_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.54e-03', comment='SUCCESS', photon_flux='3.36e-08', energy_flux2='1.28e-05', photon_flux_error='3.31e-08', dlogl='7.54e-02', energy_flux='1.38e-05', photon_flux2='5.07e-08', job_status='DONE', time_completed='2021-09-08 17:25:52.949463', photon_index_error2='1.16', photon_index2='2.64', ts='1.60', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.19e-05', EG='1.21', time_epoch_completed='1631147152.95', return_code='0', job_id='50243', GAL2='0.91', EG2='1.19', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='6.60e-08', ts2='1.74', photon_index='2.25' WHERE bin_id='1060' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:25:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 50243: <4FGL_J1353.3+1434_daily_bin1060> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1060> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:15:22 2021
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:15:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 17:15:23 2021
Terminated at Wed Sep  8 17:25:53 2021
Results reported at Wed Sep  8 17:25:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1060 208.335 14.5755 514080001 514339201 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 :                                   505.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             302.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            631 sec.

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

