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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1027
RA = 208.335, Dec = 14.5755
tmin = 505526401, tmax = 505785601
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='50192', job_status='RUN', time_executed='2021-09-08 17:15:28.159865', time_epoch_executed='1631146528.16' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1027'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50192

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50192/ft1_4FGL_J1353.3+1434_daily_bin1027.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50192/ft2_4FGL_J1353.3+1434_daily_bin1027.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50192/ft1_4FGL_J1353.3+1434_daily_bin1027.fits outfile=/scratch/kocevski/50192/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1027.fits ra=208.335 dec=14.5755 rad=12.0 tmin=505526401.0 tmax=505785601.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.56
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/50192/ft1_filtered_4FGL_J1353.3+1434_daily_bin1027.fits" evtable="EVENTS" scfile=/scratch/kocevski/50192/ft2_4FGL_J1353.3+1434_daily_bin1027.fits sctable="SC_DATA" outfile=/scratch/kocevski/50192/ltcube_505526401_505785601_4FGL_J1353.3+1434_daily_bin1027.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/50192/ft2_4FGL_J1353.3+1434_daily_bin1027.fits
.....................!
real 16.02
user 15.44
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50192/ft1_filtered_4FGL_J1353.3+1434_daily_bin1027.fits evtable="EVENTS" scfile=/scratch/kocevski/50192/ft2_4FGL_J1353.3+1434_daily_bin1027.fits sctable="SC_DATA" expcube=/scratch/kocevski/50192/ltcube_505526401_505785601_4FGL_J1353.3+1434_daily_bin1027.fits outfile=/scratch/kocevski/50192/expmap_505526401_505785601_4FGL_J1353.3+1434_daily_bin1027.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/50192/ltcube_505526401_505785601_4FGL_J1353.3+1434_daily_bin1027.fits
.....................!
real 193.73
user 188.19
sys 4.77

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/50192/ft1_filtered_4FGL_J1353.3+1434_daily_bin1027.fits scfile=/scratch/kocevski/50192/ft2_4FGL_J1353.3+1434_daily_bin1027.fits outfile=/scratch/kocevski/50192/cmap_505526401_505785601_4FGL_J1353.3+1434_daily_bin1027.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/50192/ft1_filtered_4FGL_J1353.3+1434_daily_bin1027.fits scfile=/scratch/kocevski/50192/ft2_4FGL_J1353.3+1434_daily_bin1027.fits outfile=/scratch/kocevski/50192/cmap_HighResolution_505526401_505785601_4FGL_J1353.3+1434_daily_bin1027.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.58
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.461       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   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 '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13864E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7092       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.3247       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5163       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .73449       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=   5914.487     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1247 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.461        7.3648        .22253E-07   -.83227E-04
   2  Prefactor     .10000E-03    10.735       -.12396E-04** at limit **
   3  Prefactor     .10000E-03    9.8377        .50619E-05** at limit **
   4  norm          .10000E-03    3.3176       -.91872E-08** at limit **
   5  Prefactor     .10000E-03    35.085        .14605E-04** at limit **
   6  Prefactor     .10000E-03    4.4281       -.10242E-05** at limit **
   7  Prefactor     .10000E-03    2.6819        .18754E-07** at limit **
   8  Prefactor     .10000E-03    12.199        .94907E-05** at limit **
   9  Prefactor     1.2192        8.3346        .57909E-06   -.73878E-03
  10  Prefactor     .10000E-03    22.993       -.89986E-05** at limit **
  11  Prefactor     .10000E-03    62.045       -.10772E-04** at limit **
  12  Prefactor     1.7093        3.7017        .38663E-06   -.12365E-02
  13  Prefactor     .10000E-03    4.4348        .10392E-05** at limit **
  14  norm          9.3250        3.5464       -.27255E-07   -.32974E-04
  15  Normalizat    1.5162        .20035       -.26966E-07    .89837E-04
  16  Prefactor     .73444        .15610       -.20265E-06    .10039E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.4614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.21916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.70927
  Prefactor  = 0.0001
  norm       = 9.32505
  Normalizat = 1.51624
  Prefactor  = 0.734441
 **********
 **   18 **HESSE 
 **********

 FCN=   5914.487     FROM HESSE     STATUS=OK           195 CALLS     1442 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.461        7.3844        .54587E-03   -1.4974    
   2  Prefactor     .10000E-03    10.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.8473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.3266        .13670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    35.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.5337        .31571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.7149        .12297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.2192        33.275        .20447E-02   -1.5487    
  10  Prefactor     .10000E-03    23.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    63.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7093        4.0369        .11640E-02   -1.5446    
  13  Prefactor     .10000E-03    4.5186        .15804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.3250        3.5474        .86740E-04   -1.5097    
  15  Normalizat    1.5162        .24447        .23238E-03   -.77323    
  16  Prefactor     .73444        .18780        .25039E-03   -1.0219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75487e-09
Minuit parameter uncertainties:
  1  7.38485
  2  2.77592e-06
  3  1.54255e-05
  4  4.74391e-08
  5  7.33066e-05
  6  5.51785e-06
  7  9.05922e-07
  8  5.17688e-06
  9  12.7458
  10  2.90803e-05
  11  0.000122156
  12  4.03752
  13  2.08431e-06
  14  3.54743
  15  0.244656
  16  0.18796
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  5.177e-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:  7.344e-01  1.880e-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.516e+00  2.447e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/50192/likelihoodResults_505526401_505785601_4FGL_J1353.3+1434_daily_bin1027.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) = 5914.48752149
delta logL = -0.000387436916753

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5914.48713542
delta logL = -1.36660582939e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2591       1.0000          .0000       10.000    
     3 'Normalizat'    1.5159       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73474       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=   5914.487     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      240 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1210.2        .90712E-02** at limit **
   2  Index         2.2750        8.7611        .50000       -.11072E-04
   3  Normalizat    1.5162        .57757E-01    .52560E-01    .28112E-04
   4  Prefactor     .73444        .45371E-01    .42862E-01    .42629E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27501
  Normalizat = 1.51624
  Prefactor  = 0.734441
 **********
 **   18 **HESSE 
 **********

 FCN=   5914.487     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6172.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2750        5.4356        .50000       -.57639    
   3  Normalizat    1.5162        .11678        .23238E-03   -.77323    
   4  Prefactor     .73444        .91751E-01    .25039E-03   -1.0219    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49682e-08
Minuit parameter uncertainties:
  1  0.00091256
  2  60.0694
  3  0.116802
  4  0.0917702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50192': 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) = 5914.48713399
delta logL = 6.7193468567e-08

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  9.126e-04  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.275e+00  6.007e+01  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:  7.344e-01  9.177e-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.516e+00  1.168e-01  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/50192/cmap_HighResolution_505526401_505785601_4FGL_J1353.3+1434_daily_bin1027.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.51e-08', time_completed='2021-09-08 17:23:24.303130', job_id='50192', GAL2='0.73', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1631147004.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='6.72e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1027' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:23:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 50192: <4FGL_J1353.3+1434_daily_bin1027> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1027> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:15:18 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:15:19 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:19 2021
Terminated at Wed Sep  8 17:23:25 2021
Results reported at Wed Sep  8 17:23:25 2021

Your job looked like:

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

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

