/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 6 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 = 7494
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1353.3+1434_daily_bin38
RA = 208.335, Dec = 14.5755
tmin = 249177601, tmax = 249436801
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='44517', job_status='RUN', time_executed='2021-09-08 16:56:04.278916', time_epoch_executed='1631145364.28' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='38'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/44517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/44517/ft1_4FGL_J1353.3+1434_daily_bin38.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/44517/ft2_4FGL_J1353.3+1434_daily_bin38.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/44517/ft1_4FGL_J1353.3+1434_daily_bin38.fits outfile=/scratch/kocevski/44517/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin38.fits ra=208.335 dec=14.5755 rad=12.0 tmin=249177601.0 tmax=249436801.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 1.46
user 1.27
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/44517/ft1_filtered_4FGL_J1353.3+1434_daily_bin38.fits evtable="EVENTS" scfile=/scratch/kocevski/44517/ft2_4FGL_J1353.3+1434_daily_bin38.fits sctable="SC_DATA" expcube=/scratch/kocevski/44517/ltcube_249177601_249436801_4FGL_J1353.3+1434_daily_bin38.fits outfile=/scratch/kocevski/44517/expmap_249177601_249436801_4FGL_J1353.3+1434_daily_bin38.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/44517/ltcube_249177601_249436801_4FGL_J1353.3+1434_daily_bin38.fits
.....................!
real 193.16
user 186.78
sys 5.79

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/44517/ft1_filtered_4FGL_J1353.3+1434_daily_bin38.fits scfile=/scratch/kocevski/44517/ft2_4FGL_J1353.3+1434_daily_bin38.fits outfile=/scratch/kocevski/44517/cmap_249177601_249436801_4FGL_J1353.3+1434_daily_bin38.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/44517/ft1_filtered_4FGL_J1353.3+1434_daily_bin38.fits scfile=/scratch/kocevski/44517/ft2_4FGL_J1353.3+1434_daily_bin38.fits outfile=/scratch/kocevski/44517/cmap_HighResolution_249177601_249436801_4FGL_J1353.3+1434_daily_bin38.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/44517/ft1_filtered_4FGL_J1353.3+1434_daily_bin38.fits evtable="EVENTS" scfile=/scratch/kocevski/44517/ft2_4FGL_J1353.3+1434_daily_bin38.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/44517/Model_4FGL_J1353.3+1434_daily_bin38.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/44517/ft1_filtered_4FGL_J1353.3+1434_daily_bin38.fits.....................!
real 45.25
user 43.78
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8878       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.946       1.0000         .10000E-03   10000.    
     4 'norm      '    7.8449       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3851       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.934       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0359       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.240       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.7026       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .86019       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0585       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=   5495.781     FROM MIGRAD    STATUS=CONVERGED    293 CALLS     1433 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5636       -.25505E-07** at limit **
   2  Prefactor     8.8889        9.0411       -.17379E-05   -.36418E-04
   3  Prefactor     21.950        37.748        .55520E-05   -.22276E-05
   4  norm          7.8455        6.2057        .19377E-05   -.52911E-04
   5  Prefactor     .10000E-03    12.033       -.26715E-07** at limit **
   6  Prefactor     .10000E-03    2.2880       -.18903E-08** at limit **
   7  Prefactor     3.3852        2.9843        .36289E-06    .85505E-04
   8  Prefactor     14.936        12.916       -.30374E-05   -.14683E-04
   9  Prefactor     6.0370        10.115       -.22798E-05   -.10646E-03
  10  Prefactor     14.239        22.918       -.11667E-06   -.92932E-05
  11  Prefactor     .10000E-03    82.569       -.51996E-06** at limit **
  12  Prefactor     .10000E-03    3.0440       -.35409E-07** at limit **
  13  Prefactor     .10000E-03    3.4256        .88289E-08** at limit **
  14  norm          1.7028        2.3445       -.97690E-07   -.29753E-03
  15  Normalizat    .86005        .19682        .76642E-06   -.21854E-04
  16  Prefactor     1.0586        .15696       -.19212E-06    .40528E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.88886
  Prefactor  = 21.9501
  norm       = 7.84552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.38516
  Prefactor  = 14.9361
  Prefactor  = 6.03696
  Prefactor  = 14.2394
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.70283
  Normalizat = 0.860053
  Prefactor  = 1.05858
 **********
 **   18 **HESSE 
 **********

 FCN=   5495.781     FROM HESSE     STATUS=OK           205 CALLS     1638 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5652        .90530E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.8889        9.0614        .13445E-03   -1.5112    
   3  Prefactor     21.950        37.673        .85502E-04   -1.4771    
   4  norm          7.8455        6.1762        .14316E-03   -1.5148    
   5  Prefactor     .10000E-03    12.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.3173        .10943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3852        2.9903        .11711E-03   -1.5340    
   8  Prefactor     14.936        12.917        .10364E-03   -1.4935    
   9  Prefactor     6.0370        10.219        .16343E-03   -1.5217    
  10  Prefactor     14.239        22.922        .10614E-03   -1.4953    
  11  Prefactor     .10000E-03    84.644        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.0599        .12629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.4743        .13394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7028        2.3287        .12920E-03   -1.5447    
  15  Normalizat    .86005        .23285        .26782E-03   -.97878    
  16  Prefactor     1.0586        .18614        .19993E-03   -.90802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76657e-11
Minuit parameter uncertainties:
  1  4.10207e-06
  2  9.06282
  3  37.7141
  4  6.17667
  5  6.85659e-08
  6  8.28021e-08
  7  2.99043
  8  12.9197
  9  10.2219
  10  22.9363
  11  6.06873e-05
  12  1.84227e-07
  13  5.388e-07
  14  2.32878
  15  0.233124
  16  0.186253
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.494e+01  1.292e+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:  1.059e+00  1.863e-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:  8.601e-01  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.66
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 3.72e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.32e-05

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

Saving results to:
/scratch/kocevski/44517/likelihoodResults_249177601_249436801_4FGL_J1353.3+1434_daily_bin38.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) = 5495.77709385
delta logL = 0.0035842571906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5495.77156366
delta logL = 0.00911444341364

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.746       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4945       1.0000          .0000       10.000    
     3 'Normalizat'    .84260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0670       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=   5495.772     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      272 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.717        294.35        .11220E-03    .83493E-04
   2  Index         2.4978        5.3434        .80637E-02    .32340E-04
   3  Normalizat    .84231        .69259        .27029E-03   -.16825E-06
   4  Prefactor     1.0672        .38363        .19921E-03    .51362E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7173
  Index      = 2.49775
  Normalizat = 0.842314
  Prefactor  = 1.06718
 **********
 **   18 **HESSE 
 **********

 FCN=   5495.772     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.717        23.776        .44879E-05   -1.4995    
   2  Index         2.4978        1.8193        .32255E-03   -.52412    
   3  Normalizat    .84231        .26416        .10811E-04   -.98518    
   4  Prefactor     1.0672        .19821        .79685E-05   -.90523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83181e-12
Minuit parameter uncertainties:
  1  23.7935
  2  1.87768
  3  0.264561
  4  0.198348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/44517': 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) = 5495.77156178
delta logL = 0.00911631964664

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.272e+01  2.379e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.498e+00  1.878e+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:  1.067e+00  1.983e-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:  8.423e-01  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.69
Ra Dec: 208.335 14.575
Photon Index (Free Index): 2.50 +/- 1.88
Photon Flux (Free Index): 4.97e-08 +/- 9.96e-08
Energy Flux (Free Index): 1.45e-05 +/- 1.20e-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/44517/cmap_HighResolution_249177601_249436801_4FGL_J1353.3+1434_daily_bin38.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.55e-03', comment='SUCCESS', photon_flux='3.72e-08', energy_flux2='1.45e-05', photon_flux_error='3.21e-08', dlogl='9.12e-03', energy_flux='1.53e-05', photon_flux2='4.97e-08', job_status='DONE', time_completed='2021-09-08 17:03:56.686726', photon_index_error2='1.88', photon_index2='2.50', ts='2.66', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.20e-05', EG='0.86', time_epoch_completed='1631145836.69', return_code='0', job_id='44517', GAL2='1.07', EG2='0.84', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='9.96e-08', ts2='2.69', photon_index='2.25' WHERE bin_id='38' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:03:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 44517: <4FGL_J1353.3+1434_daily_bin38> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin38> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 16:55:47 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 16:55:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 16:55:49 2021
Terminated at Wed Sep  8 17:03:57 2021
Results reported at Wed Sep  8 17:03:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin38 208.335 14.5755 249177601 249436801 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 :                                   470.61 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             397.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   487 sec.
    Turnaround time :                            490 sec.

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

