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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1314
RA = 208.335, Dec = 14.5755
tmin = 579916801, tmax = 580176001
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='50638', job_status='RUN', time_executed='2021-09-08 17:19:52.015734', time_epoch_executed='1631146792.02' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1314'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50638

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50638/ft1_4FGL_J1353.3+1434_daily_bin1314.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50638/ft2_4FGL_J1353.3+1434_daily_bin1314.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50638/ft1_4FGL_J1353.3+1434_daily_bin1314.fits outfile=/scratch/kocevski/50638/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1314.fits ra=208.335 dec=14.5755 rad=12.0 tmin=579916801.0 tmax=580176001.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.48
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/50638/ft1_filtered_4FGL_J1353.3+1434_daily_bin1314.fits" evtable="EVENTS" scfile=/scratch/kocevski/50638/ft2_4FGL_J1353.3+1434_daily_bin1314.fits sctable="SC_DATA" outfile=/scratch/kocevski/50638/ltcube_579916801_580176001_4FGL_J1353.3+1434_daily_bin1314.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/50638/ft2_4FGL_J1353.3+1434_daily_bin1314.fits
.....................!
real 14.93
user 14.60
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50638/ft1_filtered_4FGL_J1353.3+1434_daily_bin1314.fits evtable="EVENTS" scfile=/scratch/kocevski/50638/ft2_4FGL_J1353.3+1434_daily_bin1314.fits sctable="SC_DATA" expcube=/scratch/kocevski/50638/ltcube_579916801_580176001_4FGL_J1353.3+1434_daily_bin1314.fits outfile=/scratch/kocevski/50638/expmap_579916801_580176001_4FGL_J1353.3+1434_daily_bin1314.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/50638/ltcube_579916801_580176001_4FGL_J1353.3+1434_daily_bin1314.fits
.....................!
real 192.52
user 186.56
sys 5.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/50638/ft1_filtered_4FGL_J1353.3+1434_daily_bin1314.fits scfile=/scratch/kocevski/50638/ft2_4FGL_J1353.3+1434_daily_bin1314.fits outfile=/scratch/kocevski/50638/cmap_579916801_580176001_4FGL_J1353.3+1434_daily_bin1314.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.58
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/50638/ft1_filtered_4FGL_J1353.3+1434_daily_bin1314.fits scfile=/scratch/kocevski/50638/ft2_4FGL_J1353.3+1434_daily_bin1314.fits outfile=/scratch/kocevski/50638/cmap_HighResolution_579916801_580176001_4FGL_J1353.3+1434_daily_bin1314.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    17.780       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10569E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.465       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10699E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3664       1.0000         .10000E-03   10000.    
    10 'Prefactor '    70.181       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4705       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1603       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=   6336.620     FROM MIGRAD    STATUS=CONVERGED    309 CALLS     1247 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.6045       -.23736E-06** at limit **
   2  Prefactor     17.862        10.949       -.21349E-06   -.14916E-04
   3  Prefactor     .10000E-03    29.309        .27889E-05** at limit **
   4  norm          .10000E-03    4.6272       -.98806E-07** at limit **
   5  Prefactor     33.524        35.054        .94172E-05   -.33688E-05
   6  Prefactor     .10000E-03    1.2351        .12981E-06** at limit **
   7  Prefactor     .10000E-03    1.4209        .30710E-08** at limit **
   8  Prefactor     .10000E-03    10.683       -.24289E-06** at limit **
   9  Prefactor     5.4099        11.616        .50540E-05   -.11687E-03
  10  Prefactor     70.251        31.913       -.30902E-05   -.10702E-04
  11  Prefactor     5.4599        37.882        .10859E-04   -.19984E-04
  12  Prefactor     .10000E-03    1.7848       -.15936E-06** at limit **
  13  Prefactor     .10000E-03    1.3972        .56156E-07** at limit **
  14  norm          .10000E-03    .73368        .70078E-07** at limit **
  15  Normalizat    1.1385        .20301       -.10359E-05   -.13237E-04
  16  Prefactor     1.1604        .16443       -.10750E-06   -.75868E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.8616
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.5239
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.4099
  Prefactor  = 70.2511
  Prefactor  = 5.45988
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.13852
  Prefactor  = 1.16035
 **********
 **   18 **HESSE 
 **********

 FCN=   6336.620     FROM HESSE     STATUS=OK           195 CALLS     1442 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.862        10.955        .94985E-04   -1.4862    
   3  Prefactor     .10000E-03    29.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.6509        .16717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.524        35.168        .69269E-04   -1.4549    
   6  Prefactor     .10000E-03    1.2420        .86385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.4258        .92662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4099        11.515        .17348E-03   -1.5243    
  10  Prefactor     70.251        31.984        .47917E-04   -1.4030    
  11  Prefactor     5.4599        37.605        .17179E-03   -1.5241    
  12  Prefactor     .10000E-03    1.7866        .10385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.4005        .91889E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .73727        .66586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1385        .24114        .27158E-03   -.88525    
  16  Prefactor     1.1604        .19536        .22204E-03   -.87560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72033e-11
Minuit parameter uncertainties:
  1  8.24783e-06
  2  10.9559
  3  3.21689e-06
  4  3.69229e-06
  5  35.1899
  6  9.11138e-08
  7  1.23138e-06
  8  6.93981e-06
  9  11.5197
  10  31.9919
  11  28.6836
  12  2.50707e-06
  13  1.60797e-06
  14  4.75627e-07
  15  0.241372
  16  0.195479
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  6.940e-06  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.160e+00  1.955e-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.139e+00  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/50638/likelihoodResults_579916801_580176001_4FGL_J1353.3+1434_daily_bin1314.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): 102
logL (Free Index) = 6336.62021239
delta logL = -0.0004425244706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6336.6197698
delta logL = 6.45031832391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2193       1.0000          .0000       10.000    
     3 'Normalizat'    1.1385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1604       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=   6336.620     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      244 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10109E-03    75.099        .18142E-02** at limit **
   2  Index         2.1674        8.8830        .50000        .16498E-04
   3  Normalizat    1.1385        .12547E-01    .27158E-03   -.19675E-05
   4  Prefactor     1.1604        .10399E-01    .22204E-03   -.11776E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010109
  Index      = 2.16745
  Normalizat = 1.13852
  Prefactor  = 1.16036
 **********
 **   18 **HESSE 
 **********

 FCN=   6336.620     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10109E-03    329.31        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1674        6.0826        .50000       -.60226    
   3  Normalizat    1.1385        .27023E-01    .10863E-04   -.88525    
   4  Prefactor     1.1604        .22396E-01    .88815E-05   -.87560    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.99864e-09
Minuit parameter uncertainties:
  1  0.0381002
  2  418.085
  3  0.0270233
  4  0.0223957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50638': 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) = 6336.61976952
delta logL = 3.49987203663e-07

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.011e-04  3.810e-02  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.167e+00  4.181e+02  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.160e+00  2.240e-02  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.139e+00  2.702e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 208.335 14.575

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/50638/cmap_HighResolution_579916801_580176001_4FGL_J1353.3+1434_daily_bin1314.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-03', job_status='DONE', photon_flux_upper_limit='7.11e-08', time_completed='2021-09-08 17:27:58.882921', job_id='50638', GAL2='1.16', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631147278.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1314' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:27:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 50638: <4FGL_J1353.3+1434_daily_bin1314> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1314> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:15:58 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:16:00 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:16:00 2021
Terminated at Wed Sep  8 17:27:59 2021
Results reported at Wed Sep  8 17:27:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1314 208.335 14.5755 579916801 580176001 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 :                                   484.02 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             259.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            721 sec.

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

