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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin427
RA = 223.392, Dec = 35.0884
tmin = 350006401, tmax = 350265601
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='828468', job_status='RUN', time_executed='2021-09-10 11:43:29.526015', time_epoch_executed='1631299409.53' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/828468

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/828468/ft1_4FGL_J1453.5+3505_daily_bin427.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/828468/ft2_4FGL_J1453.5+3505_daily_bin427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/828468/ft1_4FGL_J1453.5+3505_daily_bin427.fits outfile=/scratch/kocevski/828468/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin427.fits ra=223.392 dec=35.0884 rad=12.0 tmin=350006401.0 tmax=350265601.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.18
user 3.76
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/828468/ft2_4FGL_J1453.5+3505_daily_bin427.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/828468/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin427.fits evtable="EVENTS" outfile="/scratch/kocevski/828468/ft1_filtered_4FGL_J1453.5+3505_daily_bin427.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/828468/ft1_filtered_4FGL_J1453.5+3505_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/828468/ft2_4FGL_J1453.5+3505_daily_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/828468/ltcube_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.fits outfile=/scratch/kocevski/828468/expmap_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.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/828468/ltcube_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.fits
.....................!
real 190.35
user 185.04
sys 4.51

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/828468/ft1_filtered_4FGL_J1453.5+3505_daily_bin427.fits scfile=/scratch/kocevski/828468/ft2_4FGL_J1453.5+3505_daily_bin427.fits outfile=/scratch/kocevski/828468/cmap_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.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 0.65
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/828468/ft1_filtered_4FGL_J1453.5+3505_daily_bin427.fits scfile=/scratch/kocevski/828468/ft2_4FGL_J1453.5+3505_daily_bin427.fits outfile=/scratch/kocevski/828468/cmap_HighResolution_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.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.55
user 0.38
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/828468/ft1_filtered_4FGL_J1453.5+3505_daily_bin427.fits', '/scratch/kocevski/828468/ft2_4FGL_J1453.5+3505_daily_bin427.fits', expMap='/scratch/kocevski/828468/expmap_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.fits', expCube='/scratch/kocevski/828468/ltcube_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/828468/Model_4FGL_J1453.5+3505_daily_bin427.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/828468/ft1_filtered_4FGL_J1453.5+3505_daily_bin427.fits
Spacecraft file(s): /scratch/kocevski/828468/ft2_4FGL_J1453.5+3505_daily_bin427.fits
Exposure map: /scratch/kocevski/828468/expmap_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.fits
Exposure cube: /scratch/kocevski/828468/ltcube_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/828468/Model_4FGL_J1453.5+3505_daily_bin427.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) = 6025.4789555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.670       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7323       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10852E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1693       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.6618       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.3693       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6214       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.465       1.0000         .10000E-03   10000.    
    13 'norm      '    6.2939       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0124       1.0000         .10000E-03   10000.    
    16 'norm      '    1.9358       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9447       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.2550       1.0000         .10000E-03   10000.    
    23 'norm      '    13.890       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    24.489       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    16.199       1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.0307       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2049       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .75885       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=   6025.404     FROM MIGRAD    STATUS=CONVERGED    747 CALLS     3880 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.668        19.086       -.94556E-06    .23911E-04
   2  Prefactor     .10000E-03    19.470       -.53180E-05** at limit **
   3  norm          1.7323        2.0585       -.25772E-07    .37787E-04
   4  Prefactor     .10000E-03    15.785       -.14938E-05** at limit **
   5  Prefactor     6.1660        13.029       -.11927E-07   -.85154E-04
   6  Prefactor     .10000E-03    1.8916       -.25602E-07** at limit **
   7  norm          4.6574        10.407       -.65326E-07   -.18384E-03
   8  Prefactor     .10000E-03    15.253        .18826E-06** at limit **
   9  norm          3.3646        6.2259       -.89713E-07   -.91844E-03
  10  Prefactor     .10000E-03    42.322       -.11921E-04** at limit **
  11  norm          3.6205        4.5146       -.12379E-05   -.58009E-04
  12  Prefactor     16.461        24.935       -.35819E-05   -.22742E-05
  13  norm          6.2936        7.8004       -.40589E-07   -.18093E-03
  14  Prefactor     .10000E-03    4.8448        .28848E-07** at limit **
  15  Prefactor     3.0157        8.4042       -.94017E-07   -.25220E-04
  16  norm          1.9347        2.4088       -.14638E-06   -.17010E-03
  17  norm          1.9460        2.3943       -.10644E-06   -.62376E-05
  18  Prefactor     .10000E-03    2.8519       -.99427E-07** at limit **
  19  Prefactor     .10000E-03    34.896        .14859E-04** at limit **
  20  Prefactor     .10000E-03    9.9590       -.28802E-05** at limit **
  21  Prefactor     .10000E-03    8.5759        .77914E-06** at limit **
  22  Prefactor     1.2487        6.6947        .13888E-05   -.76900E-03
  23  norm          13.891        2.1329       -.36168E-07    .11559E-03
  24  Prefactor     .10000E-03    4.7040       -.60787E-07** at limit **
  25  Prefactor     24.490        23.121        .43951E-06    .64312E-05
  26  Prefactor     .10000E-03    13.095        .50556E-05** at limit **
  27  norm          16.198        13.583        .46914E-07   -.94952E-04
  28  Prefactor     8.0164        28.827       -.22398E-04   -.24836E-04
  29  Normalizat    1.2048        .17806        .82756E-06    .78155E-04
  30  Prefactor     .75904        .17141        .73211E-06    .95458E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.6681
  Prefactor  = 0.0001
  norm       = 1.73227
  Prefactor  = 0.0001
  Prefactor  = 6.16596
  Prefactor  = 0.0001
  norm       = 4.65742
  Prefactor  = 0.0001
  norm       = 3.3646
  Prefactor  = 0.0001
  norm       = 3.62054
  Prefactor  = 16.4613
  norm       = 6.29357
  Prefactor  = 0.0001
  Prefactor  = 3.01574
  norm       = 1.93469
  norm       = 1.94597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.24871
  norm       = 13.8908
  Prefactor  = 0.0001
  Prefactor  = 24.4898
  Prefactor  = 0.0001
  norm       = 16.1981
  Prefactor  = 8.01642
  Normalizat = 1.20484
  Prefactor  = 0.759041
 **********
 **   18 **HESSE 
 **********

 FCN=   6025.404     FROM HESSE     STATUS=OK           592 CALLS     4472 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.668        19.103        .98095E-04   -1.4891    
   2  Prefactor     .10000E-03    19.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7323        2.0535        .11806E-03   -1.5445    
   4  Prefactor     .10000E-03    15.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.1660        13.016        .80815E-03   -1.5211    
   6  Prefactor     .10000E-03    1.9491        .20839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.6574        10.410        .93196E-03   -1.5276    
   8  Prefactor     .10000E-03    15.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3646        6.7124        .11023E-02   -1.5341    
  10  Prefactor     .10000E-03    42.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6205        4.5234        .17656E-03   -1.5327    
  12  Prefactor     16.461        24.987        .98705E-04   -1.4896    
  13  norm          6.2936        7.7966        .80001E-03   -1.5206    
  14  Prefactor     .10000E-03    4.8504        .16683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0157        8.1621        .23384E-03   -1.5361    
  16  norm          1.9347        2.3462        .10881E-03   -1.5430    
  17  norm          1.9460        2.3969        .12912E-03   -1.5429    
  18  Prefactor     .10000E-03    2.8576        .12799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    34.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.5923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.2487        29.807        .19936E-02   -1.5484    
  23  norm          13.891        2.1360        .42365E-04   -1.4962    
  24  Prefactor     .10000E-03    4.7244        .16427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     24.490        23.124        .80947E-04   -1.4718    
  26  Prefactor     .10000E-03    13.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          16.198        13.572        .99512E-04   -1.4903    
  28  Prefactor     8.0164        28.855        .14148E-03   -1.5142    
  29  Normalizat    1.2048        .21595        .23123E-03   -.86453    
  30  Prefactor     .75904        .20268        .28192E-03   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42794e-09
Minuit parameter uncertainties:
  1  19.1102
  2  5.48264e-06
  3  2.05359
  4  1.83429e-06
  5  13.0215
  6  4.05623e-06
  7  10.4142
  8  1.15799e-05
  9  6.71388
  10  4.25453e-05
  11  4.52382
  12  25.0033
  13  7.79787
  14  5.25906e-07
  15  8.16509
  16  2.34634
  17  2.39706
  18  1.15643e-07
  19  8.68921e-05
  20  1.95761e-05
  21  9.95001e-06
  22  12.208
  23  2.13605
  24  2.85929e-06
  25  23.1324
  26  1.17363e-05
  27  13.5741
  28  28.9053
  29  0.216114
  30  0.202879
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  5.259e-07  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:  7.590e-01  2.029e-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.205e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 5.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/828468/likelihoodResults_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.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) = 6025.40467771
delta logL = -0.000977380432232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6025.40370038
delta logL = -4.98976078234e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3492       1.0000          .0000       10.000    
     3 'Normalizat'    1.2049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75898       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.

 FCN=   6025.404     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      230 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    361.38        .16813E-01** at limit **
   2  Index         1.8307        8.7933        .48208E-01   -.35374E-08
   3  Normalizat    1.2048        .37970E-01    .23122E-03   -.61674E-03
   4  Prefactor     .75904        .37781E-01    .28192E-03   -.50967E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.83075
  Normalizat = 1.20484
  Prefactor  = 0.759039
 **********
 **   18 **HESSE 
 **********

 FCN=   6025.404     FROM HESSE     STATUS=OK            23 CALLS      253 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7710        .18193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8307        5.8573        .19283E-02   -.68652    
   3  Normalizat    1.2048        .19908        .46245E-04   -.86453    
   4  Prefactor     .75904        .19806        .56384E-04   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82043e-10
Minuit parameter uncertainties:
  1  8.48207e-06
  2  271.542
  3  0.199208
  4  0.198249
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/828468': 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) = 6025.4036987
delta logL = 1.6362655515e-06

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  8.482e-06  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.831e+00  2.715e+02  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:  7.590e-01  1.982e-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.205e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/828468/cmap_HighResolution_350006401_350265601_4FGL_J1453.5+3505_daily_bin427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-03', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2021-09-10 11:57:26.596060', job_id='828468', GAL2='0.76', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1631300246.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.64e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='427' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:57:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 828468: <4FGL_J1453.5+3505_daily_bin427> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin427> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 11:42:01 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:42:02 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:42:02 2021
Terminated at Fri Sep 10 11:57:28 2021
Results reported at Fri Sep 10 11:57:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin427 223.392 35.0884 350006401 350265601 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 :                                   832.22 sec.
    Max Memory :                                 1023 MB
    Average Memory :                             316.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

