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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1434
RA = 223.392, Dec = 35.0884
tmin = 611020801, tmax = 611280001
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='836675', job_status='RUN', time_executed='2021-09-10 12:09:05.543692', time_epoch_executed='1631300945.54' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836675

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836675/ft1_4FGL_J1453.5+3505_daily_bin1434.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836675/ft2_4FGL_J1453.5+3505_daily_bin1434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836675/ft1_4FGL_J1453.5+3505_daily_bin1434.fits outfile=/scratch/kocevski/836675/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1434.fits ra=223.392 dec=35.0884 rad=12.0 tmin=611020801.0 tmax=611280001.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.56
user 3.29
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836675/ft1_filtered_4FGL_J1453.5+3505_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/836675/ft2_4FGL_J1453.5+3505_daily_bin1434.fits sctable="SC_DATA" expcube=/scratch/kocevski/836675/ltcube_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.fits outfile=/scratch/kocevski/836675/expmap_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.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/836675/ltcube_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.fits
.....................!
real 191.12
user 185.43
sys 5.10

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/836675/ft1_filtered_4FGL_J1453.5+3505_daily_bin1434.fits scfile=/scratch/kocevski/836675/ft2_4FGL_J1453.5+3505_daily_bin1434.fits outfile=/scratch/kocevski/836675/cmap_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.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.60
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836675/ft1_filtered_4FGL_J1453.5+3505_daily_bin1434.fits scfile=/scratch/kocevski/836675/ft2_4FGL_J1453.5+3505_daily_bin1434.fits outfile=/scratch/kocevski/836675/cmap_HighResolution_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.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.77
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/836675/ft1_filtered_4FGL_J1453.5+3505_daily_bin1434.fits', '/scratch/kocevski/836675/ft2_4FGL_J1453.5+3505_daily_bin1434.fits', expMap='/scratch/kocevski/836675/expmap_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.fits', expCube='/scratch/kocevski/836675/ltcube_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/836675/Model_4FGL_J1453.5+3505_daily_bin1434.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/836675/ft1_filtered_4FGL_J1453.5+3505_daily_bin1434.fits
Spacecraft file(s): /scratch/kocevski/836675/ft2_4FGL_J1453.5+3505_daily_bin1434.fits
Exposure map: /scratch/kocevski/836675/expmap_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.fits
Exposure cube: /scratch/kocevski/836675/ltcube_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/836675/Model_4FGL_J1453.5+3505_daily_bin1434.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5777.87890793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6440       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .64388       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.087       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3508       1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.744       1.0000         .10000E-03   10000.    
     9 'norm      '    .62989       1.0000         .10000E-03   10000.    
    10 'Prefactor '    62.272       1.0000         .10000E-03   10000.    
    11 'norm      '    11.168       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.596       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3065       1.0000         .10000E-03   10000.    
    17 'norm      '    .87733       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.9571       1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.878       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12740E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    7.8458       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .71725       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0804       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.781     FROM MIGRAD    STATUS=CONVERGED    738 CALLS     3363 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6454        15.455        .13059E-06   -.16183E-04
   2  Prefactor     .10000E-03    5.6500        .41188E-07** at limit **
   3  norm          .64395        1.6802        .84143E-06    .60271E-03
   4  Prefactor     .10000E-03    9.2478        .12764E-06** at limit **
   5  Prefactor     .10000E-03    13.202       -.21790E-06** at limit **
   6  Prefactor     20.088        5.0422        .33006E-08   -.17332E-03
   7  norm          5.3462        11.077        .16649E-06   -.39063E-04
   8  Prefactor     35.749        25.707        .16865E-06   -.12764E-04
   9  norm          .62781        3.7143        .57925E-06   -.33257E-03
  10  Prefactor     62.247        45.640       -.26474E-06   -.16652E-03
  11  norm          11.168        5.8960        .75443E-06   -.15716E-03
  12  Prefactor     18.595        22.099        .16323E-07   -.18637E-04
  13  norm          .10000E-03    2.5469       -.70803E-08** at limit **
  14  Prefactor     .10000E-03    12.768       -.22638E-06** at limit **
  15  Prefactor     .10000E-03    7.3079       -.18778E-06** at limit **
  16  norm          2.3074        1.4541       -.15251E-07   -.98759E-04
  17  norm          .87694        2.4492        .86208E-06    .16985E-03
  18  Prefactor     .10000E-03    2.8435       -.43298E-07** at limit **
  19  Prefactor     .10000E-03    16.421        .20951E-06** at limit **
  20  Prefactor     .10000E-03    2.8286        .38493E-07** at limit **
  21  Prefactor     .10000E-03    7.6308       -.10302E-06** at limit **
  22  Prefactor     .10000E-03    9.1078       -.50685E-07** at limit **
  23  norm          2.9583        1.7006        .48869E-06   -.40677E-03
  24  Prefactor     11.870        13.072       -.90070E-06    .38597E-04
  25  Prefactor     .10000E-03    49.523        .46728E-06** at limit **
  26  Prefactor     .10000E-03    4.3741       -.33543E-08** at limit **
  27  norm          .10000E-03    2.8905        .21545E-09** at limit **
  28  Prefactor     7.8248        27.138       -.28580E-06   -.69065E-04
  29  Normalizat    .71678        .17691       -.47719E-06   -.14569E-03
  30  Prefactor     1.0808        .17579       -.38132E-06   -.84587E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.64542
  Prefactor  = 0.0001
  norm       = 0.643947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.0878
  norm       = 5.3462
  Prefactor  = 35.7487
  norm       = 0.627814
  Prefactor  = 62.2475
  norm       = 11.168
  Prefactor  = 18.595
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.30743
  norm       = 0.876944
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.95826
  Prefactor  = 11.8696
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.82484
  Normalizat = 0.716785
  Prefactor  = 1.08081
 **********
 **   18 **HESSE 
 **********

 FCN=   5777.781     FROM HESSE     STATUS=OK           590 CALLS     3953 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6454        15.458        .12904E-03   -1.5087    
   2  Prefactor     .10000E-03    5.6547        .17646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .64395        1.5164        .16740E-02   -1.5547    
   4  Prefactor     .10000E-03    9.3961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.088        5.0447        .81667E-04   -1.4811    
   7  norm          5.3462        11.037        .17374E-03   -1.5245    
   8  Prefactor     35.749        25.775        .67031E-04   -1.4511    
   9  norm          .62781        14.385        .26667E-02   -1.5550    
  10  Prefactor     62.247        45.613        .25425E-03   -1.4128    
  11  norm          11.168        5.8237        .59940E-03   -1.5039    
  12  Prefactor     18.595        22.109        .92877E-04   -1.4845    
  13  norm          .10000E-03    2.5477        .11847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.4706        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3074        1.4499        .69319E-04   -1.5404    
  17  norm          .87694        2.3002        .19499E-02   -1.5521    
  18  Prefactor     .10000E-03    2.8490        .12513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8418        .12484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.6412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.1886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.9583        1.6790        .28116E-03   -1.5364    
  24  Prefactor     11.870        13.110        .11623E-03   -1.5019    
  25  Prefactor     .10000E-03    49.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    4.3749        .15526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    2.8912        .12621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     7.8248        27.188        .14315E-03   -1.5148    
  29  Normalizat    .71678        .20145        .26431E-03   -1.0323    
  30  Prefactor     1.0808        .20090        .22817E-03   -.90082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.10429e-10
Minuit parameter uncertainties:
  1  15.4647
  2  6.0182e-06
  3  1.51651
  4  2.77848e-05
  5  5.75598e-05
  6  5.04485
  7  11.0413
  8  25.7832
  9  6.01149
  10  45.639
  11  5.82398
  12  22.1186
  13  1.72987e-07
  14  4.88093e-05
  15  1.28745e-05
  16  1.44988
  17  2.30042
  18  2.53091e-06
  19  8.34456e-05
  20  2.52559e-07
  21  1.20515e-05
  22  2.70111e-05
  23  1.67907
  24  13.1133
  25  3.0858e-05
  26  5.1e-07
  27  1.05284e-06
  28  27.2305
  29  0.201653
  30  0.201044
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  4.881e-05  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.081e+00  2.010e-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:  7.168e-01  2.017e-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.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/836675/likelihoodResults_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.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) = 5777.78154815
delta logL = -0.000367216216546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5777.78118088
delta logL = 5.22595655639e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3852       1.0000          .0000       10.000    
     3 'Normalizat'    .71678       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0808       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=   5777.781     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    485.35        .90712E-02** at limit **
   2  Index         2.4081        5.3687        .50000       -.15532E-04
   3  Normalizat    .71679        .26001E-01    .42514E-01    .18895E-04
   4  Prefactor     1.0808        .27193E-01    .38365E-01   -.70953E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.40813
  Normalizat = 0.716786
  Prefactor  = 1.08081
 **********
 **   18 **HESSE 
 **********

 FCN=   5777.781     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .86E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6454.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4081        7.1635        .50000       -.54495    
   3  Normalizat    .71679        .14945        .26431E-03   -1.0323    
   4  Prefactor     1.0808        .15609        .22817E-03   -.90082    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.56219e-08
Minuit parameter uncertainties:
  1  0.001401
  2  66.3489
  3  0.149533
  4  0.156157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836675': 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): 102
logL (Free Index) = 5777.78118078
delta logL = 1.60043782671e-07

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.401e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.408e+00  6.635e+01  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.081e+00  1.562e-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:  7.168e-01  1.495e-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/836675/cmap_HighResolution_611020801_611280001_4FGL_J1453.5+3505_daily_bin1434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.47e-03', job_status='DONE', photon_flux_upper_limit='5.80e-08', time_completed='2021-09-10 12:22:01.675688', job_id='836675', GAL2='1.08', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1631301721.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1434' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:22:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 836675: <4FGL_J1453.5+3505_daily_bin1434> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1434 223.392 35.0884 611020801 611280001 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 :                                   772.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            879 sec.

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

