/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 82 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 = 7459
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1625
RA = 208.335, Dec = 14.5755
tmin = 660528001, tmax = 660787201
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='99713', job_status='RUN', time_executed='2021-12-10 00:16:45.621379', time_epoch_executed='1639124205.62' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99713

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99713/ft1_4FGL_J1353.3+1434_daily_bin1625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99713/ft2_4FGL_J1353.3+1434_daily_bin1625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99713/ft1_4FGL_J1353.3+1434_daily_bin1625.fits outfile=/scratch/kocevski/99713/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1625.fits ra=208.335 dec=14.5755 rad=12.0 tmin=660528001.0 tmax=660787201.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.55
user 3.30
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/99713/ft1_filtered_4FGL_J1353.3+1434_daily_bin1625.fits" evtable="EVENTS" scfile=/scratch/kocevski/99713/ft2_4FGL_J1353.3+1434_daily_bin1625.fits sctable="SC_DATA" outfile=/scratch/kocevski/99713/ltcube_660528001_660787201_4FGL_J1353.3+1434_daily_bin1625.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/99713/ft2_4FGL_J1353.3+1434_daily_bin1625.fits
.....................!
real 11.80
user 11.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99713/ft1_filtered_4FGL_J1353.3+1434_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/99713/ft2_4FGL_J1353.3+1434_daily_bin1625.fits sctable="SC_DATA" expcube=/scratch/kocevski/99713/ltcube_660528001_660787201_4FGL_J1353.3+1434_daily_bin1625.fits outfile=/scratch/kocevski/99713/expmap_660528001_660787201_4FGL_J1353.3+1434_daily_bin1625.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/99713/ltcube_660528001_660787201_4FGL_J1353.3+1434_daily_bin1625.fits
.....................!
real 190.30
user 184.39
sys 5.58

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/99713/ft1_filtered_4FGL_J1353.3+1434_daily_bin1625.fits scfile=/scratch/kocevski/99713/ft2_4FGL_J1353.3+1434_daily_bin1625.fits outfile=/scratch/kocevski/99713/cmap_660528001_660787201_4FGL_J1353.3+1434_daily_bin1625.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.52
user 0.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3563       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .75677E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.3302       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.650       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5705       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2860       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.8642       1.0000         .10000E-03   10000.    
    10 'Prefactor '    57.290       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.174       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.9165       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1889       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96097       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=   7058.154     FROM MIGRAD    STATUS=CONVERGED    299 CALLS     1490 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3521        6.7348       -.50306E-05   -.64975E-03
   2  Prefactor     .10001E-03    6.8120       -.49188E-06** at limit **
   3  Prefactor     .10000E-03    21.239        .16241E-05** at limit **
   4  norm          3.3321        6.4883        .55063E-05   -.49329E-03
   5  Prefactor     25.640        35.892       -.14047E-04    .23756E-03
   6  Prefactor     3.5704        3.0503       -.21352E-06    .69728E-04
   7  Prefactor     1.2851        3.8121       -.28942E-05   -.86635E-03
   8  Prefactor     .10000E-03    7.8552       -.20472E-06** at limit **
   9  Prefactor     6.8601        9.9161       -.88492E-06   -.83908E-04
  10  Prefactor     57.283        28.139       -.52962E-05    .32335E-03
  11  Prefactor     13.165        27.948       -.14662E-04    .18704E-03
  12  Prefactor     .10000E-03    3.0382       -.92403E-07** at limit **
  13  Prefactor     .10000E-03    2.0306        .24804E-07** at limit **
  14  norm          4.9158        3.3001       -.92120E-06    .11041E-04
  15  Normalizat    1.1891        .18382        .18393E-05    .16218E-03
  16  Prefactor     .96088        .14432        .16828E-05    .18447E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.35208
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 3.33211
  Prefactor  = 25.6404
  Prefactor  = 3.57037
  Prefactor  = 1.28513
  Prefactor  = 0.0001
  Prefactor  = 6.86009
  Prefactor  = 57.2826
  Prefactor  = 13.1654
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.91583
  Normalizat = 1.18913
  Prefactor  = 0.960877
 **********
 **   18 **HESSE 
 **********

 FCN=   7058.154     FROM HESSE     STATUS=OK           205 CALLS     1695 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3521        6.8109        .26700E-03   -1.5401    
   2  Prefactor     .10001E-03    43.808        .41925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.3321        6.3867        .22181E-03   -1.5343    
   5  Prefactor     25.640        35.515        .79096E-04   -1.4695    
   6  Prefactor     3.5704        3.0523        .13070E-03   -1.5330    
   7  Prefactor     1.2851        3.8801        .27768E-03   -1.5481    
   8  Prefactor     .10000E-03    7.8946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8601        9.9204        .15314E-03   -1.5184    
  10  Prefactor     57.283        28.045        .53001E-04   -1.4193    
  11  Prefactor     13.165        27.871        .11036E-03   -1.4982    
  12  Prefactor     .10000E-03    3.0868        .14298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.0408        .11689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9158        3.3022        .12078E-03   -1.5264    
  15  Normalizat    1.1891        .22051        .25681E-03   -.86939    
  16  Prefactor     .96088        .17378        .22527E-03   -.94045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55361e-09
Minuit parameter uncertainties:
  1  6.81311
  2  0.00114721
  3  9.55354e-05
  4  6.38804
  5  35.544
  6  3.05247
  7  3.88087
  8  1.50044e-05
  9  9.92273
  10  28.0516
  11  27.899
  12  7.34247e-06
  13  6.07065e-07
  14  3.30229
  15  0.220679
  16  0.173877
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.500e-05  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.609e-01  1.739e-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.189e+00  2.207e-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: 6.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/99713/likelihoodResults_660528001_660787201_4FGL_J1353.3+1434_daily_bin1625.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) = 7058.15416393
delta logL = -0.000603643081377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7058.153561
delta logL = -7.11634129402e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10906E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2326       1.0000          .0000       10.000    
     3 'Normalizat'    1.1890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96099       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=   7058.154     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      244 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10385E-03    3.6707        .18142E-01** at limit **
   2  Index         2.0203        8.9864        .50000        .89858E-05
   3  Normalizat    1.1891        .29100E-02    .25681E-03    .36257E-04
   4  Prefactor     .96088        .23348E-02    .22527E-03    .43654E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103854
  Index      = 2.02027
  Normalizat = 1.18913
  Prefactor  = 0.960877
 **********
 **   18 **HESSE 
 **********

 FCN=   7058.154     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10385E-03    419.59        .24340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0203        5.5621        .50000       -.63844    
   3  Normalizat    1.1891        .32807E-01    .10272E-04   -.86939    
   4  Prefactor     .96088        .26319E-01    .90108E-05   -.94045    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30399e-06
Minuit parameter uncertainties:
  1  0.0810025
  2  1519.85
  3  0.0328073
  4  0.026319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99713': 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) = 7058.15355976
delta logL = 5.24782080902e-07

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.039e-04  8.100e-02  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.020e+00  1.520e+03  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
483    Prefactor:  9.609e-01  2.632e-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.189e+00  3.281e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/99713/cmap_HighResolution_660528001_660787201_4FGL_J1353.3+1434_daily_bin1625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', job_status='DONE', photon_flux_upper_limit='6.40e-08', time_completed='2021-12-10 00:25:13.442143', job_id='99713', GAL2='0.96', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1639124713.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1625' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 10 00:25:13 PST 2021

------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 99712: <4FGL_J1353.3+1434_daily_bin1625> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1625> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 10 00:09:32 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 10 00:09:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 10 00:09:33 2021
Terminated at Fri Dec 10 00:23:59 2021
Results reported at Fri Dec 10 00:23:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1625 208.335 14.5755 660528001 660787201 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 :                                   513.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            867 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 99713: <4FGL_J1353.3+1434_daily_bin1625> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1625> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Dec 10 00:09:32 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 10 00:09:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 10 00:09:33 2021
Terminated at Fri Dec 10 00:25:14 2021
Results reported at Fri Dec 10 00:25:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1625 208.335 14.5755 660528001 660787201 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 :                                   510.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            942 sec.

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

