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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1470
RA = 208.335, Dec = 14.5755
tmin = 620352001, tmax = 620611201
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='51931', job_status='RUN', time_executed='2021-09-08 17:24:13.170347', time_epoch_executed='1631147053.17' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1470'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51931

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51931/ft1_4FGL_J1353.3+1434_daily_bin1470.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51931/ft2_4FGL_J1353.3+1434_daily_bin1470.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51931/ft1_4FGL_J1353.3+1434_daily_bin1470.fits outfile=/scratch/kocevski/51931/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1470.fits ra=208.335 dec=14.5755 rad=12.0 tmin=620352001.0 tmax=620611201.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.94
user 4.70
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51931/ft1_filtered_4FGL_J1353.3+1434_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/51931/ft2_4FGL_J1353.3+1434_daily_bin1470.fits sctable="SC_DATA" expcube=/scratch/kocevski/51931/ltcube_620352001_620611201_4FGL_J1353.3+1434_daily_bin1470.fits outfile=/scratch/kocevski/51931/expmap_620352001_620611201_4FGL_J1353.3+1434_daily_bin1470.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/51931/ltcube_620352001_620611201_4FGL_J1353.3+1434_daily_bin1470.fits
.....................!
real 190.36
user 185.45
sys 4.52

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/51931/ft1_filtered_4FGL_J1353.3+1434_daily_bin1470.fits scfile=/scratch/kocevski/51931/ft2_4FGL_J1353.3+1434_daily_bin1470.fits outfile=/scratch/kocevski/51931/cmap_620352001_620611201_4FGL_J1353.3+1434_daily_bin1470.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51931/ft1_filtered_4FGL_J1353.3+1434_daily_bin1470.fits scfile=/scratch/kocevski/51931/ft2_4FGL_J1353.3+1434_daily_bin1470.fits outfile=/scratch/kocevski/51931/cmap_HighResolution_620352001_620611201_4FGL_J1353.3+1434_daily_bin1470.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.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.497       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4083       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.1131       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.217       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5866       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.7655       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.424       1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.800       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11641E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .42966E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.1773       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3241       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96219       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=   5666.088     FROM MIGRAD    STATUS=CONVERGED    312 CALLS     1471 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.498        8.7330       -.52633E-06   -.21685E-04
   2  Prefactor     4.4196        17.254       -.74245E-05   -.71514E-04
   3  Prefactor     .10000E-03    16.118        .28803E-07** at limit **
   4  norm          7.1133        8.0976       -.10249E-05   -.87994E-04
   5  Prefactor     39.243        52.761        .29939E-04    .11965E-04
   6  Prefactor     .10000E-03    3.8003        .54746E-07** at limit **
   7  Prefactor     .10000E-03    4.7090       -.44417E-06** at limit **
   8  Prefactor     6.5978        16.151       -.11766E-04   -.55288E-04
   9  Prefactor     8.7661        10.332        .29218E-06   -.32857E-04
  10  Prefactor     18.498        24.159        .17381E-05    .57319E-05
  11  Prefactor     36.814        27.981        .51532E-05    .14230E-05
  12  Prefactor     .10000E-03    4.9184        .42805E-07** at limit **
  13  Prefactor     .10003E-03    2.9985       -.33551E-06** at limit **
  14  norm          5.1777        3.2077       -.29766E-07   -.50184E-04
  15  Normalizat    1.3240        .21843        .71637E-06    .55090E-04
  16  Prefactor     .96205        .17334       -.72221E-06    .13786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.4981
  Prefactor  = 4.4196
  Prefactor  = 0.0001
  norm       = 7.11328
  Prefactor  = 39.2425
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.59778
  Prefactor  = 8.76615
  Prefactor  = 18.4984
  Prefactor  = 36.8139
  Prefactor  = 0.0001
  Prefactor  = 0.000100029
  norm       = 5.17769
  Normalizat = 1.32398
  Prefactor  = 0.962049
 **********
 **   18 **HESSE 
 **********

 FCN=   5666.088     FROM HESSE     STATUS=OK           209 CALLS     1680 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.498        8.7394        .10174E-03   -1.4920    
   2  Prefactor     4.4196        17.296        .19181E-03   -1.5287    
   3  Prefactor     .10000E-03    16.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.1133        8.0938        .15041E-03   -1.5174    
   5  Prefactor     39.243        52.660        .64005E-04   -1.4454    
   6  Prefactor     .10000E-03    3.8758        .14319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.8209        .15946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.5978        16.218        .15636E-03   -1.5194    
   9  Prefactor     8.7661        10.335        .13539E-03   -1.5116    
  10  Prefactor     18.498        24.100        .93312E-04   -1.4848    
  11  Prefactor     36.814        27.960        .66066E-04   -1.4494    
  12  Prefactor     .10000E-03    13.254        .31909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    31.356        .24846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1777        3.2027        .10253E-03   -1.5253    
  15  Normalizat    1.3240        .26489        .25646E-03   -.82853    
  16  Prefactor     .96205        .20853        .23834E-03   -.94005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00812e-09
Minuit parameter uncertainties:
  1  8.74015
  2  17.3155
  3  1.04796e-05
  4  8.09506
  5  52.7223
  6  1.46504e-05
  7  3.04482e-05
  8  16.2285
  9  10.3369
  10  24.1129
  11  27.9704
  12  1.89706e-05
  13  0.00191237
  14  3.20283
  15  0.265161
  16  0.2087
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  6.598e+00  1.623e+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.620e-01  2.087e-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.324e+00  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/51931/likelihoodResults_620352001_620611201_4FGL_J1353.3+1434_daily_bin1470.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) = 5665.30081356
delta logL = 0.787407878798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5665.27120546
delta logL = 0.817015981687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0318       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6557       1.0000          .0000       10.000    
     3 'Normalizat'    1.2377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0004       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=   5665.271     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      262 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0126        31.923        .72553E-02   -.87570E-03
   2  Index         3.6598        2.8992        .94209E-01   -.41003E-04
   3  Normalizat    1.2378        .64911E-01    .59629E-01   -.31438E-03
   4  Prefactor     1.0002        .51499E-01    .45772E-01   -.38832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.01265
  Index      = 3.65977
  Normalizat = 1.23775
  Prefactor  = 1.00016
 **********
 **   18 **HESSE 
 **********

 FCN=   5665.271     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      291 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0126        59.809        .81074E-04   -1.5424    
   2  Index         3.6598        6.7581        .46251E-02   -.27136    
   3  Normalizat    1.2378        .25495        .26372E-03   -.85444    
   4  Prefactor     1.0002        .20396        .23410E-03   -.92724    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34876e-09
Minuit parameter uncertainties:
  1  21.9667
  2  5.10231
  3  0.25521
  4  0.204117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51931': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5665.27119743
delta logL = 0.817024013088

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  2.013e+00  2.197e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  3.660e+00  5.102e+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.000e+00  2.041e-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.238e+00  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 208.335 14.575
Photon Index (Free Index): 3.66 +/- 5.10
Photon Flux (Free Index): 8.61e-08 +/- 7.20e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.71e-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/51931/cmap_HighResolution_620352001_620611201_4FGL_J1353.3+1434_daily_bin1470.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.69e-03', comment='SUCCESS', energy_flux2='1.38e-05', dlogl='8.17e-01', photon_flux2='8.61e-08', job_status='DONE', time_completed='2021-09-08 17:32:21.060454', photon_index_error2='5.10', photon_index2='3.66', ts='0.20', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.71e-05', EG='1.32', time_epoch_completed='1631147541.06', return_code='0', job_id='51931', GAL2='1.00', EG2='1.24', return_code2='102', photon_flux_error2='7.20e-08', ts2='1.92', photon_index='2.25' WHERE bin_id='1470' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:32:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 51931: <4FGL_J1353.3+1434_daily_bin1470> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1470> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:20:22 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:20: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:20:23 2021
Terminated at Wed Sep  8 17:32:21 2021
Results reported at Wed Sep  8 17:32:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1470 208.335 14.5755 620352001 620611201 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 :                                   481.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            719 sec.

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

