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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin353
RA = 223.625, Dec = 51.409
tmin = 330825601, tmax = 331084801
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='849370', job_status='RUN', time_executed='2021-09-10 12:48:45.019874', time_epoch_executed='1631303325.02' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='353'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849370

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849370/ft1_4FGL_J1454.4+5124_daily_bin353.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849370/ft1_4FGL_J1454.4+5124_daily_bin353.fits outfile=/scratch/kocevski/849370/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin353.fits ra=223.625 dec=51.409 rad=12.0 tmin=330825601.0 tmax=331084801.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.97
user 3.17
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.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/849370/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin353.fits evtable="EVENTS" outfile="/scratch/kocevski/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.fits" evtable="EVENTS" scfile=/scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits sctable="SC_DATA" outfile=/scratch/kocevski/849370/ltcube_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.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/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits
.....................!
real 11.63
user 11.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits sctable="SC_DATA" expcube=/scratch/kocevski/849370/ltcube_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.fits outfile=/scratch/kocevski/849370/expmap_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.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/849370/ltcube_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.fits
.....................!
real 191.75
user 186.34
sys 5.05

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.4+5124 @ 223.625 51.409

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.fits scfile=/scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits outfile=/scratch/kocevski/849370/cmap_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.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.625 yref=51.409 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.fits scfile=/scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits outfile=/scratch/kocevski/849370/cmap_HighResolution_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.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.625 yref=51.409 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849370/Model_4FGL_J1454.4+5124_daily_bin353.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/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.fits.....................!
real 51.77
user 50.48
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.fits', '/scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits', expMap='/scratch/kocevski/849370/expmap_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.fits', expCube='/scratch/kocevski/849370/ltcube_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849370/Model_4FGL_J1454.4+5124_daily_bin353.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.4+5124'

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/849370/ft1_filtered_4FGL_J1454.4+5124_daily_bin353.fits
Spacecraft file(s): /scratch/kocevski/849370/ft2_4FGL_J1454.4+5124_daily_bin353.fits
Exposure map: /scratch/kocevski/849370/expmap_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.fits
Exposure cube: /scratch/kocevski/849370/ltcube_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849370/Model_4FGL_J1454.4+5124_daily_bin353.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) = 6408.39570657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10846E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4938       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11079E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.686       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3416       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10559E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1866       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10666E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .42420E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.164       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8192       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.169       1.0000         .10000E-03   10000.    
    16 'norm      '    3.4853       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.393       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .40721E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11021E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11921E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.3876       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.4511       1.0000         .10000E-03   10000.    
    25 'norm      '    6.4943       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .92482       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6408.391     FROM MIGRAD    STATUS=CONVERGED    704 CALLS     3520 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    122.00        .33772E-05** at limit **
   2  norm          2.4909        3.8102        .35913E-07   -.23409E-04
   3  Prefactor     .10000E-03    182.34       -.10031E-04** at limit **
   4  Prefactor     36.673        52.000       -.33536E-06   -.36386E-05
   5  Prefactor     5.3072        76.039       -.18778E-05   -.76189E-05
   6  Prefactor     .10000E-03    3.1012        .45311E-07** at limit **
   7  Prefactor     .10000E-03    30.262        .84831E-06** at limit **
   8  Prefactor     2.1822        2.5486        .39155E-07    .47031E-04
   9  Prefactor     .10000E-03    7.2116        .10102E-07** at limit **
  10  Prefactor     .10000E-03    47.761       -.49340E-06** at limit **
  11  Prefactor     .10000E-03    40.405       -.20146E-05** at limit **
  12  Prefactor     .10001E-03    23.079        .97530E-06** at limit **
  13  Prefactor     10.163        16.897        .38557E-08    .90333E-06
  14  Prefactor     4.8174        12.967       -.23367E-06   -.86626E-05
  15  Prefactor     14.170        13.684       -.11967E-07    .36075E-05
  16  norm          3.4853        1.5854       -.65486E-08    .15862E-04
  17  Prefactor     .10000E-03    5.6404        .47210E-07** at limit **
  18  Prefactor     11.392        6.6589       -.62199E-07    .18626E-04
  19  Prefactor     .10000E-03    3.1114        .43006E-07** at limit **
  20  norm          .10004E-03    6.6824       -.77592E-06** at limit **
  21  Prefactor     .10000E-03    5.7567        .59781E-06** at limit **
  22  Prefactor     .10003E-03    89.378        .31354E-05** at limit **
  23  Prefactor     4.3854        9.1532       -.13195E-05    .55185E-04
  24  Prefactor     3.4478        7.2125        .16601E-06    .11727E-04
  25  norm          6.4977        9.0018        .11912E-06    .11499E-04
  26  Prefactor     .10000E-03    33.964        .20103E-07** at limit **
  27  Normalizat    .92500        .15797       -.49523E-06    .68019E-04
  28  Prefactor     .98321        .17543        .43141E-06    .15798E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.4909
  Prefactor  = 0.000100002
  Prefactor  = 36.6728
  Prefactor  = 5.30717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.18219
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 10.1626
  Prefactor  = 4.8174
  Prefactor  = 14.1696
  norm       = 3.48525
  Prefactor  = 0.0001
  Prefactor  = 11.392
  Prefactor  = 0.0001
  norm       = 0.000100037
  Prefactor  = 0.000100002
  Prefactor  = 0.000100032
  Prefactor  = 4.38538
  Prefactor  = 3.44775
  norm       = 6.49768
  Prefactor  = 0.0001
  Normalizat = 0.924999
  Prefactor  = 0.983206
 **********
 **   18 **HESSE 
 **********

 FCN=   6408.391     FROM HESSE     STATUS=OK           539 CALLS     4059 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    122.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4909        3.7860        .18299E-03   -1.5392    
   3  Prefactor     .10000E-03    183.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.673        51.693        .66168E-04   -1.4496    
   5  Prefactor     5.3072        76.228        .17389E-03   -1.5247    
   6  Prefactor     .10000E-03    3.1329        .13748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    30.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1822        2.5189        .12524E-03   -1.5413    
   9  Prefactor     .10000E-03    7.2172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    48.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    40.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    112.72        .52795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.163        16.890        .12569E-03   -1.5070    
  14  Prefactor     4.8174        12.985        .91628E-03   -1.5269    
  15  Prefactor     14.170        13.685        .10641E-03   -1.4955    
  16  norm          3.4853        1.5841        .64989E-04   -1.5335    
  17  Prefactor     .10000E-03    5.7309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.392        6.6475        .11869E-03   -1.5033    
  19  Prefactor     .10000E-03    3.1367        .13785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10004E-03    26.183        .18649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.161        .33436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10003E-03    12.992        .83078E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.3854        9.7069        .19227E-03   -1.5289    
  24  Prefactor     3.4478        7.1262        .21770E-03   -1.5337    
  25  norm          6.4977        8.9050        .15748E-03   -1.5198    
  26  Prefactor     .10000E-03    33.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .92500        .18717        .22241E-03   -.95587    
  28  Prefactor     .98321        .20719        .25009E-03   -.93291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56687e-09
Minuit parameter uncertainties:
  1  0.000302211
  2  3.78635
  3  0.00121095
  4  51.7562
  5  40.2888
  6  8.94597e-06
  7  7.45334e-05
  8  2.51903
  9  1.40299e-06
  10  3.48126e-05
  11  8.16128e-05
  12  0.00233632
  13  16.8978
  14  12.993
  15  13.6877
  16  1.58414
  17  1.72311e-06
  18  6.64797
  19  8.93394e-07
  20  0.00196465
  21  0.000298827
  22  0.00128349
  23  9.71037
  24  7.12796
  25  8.90679
  26  5.76518e-07
  27  0.187305
  28  0.207355
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.485e+00  1.584e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.832e-01  2.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.250e-01  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.73
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.24e-08 +/- 2.38e-08
Energy Flux (Fixed Index): 3.75e-05 +/- 1.70e-05

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) = 6408.20491326
delta logL = 0.185800243151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6408.20230152
delta logL = 0.188411979736

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6660       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7240       1.0000          .0000       5.0000    
     3 'Normalizat'    .93724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+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=   6408.202     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      256 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6660        1.7280        .70157E-04    .70866E-03
   2  alpha         1.7239        .39188        .10951E-01    .41869E-04
   3  Normalizat    .93725        .17791        .22123E-03   -.27493E-04
   4  Prefactor     .97755        .20599        .25087E-03   -.23792E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.66598
  alpha      = 1.72394
  Normalizat = 0.93725
  Prefactor  = 0.977546
 **********
 **   18 **HESSE 
 **********

 FCN=   6408.202     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6660        1.7287        .14031E-04   -1.5325    
   2  alpha         1.7239        .39193        .43804E-03   -.31564    
   3  Normalizat    .93725        .17805        .88492E-05   -.95163    
   4  Prefactor     .97755        .20619        .10035E-04   -.93482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.44183e-11
Minuit parameter uncertainties:
  1  1.72876
  2  0.393733
  3  0.178166
  4  0.206353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849370': 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) = 6408.20230152
delta logL = 0.188411988473

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.666e+00  1.729e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.724e+00  3.937e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.775e-01  2.064e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.372e-01  1.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.14
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.72 +/- 0.39
Photon Flux (Free Index): 3.93e-08 +/- 2.69e-08
Energy Flux (Free Index): 5.07e-05 +/- 3.66e-05

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/849370/cmap_HighResolution_330825601_331084801_4FGL_J1454.4+5124_daily_bin353.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.24e-08', energy_flux2='5.07e-05', photon_flux_error='2.38e-08', dlogl='1.88e-01', energy_flux='3.75e-05', photon_flux2='3.93e-08', job_status='DONE', time_completed='2021-09-10 13:01:24.893677', photon_index_error2='0.39', photon_index2='1.72', ts='17.73', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='3.66e-05', EG='0.92', time_epoch_completed='1631304084.89', return_code='0', job_id='849370', GAL2='0.98', EG2='0.94', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='2.69e-08', ts2='18.14', photon_index='1.97' WHERE bin_id='353' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 849370: <4FGL_J1454.4+5124_daily_bin353> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin353> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:09 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:11 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:46:11 2021
Terminated at Fri Sep 10 13:01:25 2021
Results reported at Fri Sep 10 13:01:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin353 223.625 51.409 330825601 331084801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.4+5124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   759.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            916 sec.

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

