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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1593
RA = 223.392, Dec = 35.0884
tmin = 652233601, tmax = 652492801
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='836923', job_status='RUN', time_executed='2021-09-10 12:09:48.229058', time_epoch_executed='1631300988.23' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836923

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836923/ft1_4FGL_J1453.5+3505_daily_bin1593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836923/ft2_4FGL_J1453.5+3505_daily_bin1593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836923/ft1_4FGL_J1453.5+3505_daily_bin1593.fits outfile=/scratch/kocevski/836923/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1593.fits ra=223.392 dec=35.0884 rad=12.0 tmin=652233601.0 tmax=652492801.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.55
user 4.17
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/836923/ft2_4FGL_J1453.5+3505_daily_bin1593.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/836923/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1593.fits evtable="EVENTS" outfile="/scratch/kocevski/836923/ft1_filtered_4FGL_J1453.5+3505_daily_bin1593.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.63
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/836923/ft1_filtered_4FGL_J1453.5+3505_daily_bin1593.fits" evtable="EVENTS" scfile=/scratch/kocevski/836923/ft2_4FGL_J1453.5+3505_daily_bin1593.fits sctable="SC_DATA" outfile=/scratch/kocevski/836923/ltcube_652233601_652492801_4FGL_J1453.5+3505_daily_bin1593.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/836923/ft2_4FGL_J1453.5+3505_daily_bin1593.fits
.....................!
real 11.96
user 11.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836923/ft1_filtered_4FGL_J1453.5+3505_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/836923/ft2_4FGL_J1453.5+3505_daily_bin1593.fits sctable="SC_DATA" expcube=/scratch/kocevski/836923/ltcube_652233601_652492801_4FGL_J1453.5+3505_daily_bin1593.fits outfile=/scratch/kocevski/836923/expmap_652233601_652492801_4FGL_J1453.5+3505_daily_bin1593.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/836923/ltcube_652233601_652492801_4FGL_J1453.5+3505_daily_bin1593.fits
.....................!
real 192.35
user 186.30
sys 5.31

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/836923/ft1_filtered_4FGL_J1453.5+3505_daily_bin1593.fits scfile=/scratch/kocevski/836923/ft2_4FGL_J1453.5+3505_daily_bin1593.fits outfile=/scratch/kocevski/836923/cmap_652233601_652492801_4FGL_J1453.5+3505_daily_bin1593.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836923/ft1_filtered_4FGL_J1453.5+3505_daily_bin1593.fits scfile=/scratch/kocevski/836923/ft2_4FGL_J1453.5+3505_daily_bin1593.fits outfile=/scratch/kocevski/836923/cmap_HighResolution_652233601_652492801_4FGL_J1453.5+3505_daily_bin1593.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .66304       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.690       1.0000         .10000E-03   10000.    
     7 'norm      '    5.5309       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4687       1.0000         .10000E-03   10000.    
     9 'norm      '    12.965       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.297       1.0000         .10000E-03   10000.    
    11 'norm      '    11.099       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.8356       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.945       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .59730       1.0000         .10000E-03   10000.    
    17 'norm      '    .10166E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11040E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.282       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1610       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11116E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.5994       1.0000         .10000E-03   10000.    
    23 'norm      '    .10407E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.6580       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10642E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1033       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .77817       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=   5820.571     FROM MIGRAD    STATUS=CONVERGED    757 CALLS     3943 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5486        .53171E-06** at limit **
   2  Prefactor     .10000E-03    5.9047        .11361E-05** at limit **
   3  norm          .66286        3.0993        .13447E-05   -.18334E-03
   4  Prefactor     .10000E-03    20.362       -.17972E-05** at limit **
   5  Prefactor     .10000E-03    13.489        .97243E-06** at limit **
   6  Prefactor     20.690        5.2690        .21371E-07    .24127E-04
   7  norm          5.5284        8.4732       -.10109E-06   -.66423E-05
   8  Prefactor     1.4477        101.77        .46088E-05    .44232E-05
   9  norm          12.964        6.5117        .42462E-07   -.37530E-04
  10  Prefactor     19.288        33.168       -.44761E-06   -.36608E-04
  11  norm          11.100        5.1972        .12220E-06    .13282E-03
  12  Prefactor     .10000E-03    10.390       -.78876E-06** at limit **
  13  norm          5.8357        5.6273       -.11930E-05    .39802E-03
  14  Prefactor     10.944        10.993        .18582E-06   -.16577E-04
  15  Prefactor     .10000E-03    1.6751       -.62805E-08** at limit **
  16  norm          .59730        .99526        .18528E-06    .24090E-03
  17  norm          .10000E-03    2.6837       -.17533E-07** at limit **
  18  Prefactor     .10000E-03    6.3008       -.72996E-06** at limit **
  19  Prefactor     20.282        31.818       -.12103E-06   -.11023E-04
  20  Prefactor     4.1617        7.8023        .33608E-06   -.32424E-04
  21  Prefactor     .10000E-03    26.968        .13753E-05** at limit **
  22  Prefactor     9.5958        10.628        .72573E-07   -.21421E-05
  23  norm          .10000E-03    .94604       -.22937E-07** at limit **
  24  Prefactor     7.6496        8.4629        .14780E-06    .69132E-05
  25  Prefactor     .10000E-03    121.99       -.13656E-05** at limit **
  26  Prefactor     .10000E-03    6.3239       -.57244E-06** at limit **
  27  norm          .10000E-03    5.7304       -.18756E-06** at limit **
  28  Prefactor     .10000E-03    9.8335        .76879E-07** at limit **
  29  Normalizat    1.1034        .17950       -.70804E-06   -.27767E-04
  30  Prefactor     .77802        .17139        .17740E-06   -.50480E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.662856
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 20.6898
  norm       = 5.52841
  Prefactor  = 1.44771
  norm       = 12.9636
  Prefactor  = 19.2875
  norm       = 11.0999
  Prefactor  = 0.0001
  norm       = 5.83571
  Prefactor  = 10.9441
  Prefactor  = 0.0001
  norm       = 0.597297
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.2818
  Prefactor  = 4.16174
  Prefactor  = 0.000100001
  Prefactor  = 9.5958
  norm       = 0.0001
  Prefactor  = 7.64958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10343
  Prefactor  = 0.778024
 **********
 **   18 **HESSE 
 **********

 FCN=   5820.571     FROM HESSE     STATUS=OK           592 CALLS     4535 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.6078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.1338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .66286        3.1577        .26091E-03   -1.5545    
   4  Prefactor     .10000E-03    21.385        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.690        5.2852        .84170E-04   -1.4798    
   7  norm          5.5284        8.4545        .17084E-03   -1.5238    
   8  Prefactor     1.4477        102.96        .35467E-03   -1.5467    
   9  norm          12.964        6.5156        .11125E-03   -1.4988    
  10  Prefactor     19.288        33.133        .91177E-04   -1.4829    
  11  norm          11.100        5.2046        .11516E-03   -1.5042    
  12  Prefactor     .10000E-03    10.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8357        5.7252        .83124E-03   -1.5225    
  14  Prefactor     10.944        10.992        .12110E-03   -1.5046    
  15  Prefactor     .10000E-03    1.6806        .96412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .59730        .86764        .95303E-03   -1.5553    
  17  norm          .10000E-03    2.7867        .24350E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.4066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.282        31.781        .88935E-04   -1.4807    
  20  Prefactor     4.1617        7.8006        .19759E-03   -1.5300    
  21  Prefactor     .10000E-03    27.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.5958        10.553        .12934E-03   -1.5088    
  23  norm          .10000E-03    1.8011        .13116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.6496        7.8221        .14491E-03   -1.5155    
  25  Prefactor     .10000E-03    126.21        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.3803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    5.7504        .17842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    9.8362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1034        .20646        .22103E-03   -.89642    
  30  Prefactor     .77802        .19770        .25969E-03   -1.0054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81763e-10
Minuit parameter uncertainties:
  1  5.09549e-05
  2  9.87278e-05
  3  2.89354
  4  0.000267359
  5  0.000124545
  6  5.28528
  7  8.4563
  8  24.4608
  9  6.51598
  10  33.1645
  11  5.20476
  12  8.72935e-05
  13  5.72573
  14  10.994
  15  1.97983e-07
  16  0.86766
  17  3.15813e-06
  18  5.88856e-05
  19  31.8074
  20  7.80247
  21  0.00023565
  22  10.5554
  23  6.58453e-06
  24  7.82311
  25  0.000351588
  26  4.84275e-05
  27  1.28354e-05
  28  9.22973e-06
  29  0.206611
  30  0.197878
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.094e+01  1.099e+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:  7.780e-01  1.979e-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.103e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.50
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.50e-08 +/- 2.51e-08
Energy Flux (Fixed Index): 8.62e-06 +/- 8.66e-06

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

Saving results to:
/scratch/kocevski/836923/likelihoodResults_652233601_652492801_4FGL_J1453.5+3505_daily_bin1593.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) = 5820.47945157
delta logL = 0.0911960670219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5820.47606827
delta logL = 0.0945793701767

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1380       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7687       1.0000          .0000       10.000    
     3 'Normalizat'    1.0913       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78605       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=   5820.476     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      273 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1370        14.673        .15014E-03   -.13205E-03
   2  Index         2.7690        1.2357        .74224E-02    .42637E-03
   3  Normalizat    1.0914        .19613        .22205E-03   -.14926E-03
   4  Prefactor     .78597        .19514        .25852E-03   -.14204E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.13702
  Index      = 2.76899
  Normalizat = 1.09141
  Prefactor  = 0.78597
 **********
 **   18 **HESSE 
 **********

 FCN=   5820.476     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1370        12.081        .60057E-05   -1.5174    
   2  Index         2.7690        1.0209        .14845E-02   -.46252    
   3  Normalizat    1.0914        .19570        .44411E-04   -.90028    
   4  Prefactor     .78597        .19488        .10341E-04   -1.0025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8119e-11
Minuit parameter uncertainties:
  1  12.0848
  2  1.03001
  3  0.195831
  4  0.195055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836923': 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) = 5820.4760681
delta logL = 0.0945795359912

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  7.137e+00  1.208e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.769e+00  1.030e+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:  7.860e-01  1.951e-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.091e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.69
Ra Dec: 223.392 35.088
Photon Index (Free Index): 2.77 +/- 1.03
Photon Flux (Free Index): 3.37e-08 +/- 3.55e-08
Energy Flux (Free Index): 7.71e-06 +/- 7.33e-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/836923/cmap_HighResolution_652233601_652492801_4FGL_J1453.5+3505_daily_bin1593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', comment='SUCCESS', photon_flux='2.50e-08', energy_flux2='7.71e-06', photon_flux_error='2.51e-08', dlogl='9.46e-02', energy_flux='8.62e-06', photon_flux2='3.37e-08', job_status='DONE', time_completed='2021-09-10 12:23:35.078829', photon_index_error2='1.03', photon_index2='2.77', ts='1.50', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='8.46e-08', energy_flux_error2='7.33e-06', EG='1.10', time_epoch_completed='1631301815.08', return_code='0', job_id='836923', GAL2='0.79', EG2='1.09', return_code2='0', energy_flux_error='8.66e-06', photon_flux_error2='3.55e-08', ts2='1.69', photon_index='2.36' WHERE bin_id='1593' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:23:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 836923: <4FGL_J1453.5+3505_daily_bin1593> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1593> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 10 12:07:45 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:07:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:07:46 2021
Terminated at Fri Sep 10 12:23:36 2021
Results reported at Fri Sep 10 12:23:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1593 223.392 35.0884 652233601 652492801 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 :                                   823.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

