/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 3 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 = 7589
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1353.3+1434_daily_bin437
RA = 208.335, Dec = 14.5755
tmin = 352598401, tmax = 352857601
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='47292', job_status='RUN', time_executed='2021-09-08 17:06:12.538726', time_epoch_executed='1631145972.54' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47292

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47292/ft1_4FGL_J1353.3+1434_daily_bin437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47292/ft2_4FGL_J1353.3+1434_daily_bin437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/47292/ft1_4FGL_J1353.3+1434_daily_bin437.fits outfile=/scratch/kocevski/47292/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin437.fits ra=208.335 dec=14.5755 rad=12.0 tmin=352598401.0 tmax=352857601.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.22
user 3.97
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47292/ft1_filtered_4FGL_J1353.3+1434_daily_bin437.fits evtable="EVENTS" scfile=/scratch/kocevski/47292/ft2_4FGL_J1353.3+1434_daily_bin437.fits sctable="SC_DATA" expcube=/scratch/kocevski/47292/ltcube_352598401_352857601_4FGL_J1353.3+1434_daily_bin437.fits outfile=/scratch/kocevski/47292/expmap_352598401_352857601_4FGL_J1353.3+1434_daily_bin437.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/47292/ltcube_352598401_352857601_4FGL_J1353.3+1434_daily_bin437.fits
.....................!
real 193.43
user 187.59
sys 5.33

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/47292/ft1_filtered_4FGL_J1353.3+1434_daily_bin437.fits scfile=/scratch/kocevski/47292/ft2_4FGL_J1353.3+1434_daily_bin437.fits outfile=/scratch/kocevski/47292/cmap_352598401_352857601_4FGL_J1353.3+1434_daily_bin437.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.59
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/47292/ft1_filtered_4FGL_J1353.3+1434_daily_bin437.fits scfile=/scratch/kocevski/47292/ft2_4FGL_J1353.3+1434_daily_bin437.fits outfile=/scratch/kocevski/47292/cmap_HighResolution_352598401_352857601_4FGL_J1353.3+1434_daily_bin437.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=208.335 yref=14.5755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2808       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14165E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17120E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.230       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1872       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5318       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1682       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11365E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .42811E-03   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      '    .35884E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1413       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .99659       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=   6790.288     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1491 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2975        5.1421       -.76508E-06   -.62805E-03
   2  Prefactor     .10000E-03    15.563        .56417E-06** at limit **
   3  Prefactor     .10000E-03    39.076        .11742E-05** at limit **
   4  norm          .10000E-03    5.8572       -.40236E-07** at limit **
   5  Prefactor     27.253        38.459        .29479E-04   -.24831E-05
   6  Prefactor     2.1876        3.6302        .15713E-06   -.72123E-03
   7  Prefactor     4.5324        3.2723       -.11859E-05   -.85989E-04
   8  Prefactor     .10000E-03    3.2373        .46487E-08** at limit **
   9  Prefactor     3.1623        9.0169       -.35060E-06   -.21649E-03
  10  Prefactor     .10000E-03    24.054       -.11578E-05** at limit **
  11  Prefactor     .10000E-03    9.8439        .26304E-06** at limit **
  12  Prefactor     .10000E-03    2.0628        .12305E-06** at limit **
  13  Prefactor     .10000E-03    1.7753        .19881E-06** at limit **
  14  norm          .10000E-03    1.3600        .15757E-06** at limit **
  15  Normalizat    1.1413        .18029       -.12410E-07   -.82387E-04
  16  Prefactor     .99656        .14037       -.11065E-05    .23429E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.29749
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.2528
  Prefactor  = 2.18761
  Prefactor  = 4.53237
  Prefactor  = 0.0001
  Prefactor  = 3.1623
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.14131
  Prefactor  = 0.996563
 **********
 **   18 **HESSE 
 **********

 FCN=   6790.288     FROM HESSE     STATUS=OK           201 CALLS     1692 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2975        5.1404        .27159E-03   -1.5405    
   2  Prefactor     .10000E-03    15.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    39.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.9157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.253        38.275        .76771E-04   -1.4663    
   6  Prefactor     2.1876        3.6167        .19229E-03   -1.5412    
   7  Prefactor     4.5324        3.2716        .12317E-03   -1.5282    
   8  Prefactor     .10000E-03    3.2401        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1623        9.0212        .22769E-03   -1.5352    
  10  Prefactor     .10000E-03    24.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.8806        .21232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.0665        .11557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.7804        .10721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.9547        .18606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1413        .21786        .25782E-03   -.88436    
  16  Prefactor     .99656        .16932        .21581E-03   -.92844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07274e-10
Minuit parameter uncertainties:
  1  5.14139
  2  4.44965e-05
  3  4.49124e-05
  4  1.85706e-05
  5  38.3092
  6  3.6171
  7  3.27173
  8  1.88773e-06
  9  9.02509
  10  3.11037e-05
  11  7.2031e-06
  12  2.03581e-06
  13  1.88026e-06
  14  1.14291e-05
  15  0.218034
  16  0.169407
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.888e-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:  9.966e-01  1.694e-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.141e+00  2.180e-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: 4.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/47292/likelihoodResults_352598401_352857601_4FGL_J1353.3+1434_daily_bin437.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) = 6790.2889816
delta logL = -0.00146114182189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6790.28752038
delta logL = 8.25539245852e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2345       1.0000          .0000       10.000    
     3 'Normalizat'    1.1413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99654       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6790.288     FROM MIGRAD    STATUS=FAILED        89 CALLS      240 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10194E-03    66.998        .14609E-02** at limit **
   2  Index         2.1466        5.5816        .50000        .31090E-04
   3  Normalizat    1.1413        .20439E-01    .25782E-03   -.51591E-05
   4  Prefactor     .99656        .16195E-01    .21581E-03   -.67428E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6790.288     FROM SIMPLEX   STATUS=UNCHANGED    135 CALLS      375 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10194E-03    66.998        .31224E-03** at limit **
   2  Index         2.1466        5.5816        .13051E-03    .31090E-04
   3  Normalizat    1.1413        .20439E-01    .16294E-05   -.51591E-05
   4  Prefactor     .99656        .16195E-01    .91352E-06   -.67428E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6790.288     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      419 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    75.470        .29217E-02** at limit **
   2  Index         1.7583        8.4730        .50000        .33745E-06
   3  Normalizat    1.1413        .20573E-01    .10313E-04    .82017E-04
   4  Prefactor     .99656        .16301E-01    .86325E-05    .10114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.75831
  Normalizat = 1.14131
  Prefactor  = 0.996562
 **********
 **   18 **HESSE 
 **********

 FCN=   6790.288     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      448 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    326.39        .58435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7583        8.4876        .50000       -.70540    
   3  Normalizat    1.1413        .47049E-01    .20626E-05   -.88436    
   4  Prefactor     .99656        .37280E-01    .17265E-05   -.92844    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.84426e-09
Minuit parameter uncertainties:
  1  0.000296697
  2  1136.66
  3  0.0470512
  4  0.0372808
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47292': 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) = 6790.28751812
delta logL = 2.34077833738e-06

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.967e-04  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  1.758e+00  1.137e+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.966e-01  3.728e-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.141e+00  4.705e-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/47292/cmap_HighResolution_352598401_352857601_4FGL_J1353.3+1434_daily_bin437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2021-09-08 17:15:04.312698', job_id='47292', GAL2='1.00', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631146504.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.34e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='437' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:15:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 47292: <4FGL_J1353.3+1434_daily_bin437> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin437 208.335 14.5755 352598401 352857601 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 :                                   528.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   544 sec.
    Turnaround time :                            580 sec.

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

