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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1008
RA = 208.335, Dec = 14.5755
tmin = 500601601, tmax = 500860801
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='49259', job_status='RUN', time_executed='2021-09-08 17:13:58.809932', time_epoch_executed='1631146438.81' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49259

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49259/ft1_4FGL_J1353.3+1434_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49259/ft2_4FGL_J1353.3+1434_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49259/ft1_4FGL_J1353.3+1434_daily_bin1008.fits outfile=/scratch/kocevski/49259/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1008.fits ra=208.335 dec=14.5755 rad=12.0 tmin=500601601.0 tmax=500860801.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 5.16
user 4.86
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49259/ft1_filtered_4FGL_J1353.3+1434_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/49259/ft2_4FGL_J1353.3+1434_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/49259/ltcube_500601601_500860801_4FGL_J1353.3+1434_daily_bin1008.fits outfile=/scratch/kocevski/49259/expmap_500601601_500860801_4FGL_J1353.3+1434_daily_bin1008.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/49259/ltcube_500601601_500860801_4FGL_J1353.3+1434_daily_bin1008.fits
.....................!
real 190.65
user 185.38
sys 4.85

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/49259/ft1_filtered_4FGL_J1353.3+1434_daily_bin1008.fits scfile=/scratch/kocevski/49259/ft2_4FGL_J1353.3+1434_daily_bin1008.fits outfile=/scratch/kocevski/49259/cmap_500601601_500860801_4FGL_J1353.3+1434_daily_bin1008.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49259/ft1_filtered_4FGL_J1353.3+1434_daily_bin1008.fits scfile=/scratch/kocevski/49259/ft2_4FGL_J1353.3+1434_daily_bin1008.fits outfile=/scratch/kocevski/49259/cmap_HighResolution_500601601_500860801_4FGL_J1353.3+1434_daily_bin1008.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1663       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .14503E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22857E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .30920E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26663E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    85.162       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .89173E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.4904       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12532E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .99139       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5245       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .73896       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=   6098.370     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1653 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1756        7.8533        .24550E-05   -.31894E-03
   2  Prefactor     .10000E-03    5.0956       -.18979E-07** at limit **
   3  Prefactor     .10000E-03    16.050       -.82180E-08** at limit **
   4  norm          .10000E-03    14.740       -.10394E-05** at limit **
   5  Prefactor     .10000E-03    173.67       -.53099E-06** at limit **
   6  Prefactor     .10000E-03    2.5708        .15710E-06** at limit **
   7  Prefactor     .10000E-03    1.6305        .70403E-08** at limit **
   8  Prefactor     .10000E-03    13.912        .14212E-06** at limit **
   9  Prefactor     .10003E-03    9.5373        .36311E-06** at limit **
  10  Prefactor     85.144        40.328        .21792E-05    .30666E-03
  11  Prefactor     .77425E-03    16.779       -.19371E-06** at limit **
  12  Prefactor     8.5046        9.0554       -.85497E-07   -.36064E-04
  13  Prefactor     .10000E-03    11.423        .27000E-07** at limit **
  14  norm          .98669        1.8865        .27861E-06    .30734E-03
  15  Normalizat    1.5245        .21349       -.10836E-05   -.19987E-04
  16  Prefactor     .73907        .15639        .25665E-06   -.12067E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.17562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100025
  Prefactor  = 85.1436
  Prefactor  = 0.000774254
  Prefactor  = 8.50457
  Prefactor  = 0.0001
  norm       = 0.986692
  Normalizat = 1.52445
  Prefactor  = 0.739072
 **********
 **   18 **HESSE 
 **********

 FCN=   6098.370     FROM HESSE     STATUS=OK           215 CALLS     1868 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1756        7.9930        .80834E-03   -1.5211    
   2  Prefactor     .10000E-03    5.1106        .17215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    15.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    176.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    47.800        .23566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.6358        .97368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    91.156        .55182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    129.33        .45616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     85.144        42.519        .43531E-04   -1.3860    
  11  Prefactor     .77425E-03    22.046        .92546E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.5046        9.0049        .13758E-03   -1.5125    
  13  Prefactor     .10000E-03    11.789        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .98669        1.5526        .14624E-02   -1.5509    
  15  Normalizat    1.5245        .25253        .24238E-03   -.77094    
  16  Prefactor     .73907        .18777        .24989E-03   -1.0201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63343e-10
Minuit parameter uncertainties:
  1  7.99434
  2  3.94279e-06
  3  6.74675e-06
  4  0.000154804
  5  7.10732e-05
  6  0.000216049
  7  1.80463e-07
  8  0.000340018
  9  0.00360672
  10  42.5346
  11  0.243932
  12  9.00637
  13  1.19683e-05
  14  1.55268
  15  0.252735
  16  0.18793
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  3.400e-04  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.391e-01  1.879e-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.524e+00  2.527e-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: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/49259/likelihoodResults_500601601_500860801_4FGL_J1353.3+1434_daily_bin1008.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) = 6098.37045735
delta logL = -5.11535445185e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6098.37045734
delta logL = -5.11407361046e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96344E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2495       1.0000          .0000       10.000    
     3 'Normalizat'    1.5244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73908       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=   6098.074     FROM MIGRAD    STATUS=FAILED       210 CALLS      370 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .29201E-01    .22113E-03** at limit **
   2  Index         7.6600        8.5984        .79772E-02    .56648E-03
   3  Normalizat    1.4716        .92408E-01    .24585E-03    .25248E-04
   4  Prefactor     .76616        .69038E-01    .24586E-03    .15093E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6098.074     FROM SIMPLEX   STATUS=UNCHANGED    174 CALLS      544 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .29201E-01    .86415E-05** at limit **
   2  Index         7.6600        8.5984        .38659E-04    .56648E-03
   3  Normalizat    1.4716        .92408E-01    .83155E-06    .25248E-04
   4  Prefactor     .76616        .69038E-01    .73168E-06    .15093E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6098.074     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      583 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    .20830E-01    .26499E-03** at limit **
   2  Index         7.6600        8.5444        .15954E-02    .22507E-04
   3  Normalizat    1.4716        .85665E-01    .98341E-05    .25202E-04
   4  Prefactor     .76616        .64221E-01    .98345E-05    .15097E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.66002
  Normalizat = 1.47157
  Prefactor  = 0.766156
 **********
 **   18 **HESSE 
 **********

 FCN=   6098.074     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      618 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .23862E-01    .24904E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.6600        8.5835        .31909E-03    .56097    
   3  Normalizat    1.4716        .89961E-01    .19668E-05   -.78580    
   4  Prefactor     .76616        .67438E-01    .19669E-05   -1.0099    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.25821e-11
Minuit parameter uncertainties:
  1  5.42464e-08
  2  7.12942
  3  0.089971
  4  0.0674452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49259': 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) = 6098.07420933
delta logL = 0.296196865066

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  5.425e-08  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  7.660e+00  7.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
483    Prefactor:  7.662e-01  6.745e-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.472e+00  8.997e-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/49259/cmap_HighResolution_500601601_500860801_4FGL_J1353.3+1434_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-08 17:22:48.838856', job_id='49259', GAL2='0.77', fit_tolerance='1e-08', EG2='1.47', EG='1.52', time_epoch_completed='1631146968.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.96e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1008' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:22:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0139>
Subject: Job 49259: <4FGL_J1353.3+1434_daily_bin1008> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1008 208.335 14.5755 500601601 500860801 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 :                                   525.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            688 sec.

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

