/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 56 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 = 7428
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1453.5+3505_daily_bin16
RA = 223.392, Dec = 35.0884
tmin = 243475201, tmax = 243734401
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='826628', job_status='RUN', time_executed='2021-09-10 11:40:31.326236', time_epoch_executed='1631299231.33' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='16'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826628/ft1_4FGL_J1453.5+3505_daily_bin16.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826628/ft2_4FGL_J1453.5+3505_daily_bin16.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826628/ft1_4FGL_J1453.5+3505_daily_bin16.fits outfile=/scratch/kocevski/826628/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin16.fits ra=223.392 dec=35.0884 rad=12.0 tmin=243475201.0 tmax=243734401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.82
user 0.93
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826628/ft1_filtered_4FGL_J1453.5+3505_daily_bin16.fits" evtable="EVENTS" scfile=/scratch/kocevski/826628/ft2_4FGL_J1453.5+3505_daily_bin16.fits sctable="SC_DATA" outfile=/scratch/kocevski/826628/ltcube_243475201_243734401_4FGL_J1453.5+3505_daily_bin16.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/826628/ft2_4FGL_J1453.5+3505_daily_bin16.fits
.....................!
real 10.21
user 8.79
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826628/ft1_filtered_4FGL_J1453.5+3505_daily_bin16.fits evtable="EVENTS" scfile=/scratch/kocevski/826628/ft2_4FGL_J1453.5+3505_daily_bin16.fits sctable="SC_DATA" expcube=/scratch/kocevski/826628/ltcube_243475201_243734401_4FGL_J1453.5+3505_daily_bin16.fits outfile=/scratch/kocevski/826628/expmap_243475201_243734401_4FGL_J1453.5+3505_daily_bin16.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/826628/ltcube_243475201_243734401_4FGL_J1453.5+3505_daily_bin16.fits
.....................!
real 143.99
user 137.67
sys 3.52

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/826628/ft1_filtered_4FGL_J1453.5+3505_daily_bin16.fits scfile=/scratch/kocevski/826628/ft2_4FGL_J1453.5+3505_daily_bin16.fits outfile=/scratch/kocevski/826628/cmap_243475201_243734401_4FGL_J1453.5+3505_daily_bin16.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 2.05
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826628/ft1_filtered_4FGL_J1453.5+3505_daily_bin16.fits scfile=/scratch/kocevski/826628/ft2_4FGL_J1453.5+3505_daily_bin16.fits outfile=/scratch/kocevski/826628/cmap_HighResolution_243475201_243734401_4FGL_J1453.5+3505_daily_bin16.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 1.84
user 0.30
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5460       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.683       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4493       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.2978       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    18.474       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.813       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0083       1.0000         .10000E-03   10000.    
    16 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.3118       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6693       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.0738       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.729       1.0000         .10000E-03   10000.    
    23 'norm      '    11.599       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12559E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    43.951       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.5721       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .21859       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=   5777.526     FROM MIGRAD    STATUS=CONVERGED    738 CALLS     3901 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.009       -.17401E-05** at limit **
   2  Prefactor     .10000E-03    6.6671        .11405E-07** at limit **
   3  norm          .10000E-03    1.9544        .69970E-07** at limit **
   4  Prefactor     .10000E-03    3.8068       -.95033E-07** at limit **
   5  Prefactor     .10000E-03    6.5193       -.22194E-06** at limit **
   6  Prefactor     3.5467        3.2881        .27126E-06    .25054E-03
   7  norm          .10000E-03    4.1585        .72860E-07** at limit **
   8  Prefactor     16.668        28.195       -.25505E-05   -.10727E-03
   9  norm          1.4513        4.2396        .40634E-06   -.12629E-03
  10  Prefactor     .10000E-03    31.573       -.10442E-05** at limit **
  11  norm          2.2971        2.7856        .18866E-05   -.58462E-03
  12  Prefactor     .10000E-03    30.856       -.13152E-06** at limit **
  13  norm          18.473        10.980       -.87736E-07   -.23054E-05
  14  Prefactor     20.818        17.955        .85473E-07    .67229E-04
  15  Prefactor     7.0060        7.4668       -.65380E-07   -.12369E-04
  16  norm          .10000E-03    1.0453        .86793E-07** at limit **
  17  norm          3.3090        5.1704        .22142E-06    .14676E-04
  18  Prefactor     4.6781        15.279        .67507E-06    .61789E-04
  19  Prefactor     .10000E-03    21.560        .18408E-05** at limit **
  20  Prefactor     5.0733        5.3273        .92618E-07    .18118E-04
  21  Prefactor     .10000E-03    10.749       -.14693E-06** at limit **
  22  Prefactor     11.723        14.833       -.51820E-06   -.34897E-04
  23  norm          11.599        2.0858        .98558E-07    .36568E-03
  24  Prefactor     .10000E-03    18.613       -.11752E-05** at limit **
  25  Prefactor     43.928        42.991       -.28243E-05   -.16203E-03
  26  Prefactor     .10000E-03    10.359        .25153E-06** at limit **
  27  norm          .10000E-03    9.9010        .68445E-06** at limit **
  28  Prefactor     .10000E-03    18.906        .36398E-06** at limit **
  29  Normalizat    1.5716        .20330        .13158E-05    .21532E-05
  30  Prefactor     .21898        .18383       -.36759E-05   -.12015E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.54666
  norm       = 0.0001
  Prefactor  = 16.6684
  norm       = 1.45134
  Prefactor  = 0.0001
  norm       = 2.29712
  Prefactor  = 0.0001
  norm       = 18.4731
  Prefactor  = 20.8182
  Prefactor  = 7.00599
  norm       = 0.0001
  norm       = 3.30905
  Prefactor  = 4.67812
  Prefactor  = 0.000100001
  Prefactor  = 5.07335
  Prefactor  = 0.0001
  Prefactor  = 11.7228
  norm       = 11.5987
  Prefactor  = 0.0001
  Prefactor  = 43.9278
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.57163
  Prefactor  = 0.218983
 **********
 **   18 **HESSE 
 **********

 FCN=   5777.526     FROM HESSE     STATUS=OK           584 CALLS     4485 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.6775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.0142        .20745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8119        .14483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.5358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.5467        3.2982        .12732E-03   -1.5331    
   7  norm          .10000E-03    4.1606        .15139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.668        28.698        .98057E-04   -1.4891    
   9  norm          1.4513        4.2178        .25835E-03   -1.5467    
  10  Prefactor     .10000E-03    31.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2971        2.8536        .69315E-03   -1.5405    
  12  Prefactor     .10000E-03    31.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          18.473        10.974        .93184E-04   -1.4848    
  14  Prefactor     20.818        17.992        .87794E-04   -1.4795    
  15  Prefactor     7.0060        7.3017        .15154E-03   -1.5179    
  16  norm          .10000E-03    2.1984        .14624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.3090        5.0324        .16736E-03   -1.5344    
  18  Prefactor     4.6781        14.749        .18624E-03   -1.5275    
  19  Prefactor     .10000E-03    21.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.0733        5.3162        .17400E-03   -1.5257    
  21  Prefactor     .10000E-03    10.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.723        14.618        .11697E-03   -1.5023    
  23  norm          11.599        2.0898        .43441E-04   -1.5027    
  24  Prefactor     .10000E-03    18.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     43.928        43.899        .60473E-04   -1.4381    
  26  Prefactor     .10000E-03    10.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    9.9907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    18.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.5716        .20303        .19680E-03   -.75785    
  30  Prefactor     .21898        .17771        .45240E-03   -1.2737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74899e-10
Minuit parameter uncertainties:
  1  0.000169108
  2  1.48826e-06
  3  2.07996e-06
  4  2.53593e-06
  5  5.18276e-06
  6  3.29841
  7  4.43109e-06
  8  28.7222
  9  4.2187
  10  9.08972e-05
  11  2.85378
  12  7.26105e-05
  13  10.9756
  14  17.9964
  15  7.30265
  16  1.60492e-05
  17  5.03307
  18  14.7609
  19  0.000216046
  20  5.31671
  21  1.83206e-05
  22  14.6224
  23  2.08985
  24  0.000171972
  25  43.9315
  26  1.38351e-05
  27  4.57644e-05
  28  3.88468e-05
  29  0.203132
  30  0.178149
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  2.082e+01  1.800e+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:  2.190e-01  1.781e-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.572e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.97
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 4.76e-08 +/- 4.11e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.42e-05

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

Saving results to:
/scratch/kocevski/826628/likelihoodResults_243475201_243734401_4FGL_J1453.5+3505_daily_bin16.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) = 5776.85307727
delta logL = 0.672807984501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5776.80870938
delta logL = 0.717175876066

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7184       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5021       1.0000          .0000       10.000    
     3 'Normalizat'    1.5129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .25748       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=   5776.809     FROM MIGRAD    STATUS=FAILED        86 CALLS      297 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7201        84.921        .95024E-04    .53958E-02
   2  Index         3.5023        3.7730        .39337E-02    .12772E-02
   3  Normalizat    1.5127        .19506        .19958E-03    .12621E-02
   4  Prefactor     .25765        .17886        .41941E-03    .52077E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5776.809     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      381 TOTAL
                     EDM=   .88E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7201        84.921        .17633E-03    .53958E-02
   2  Index         3.5023        3.7730        .96719E-03    .12772E-02
   3  Normalizat    1.5127        .19506        .14090E-03    .12621E-02
   4  Prefactor     .25765        .17886        .20607E-03    .52077E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5776.809     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      412 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7205        12.186        .38010E-05    .75373E-04
   2  Index         3.5022        1.3061        .15735E-03    .14378E-04
   3  Normalizat    1.5127        .19779        .39916E-04   -.22557E-04
   4  Prefactor     .25765        .17898        .16776E-04   -.10843E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.72047
  Index      = 3.50221
  Normalizat = 1.51268
  Prefactor  = 0.257646
 **********
 **   18 **HESSE 
 **********

 FCN=   5776.809     FROM HESSE     STATUS=OK            23 CALLS      435 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7205        11.886        .76019E-06   -1.5273    
   2  Index         3.5022        1.2746        .62939E-05   -.30423    
   3  Normalizat    1.5127        .19780        .79833E-05   -.77423    
   4  Prefactor     .25765        .17901        .33553E-05   -1.2484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90208e-12
Minuit parameter uncertainties:
  1  11.8915
  2  1.29033
  3  0.197901
  4  0.179393
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826628': 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) = 5776.80870861
delta logL = 0.717176649987

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  4.720e+00  1.189e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.502e+00  1.290e+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:  2.576e-01  1.794e-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.513e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.52
Ra Dec: 223.392 35.088
Photon Index (Free Index): 3.50 +/- 1.29
Photon Flux (Free Index): 9.37e-08 +/- 6.02e-08
Energy Flux (Free Index): 1.56e-05 +/- 9.97e-06

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/826628/cmap_HighResolution_243475201_243734401_4FGL_J1453.5+3505_daily_bin16.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.97e-03', comment='SUCCESS', photon_flux='4.76e-08', energy_flux2='1.56e-05', photon_flux_error='4.11e-08', dlogl='7.17e-01', energy_flux='1.64e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2021-09-10 11:50:49.936145', photon_index_error2='1.29', photon_index2='3.50', ts='1.97', fit_tolerance='1e-08', GAL='0.22', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='9.97e-06', EG='1.57', time_epoch_completed='1631299849.94', return_code='0', job_id='826628', GAL2='0.26', EG2='1.51', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='6.02e-08', ts2='3.52', photon_index='2.36' WHERE bin_id='16' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:50:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 826628: <4FGL_J1453.5+3505_daily_bin16> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin16> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 11:38:18 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:38:19 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:38:19 2021
Terminated at Fri Sep 10 11:50:50 2021
Results reported at Fri Sep 10 11:50:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin16 223.392 35.0884 243475201 243734401 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 :                                   599.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            752 sec.

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

