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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1461
RA = 223.392, Dec = 35.0884
tmin = 618019201, tmax = 618278401
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='836717', job_status='RUN', time_executed='2021-09-10 12:09:05.737798', time_epoch_executed='1631300945.74' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836717

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836717/ft1_4FGL_J1453.5+3505_daily_bin1461.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836717/ft2_4FGL_J1453.5+3505_daily_bin1461.fits


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

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

Done.
real 5.64
user 4.95
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/836717/ft1_filtered_4FGL_J1453.5+3505_daily_bin1461.fits" evtable="EVENTS" scfile=/scratch/kocevski/836717/ft2_4FGL_J1453.5+3505_daily_bin1461.fits sctable="SC_DATA" outfile=/scratch/kocevski/836717/ltcube_618019201_618278401_4FGL_J1453.5+3505_daily_bin1461.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/836717/ft2_4FGL_J1453.5+3505_daily_bin1461.fits
.....................!
real 11.48
user 11.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836717/ft1_filtered_4FGL_J1453.5+3505_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/836717/ft2_4FGL_J1453.5+3505_daily_bin1461.fits sctable="SC_DATA" expcube=/scratch/kocevski/836717/ltcube_618019201_618278401_4FGL_J1453.5+3505_daily_bin1461.fits outfile=/scratch/kocevski/836717/expmap_618019201_618278401_4FGL_J1453.5+3505_daily_bin1461.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/836717/ltcube_618019201_618278401_4FGL_J1453.5+3505_daily_bin1461.fits
.....................!
real 189.62
user 184.74
sys 4.35

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/836717/ft1_filtered_4FGL_J1453.5+3505_daily_bin1461.fits scfile=/scratch/kocevski/836717/ft2_4FGL_J1453.5+3505_daily_bin1461.fits outfile=/scratch/kocevski/836717/cmap_618019201_618278401_4FGL_J1453.5+3505_daily_bin1461.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836717/ft1_filtered_4FGL_J1453.5+3505_daily_bin1461.fits scfile=/scratch/kocevski/836717/ft2_4FGL_J1453.5+3505_daily_bin1461.fits outfile=/scratch/kocevski/836717/cmap_HighResolution_618019201_618278401_4FGL_J1453.5+3505_daily_bin1461.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.64
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4500       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.930       1.0000         .10000E-03   10000.    
     3 'norm      '    4.2571       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .94339E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.557       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.0444       1.0000         .10000E-03   10000.    
     7 'norm      '    5.9124       1.0000         .10000E-03   10000.    
     8 'Prefactor '    39.311       1.0000         .10000E-03   10000.    
     9 'norm      '    5.8576       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.931       1.0000         .10000E-03   10000.    
    13 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0590       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.3380       1.0000         .10000E-03   10000.    
    16 'norm      '    6.0849       1.0000         .10000E-03   10000.    
    17 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.516       1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.914       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.0199       1.0000         .10000E-03   10000.    
    23 'norm      '    .10307E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9923       1.0000         .10000E-03   10000.    
    25 'Prefactor '    20.207       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .85319       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2114       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=   5441.684     FROM MIGRAD    STATUS=CONVERGED    785 CALLS     4634 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4442        22.374        .66314E-07    .65241E-05
   2  Prefactor     17.924        20.118       -.42892E-07    .33552E-04
   3  norm          4.2540        5.1956        .60255E-07   -.21171E-02
   4  Prefactor     .10002E-03    21.157       -.29399E-05** at limit **
   5  Prefactor     13.530        19.699        .24087E-05    .89185E-04
   6  Prefactor     8.0442        5.2819       -.46468E-07    .16458E-04
   7  norm          5.9008        15.409        .19872E-06    .30643E-04
   8  Prefactor     39.294        36.199       -.10102E-05    .17882E-04
   9  norm          5.8566        7.7658       -.26658E-07    .36541E-05
  10  Prefactor     .10000E-03    19.698       -.67378E-07** at limit **
  11  norm          .10000E-03    1.8868        .13269E-07** at limit **
  12  Prefactor     16.930        37.252       -.58614E-06    .55661E-05
  13  norm          .10000E-03    19.162       -.39899E-07** at limit **
  14  Prefactor     2.0633        66.505       -.45778E-06   -.11334E-04
  15  Prefactor     4.3375        12.982       -.11341E-06   -.13845E-04
  16  norm          6.0841        2.9222       -.15363E-07    .77137E-04
  17  norm          .10000E-03    2.0395       -.58276E-08** at limit **
  18  Prefactor     .10000E-03    5.9029       -.34521E-07** at limit **
  19  Prefactor     .10000E-03    68.745        .56747E-07** at limit **
  20  Prefactor     18.520        13.194       -.68566E-07    .92576E-05
  21  Prefactor     14.881        29.311       -.18289E-05   -.17961E-04
  22  Prefactor     2.0188        17.444       -.79584E-07   -.60804E-03
  23  norm          .10000E-03    1.2442       -.31240E-07** at limit **
  24  Prefactor     3.9947        8.6558       -.28021E-06   -.76758E-05
  25  Prefactor     20.209        25.424       -.89013E-07    .60057E-05
  26  Prefactor     .10000E-03    11.428        .18695E-08** at limit **
  27  norm          .10000E-03    13.871        .62008E-07** at limit **
  28  Prefactor     .10000E-03    29.488        .32450E-06** at limit **
  29  Normalizat    .85351        .22747        .14267E-05    .18993E-04
  30  Prefactor     1.2111        .20389       -.33488E-06    .11577E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.4442
  Prefactor  = 17.9244
  norm       = 4.25402
  Prefactor  = 0.000100023
  Prefactor  = 13.5298
  Prefactor  = 8.0442
  norm       = 5.9008
  Prefactor  = 39.2944
  norm       = 5.85659
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.9297
  norm       = 0.0001
  Prefactor  = 2.0633
  Prefactor  = 4.3375
  norm       = 6.08415
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.5197
  Prefactor  = 14.8807
  Prefactor  = 2.01882
  norm       = 0.0001
  Prefactor  = 3.9947
  Prefactor  = 20.209
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.853514
  Prefactor  = 1.21105
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.684     FROM HESSE     STATUS=OK           594 CALLS     5228 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4442        22.377        .15803E-03   -1.5200    
   2  Prefactor     17.924        20.086        .94586E-04   -1.4861    
   3  norm          4.2540        6.1602        .97641E-03   -1.5295    
   4  Prefactor     .10002E-03    153.58        .55344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.530        20.291        .10879E-03   -1.4972    
   6  Prefactor     8.0442        5.2838        .12939E-03   -1.5141    
   7  norm          5.9008        15.409        .16515E-03   -1.5222    
   8  Prefactor     39.294        36.230        .63928E-04   -1.4453    
   9  norm          5.8566        7.7372        .16593E-03   -1.5224    
  10  Prefactor     .10000E-03    19.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.8923        .98945E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.930        37.212        .97337E-04   -1.4885    
  13  norm          .10000E-03    19.710        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0633        64.010        .28801E-03   -1.5421    
  15  Prefactor     4.3375        12.764        .19340E-03   -1.5291    
  16  norm          6.0841        2.9152        .73760E-04   -1.5215    
  17  norm          .10000E-03    2.0552        .10281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.9220        .17486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    68.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.520        13.252        .93078E-04   -1.4847    
  21  Prefactor     14.881        34.201        .10371E-03   -1.4936    
  22  Prefactor     2.0188        57.987        .14559E-02   -1.5424    
  23  norm          .10000E-03    2.1221        .14612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.9947        8.0579        .20185E-03   -1.5308    
  25  Prefactor     20.209        25.414        .89102E-04   -1.4809    
  26  Prefactor     .10000E-03    11.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    13.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    29.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .85351        .27903        .29540E-03   -.98113    
  30  Prefactor     1.2111        .24968        .24675E-03   -.85992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27275e-08
Minuit parameter uncertainties:
  1  22.4063
  2  20.0937
  3  6.16113
  4  0.00380035
  5  20.3017
  6  5.28413
  7  15.4197
  8  36.2498
  9  7.73852
  10  2.87443e-06
  11  2.2699e-06
  12  37.2625
  13  6.37732e-07
  14  23.0109
  15  12.7723
  16  2.91525
  17  2.12631e-06
  18  1.8328e-05
  19  1.79795e-05
  20  13.2537
  21  34.246
  22  21.6619
  23  1.97543e-07
  24  8.06009
  25  25.4279
  26  4.65793e-06
  27  9.63328e-06
  28  4.77381e-06
  29  0.279502
  30  0.249925
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  2.063e+00  2.301e+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:  1.211e+00  2.499e-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:  8.535e-01  2.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/836717/likelihoodResults_618019201_618278401_4FGL_J1453.5+3505_daily_bin1461.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) = 5441.62350613
delta logL = 0.0605401161401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5441.61692374
delta logL = 0.0671225009919

Fit tolerance = 1e-08

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

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

 FCN=   5441.617     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      229 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0644        245.41        .57829E-02    .33880E-03
   2  Index         3.1127        3.8019        .21866        .50710E-04
   3  Normalizat    .82976        .38768E-01    .67614E-01    .15756E-04
   4  Prefactor     1.2228        .37660E-01    .55560E-01    .15549E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.06436
  Index      = 3.11271
  Normalizat = 0.829759
  Prefactor  = 1.22283
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.617     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0644        25.251        .23132E-03   -1.5358    
   2  Index         3.1127        2.5827        .97754E-02   -.38705    
   3  Normalizat    .82976        .25578        .29914E-03   -.98974    
   4  Prefactor     1.2228        .24356        .24567E-03   -.85632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20745e-11
Minuit parameter uncertainties:
  1  17.6029
  2  2.73983
  3  0.256154
  4  0.243783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836717': 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) = 5441.61692116
delta logL = 0.0671250816313

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  3.064e+00  1.760e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.113e+00  2.740e+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:  1.223e+00  2.438e-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:  8.298e-01  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/836717/cmap_HighResolution_618019201_618278401_4FGL_J1453.5+3505_daily_bin1461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.57e-03', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2021-09-10 12:22:15.932156', job_id='836717', GAL2='1.22', fit_tolerance='1e-08', EG2='0.83', EG='0.85', time_epoch_completed='1631301735.93', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='6.71e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1461' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:22:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 836717: <4FGL_J1453.5+3505_daily_bin1461> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1461> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 10 12:07:26 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:07:27 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:27 2021
Terminated at Fri Sep 10 12:22:19 2021
Results reported at Fri Sep 10 12:22:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1461 223.392 35.0884 618019201 618278401 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 :                                   781.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            893 sec.

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

