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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin376
RA = 223.392, Dec = 35.0884
tmin = 336787201, tmax = 337046401
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='828412', job_status='RUN', time_executed='2021-09-10 11:44:33.630806', time_epoch_executed='1631299473.63' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='376'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/828412

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/828412/ft1_4FGL_J1453.5+3505_daily_bin376.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/828412/ft1_4FGL_J1453.5+3505_daily_bin376.fits outfile=/scratch/kocevski/828412/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin376.fits ra=223.392 dec=35.0884 rad=12.0 tmin=336787201.0 tmax=337046401.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 7.17
user 6.48
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.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/828412/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin376.fits evtable="EVENTS" outfile="/scratch/kocevski/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.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 2.74
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.fits" evtable="EVENTS" scfile=/scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits sctable="SC_DATA" outfile=/scratch/kocevski/828412/ltcube_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.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/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits
.....................!
real 12.96
user 11.02
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.fits evtable="EVENTS" scfile=/scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits sctable="SC_DATA" expcube=/scratch/kocevski/828412/ltcube_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.fits outfile=/scratch/kocevski/828412/expmap_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.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/828412/ltcube_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.fits
.....................!
real 193.97
user 185.49
sys 4.25

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1453.5+3505 @ 223.392 35.0884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.fits scfile=/scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits outfile=/scratch/kocevski/828412/cmap_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.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=223.392 yref=35.0884 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 1.15
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.fits scfile=/scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits outfile=/scratch/kocevski/828412/cmap_HighResolution_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.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=223.392 yref=35.0884 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.83
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.fits evtable="EVENTS" scfile=/scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/828412/Model_4FGL_J1453.5+3505_daily_bin376.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/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.fits.....................!
real 47.09
user 44.65
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.fits', '/scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits', expMap='/scratch/kocevski/828412/expmap_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.fits', expCube='/scratch/kocevski/828412/ltcube_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/828412/Model_4FGL_J1453.5+3505_daily_bin376.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1453.5+3505'

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.970e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/828412/ft1_filtered_4FGL_J1453.5+3505_daily_bin376.fits
Spacecraft file(s): /scratch/kocevski/828412/ft2_4FGL_J1453.5+3505_daily_bin376.fits
Exposure map: /scratch/kocevski/828412/expmap_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.fits
Exposure cube: /scratch/kocevski/828412/ltcube_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/828412/Model_4FGL_J1453.5+3505_daily_bin376.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) = 5593.12902727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2732       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3316       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.1383       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.113       1.0000         .10000E-03   10000.    
     9 'norm      '    .10445E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    55.315       1.0000         .10000E-03   10000.    
    13 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.8211       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7534       1.0000         .10000E-03   10000.    
    16 'norm      '    .21763       1.0000         .10000E-03   10000.    
    17 'norm      '    7.2830       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0376       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.2444       1.0000         .10000E-03   10000.    
    24 'Prefactor '    17.929       1.0000         .10000E-03   10000.    
    25 'Prefactor '    32.128       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    6.8319       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95754       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5593.120     FROM MIGRAD    STATUS=CONVERGED    738 CALLS     3896 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.093        .20463E-05** at limit **
   2  Prefactor     4.2717        17.126       -.51330E-06   -.72720E-04
   3  norm          2.3321        2.7044       -.16581E-09   -.14476E-03
   4  Prefactor     .10000E-03    5.4810        .30542E-05** at limit **
   5  Prefactor     .10000E-03    6.5845       -.37377E-06** at limit **
   6  Prefactor     .10000E-03    .92135        .14353E-07** at limit **
   7  norm          4.1396        7.3981       -.21945E-06   -.12287E-03
   8  Prefactor     10.120        27.356        .10447E-04   -.29875E-05
   9  norm          .10000E-03    4.3353       -.11282E-06** at limit **
  10  Prefactor     .10000E-03    17.255       -.12433E-04** at limit **
  11  norm          .10000E-03    3.2033        .54837E-07** at limit **
  12  Prefactor     55.314        42.629       -.10321E-05    .13944E-05
  13  norm          .10000E-03    4.9899       -.21915E-05** at limit **
  14  Prefactor     9.8296        15.822        .23678E-05    .17583E-04
  15  Prefactor     2.7298        11.866       -.88984E-06   -.28868E-03
  16  norm          .22002        2.1025       -.27082E-06   -.90374E-03
  17  norm          7.2836        6.0668        .84274E-06   -.47169E-04
  18  Prefactor     5.0383        10.950        .35894E-06   -.71204E-04
  19  Prefactor     .10000E-03    42.041       -.82001E-05** at limit **
  20  Prefactor     .10000E-03    5.1216       -.23010E-05** at limit **
  21  Prefactor     .10000E-03    4.8903        .20755E-05** at limit **
  22  Prefactor     .10000E-03    9.1575       -.43508E-05** at limit **
  23  norm          5.2442        1.9673       -.15864E-07   -.42499E-04
  24  Prefactor     17.931        14.017        .96706E-06   -.22893E-04
  25  Prefactor     32.124        39.565       -.46256E-05   -.19176E-06
  26  Prefactor     .10000E-03    25.212        .14607E-04** at limit **
  27  norm          6.8290        10.766       -.74123E-06   -.47285E-03
  28  Prefactor     .10000E-03    10.777        .63401E-05** at limit **
  29  Normalizat    1.0154        .19420       -.13444E-05    .84063E-04
  30  Prefactor     .95776        .18515        .28121E-06   -.13873E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.27173
  norm       = 2.33214
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.13964
  Prefactor  = 10.1205
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 55.3143
  norm       = 0.0001
  Prefactor  = 9.82955
  Prefactor  = 2.72985
  norm       = 0.220023
  norm       = 7.28355
  Prefactor  = 5.03831
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.24423
  Prefactor  = 17.931
  Prefactor  = 32.1243
  Prefactor  = 0.0001
  norm       = 6.82896
  Prefactor  = 0.0001
  Normalizat = 1.01535
  Prefactor  = 0.957756
 **********
 **   18 **HESSE 
 **********

 FCN=   5593.120     FROM HESSE     STATUS=OK           592 CALLS     4488 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2717        17.121        .19490E-03   -1.5295    
   3  norm          2.3321        2.6975        .12841E-03   -1.5403    
   4  Prefactor     .10000E-03    5.4843        .17085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .92520        .70094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.1396        7.3851        .19815E-03   -1.5301    
   8  Prefactor     10.120        27.306        .12600E-03   -1.5072    
   9  norm          .10000E-03    13.428        .29909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.2731        .13065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     55.314        42.888        .53934E-04   -1.4219    
  13  norm          .10000E-03    5.0031        .16312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.8296        15.798        .12787E-03   -1.5081    
  15  Prefactor     2.7298        11.067        .24532E-03   -1.5378    
  16  norm          .22002        3.5610        .14116E-02   -1.5614    
  17  norm          7.2836        6.0355        .13080E-03   -1.5168    
  18  Prefactor     5.0383        10.898        .17916E-03   -1.5259    
  19  Prefactor     .10000E-03    42.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.1908        .16513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.8895        .16146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.1925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.2442        1.9784        .52442E-04   -1.5250    
  24  Prefactor     17.931        14.101        .94589E-04   -1.4861    
  25  Prefactor     32.124        39.546        .70692E-04   -1.4574    
  26  Prefactor     .10000E-03    25.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          6.8290        10.755        .15350E-03   -1.5185    
  28  Prefactor     .10000E-03    10.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0154        .22840        .24014E-03   -.92518    
  30  Prefactor     .95776        .21830        .25077E-03   -.94151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.28745e-10
Minuit parameter uncertainties:
  1  3.29808e-07
  2  17.1122
  3  2.69767
  4  1.79902e-06
  5  7.96561e-06
  6  9.52497e-07
  7  7.38674
  8  27.3397
  9  1.5138e-05
  10  2.34788e-05
  11  4.30981e-06
  12  42.9124
  13  3.00548e-06
  14  15.8046
  15  10.9963
  16  1.77004
  17  6.03603
  18  10.902
  19  3.49624e-05
  20  1.34422e-05
  21  1.99367e-06
  22  3.0223e-05
  23  1.97841
  24  14.1037
  25  39.5782
  26  7.38476e-06
  27  10.7582
  28  6.45326e-07
  29  0.228621
  30  0.218502
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  9.830e+00  1.580e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.578e-01  2.185e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.015e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.50
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/828412/likelihoodResults_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.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): 0
logL (Free Index) = 5593.02473441
delta logL = 0.0951766420367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5593.02280844
delta logL = 0.0971026170846

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3288       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8021       1.0000          .0000       10.000    
     3 'Normalizat'    1.0013       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96711       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+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=   5593.023     FROM MIGRAD    STATUS=FAILED        83 CALLS      288 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3257        17.352        .15955E-03   -.88425E-04
   2  Index         2.8021        1.3634        .82893E-02    .42417E-03
   3  Normalizat    1.0018        .21617        .24155E-03   -.10302E-02
   4  Prefactor     .96670        .21744        .24972E-03   -.87051E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5593.023     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      361 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3257        17.352        .24087E-03   -1.5205    
   2  Index         2.8021        1.3634        .12776E-02   -.45513    
   3  Normalizat    1.0018        .21617        .23407E-03   -.92969    
   4  Prefactor     .96670        .21744        .29558E-03   -.93848    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5593.023     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      389 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3256        13.945        .63822E-05   -.14963E-04
   2  Index         2.8021        1.1006        .16579E-02    .58494E-05
   3  Normalizat    1.0019        .21626        .48310E-04   -.11766E-05
   4  Prefactor     .96670        .21732        .49944E-04   -.36421E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.32561
  Index      = 2.80209
  Normalizat = 1.00185
  Prefactor  = 0.966699
 **********
 **   18 **HESSE 
 **********

 FCN=   5593.023     FROM HESSE     STATUS=OK            23 CALLS      412 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3256        13.473        .12764E-05   -1.5205    
   2  Index         2.8021        1.0635        .66315E-04   -.45513    
   3  Normalizat    1.0019        .21627        .96620E-05   -.92968    
   4  Prefactor     .96670        .21731        .99888E-05   -.93848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76331e-12
Minuit parameter uncertainties:
  1  13.4796
  2  1.0737
  3  0.216463
  4  0.217511
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/828412': 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): 0
logL (Free Index) = 5593.02280506
delta logL = 0.09710599954

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  6.326e+00  1.348e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.802e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.667e-01  2.175e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.002e+00  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
Ra Dec: 223.392 35.088

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/828412/cmap_HighResolution_336787201_337046401_4FGL_J1453.5+3505_daily_bin376.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.83e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-10 11:58:20.294320', job_id='828412', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.02', time_epoch_completed='1631300300.29', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='9.71e-02', ts2='0.70', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='376' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:58:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 828412: <4FGL_J1453.5+3505_daily_bin376> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin376> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 11:41:56 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:41:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 11:41:57 2021
Terminated at Fri Sep 10 11:58:21 2021
Results reported at Fri Sep 10 11:58:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin376 223.392 35.0884 336787201 337046401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1453.5+3505 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   812.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            985 sec.

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

