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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin397
RA = 223.625, Dec = 51.409
tmin = 342230401, tmax = 342489601
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='849434', job_status='RUN', time_executed='2021-09-10 12:46:25.906134', time_epoch_executed='1631303185.91' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='397'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849434

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849434/ft1_4FGL_J1454.4+5124_daily_bin397.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849434/ft2_4FGL_J1454.4+5124_daily_bin397.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849434/ft1_4FGL_J1454.4+5124_daily_bin397.fits outfile=/scratch/kocevski/849434/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin397.fits ra=223.625 dec=51.409 rad=12.0 tmin=342230401.0 tmax=342489601.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.53
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849434/ft1_filtered_4FGL_J1454.4+5124_daily_bin397.fits" evtable="EVENTS" scfile=/scratch/kocevski/849434/ft2_4FGL_J1454.4+5124_daily_bin397.fits sctable="SC_DATA" outfile=/scratch/kocevski/849434/ltcube_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.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/849434/ft2_4FGL_J1454.4+5124_daily_bin397.fits
.....................!
real 11.78
user 11.46
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849434/ft1_filtered_4FGL_J1454.4+5124_daily_bin397.fits evtable="EVENTS" scfile=/scratch/kocevski/849434/ft2_4FGL_J1454.4+5124_daily_bin397.fits sctable="SC_DATA" expcube=/scratch/kocevski/849434/ltcube_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.fits outfile=/scratch/kocevski/849434/expmap_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.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/849434/ltcube_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.fits
.....................!
real 189.58
user 184.81
sys 4.39

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/849434/ft1_filtered_4FGL_J1454.4+5124_daily_bin397.fits scfile=/scratch/kocevski/849434/ft2_4FGL_J1454.4+5124_daily_bin397.fits outfile=/scratch/kocevski/849434/cmap_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849434/ft1_filtered_4FGL_J1454.4+5124_daily_bin397.fits scfile=/scratch/kocevski/849434/ft2_4FGL_J1454.4+5124_daily_bin397.fits outfile=/scratch/kocevski/849434/cmap_HighResolution_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.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.40
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849434/ft1_filtered_4FGL_J1454.4+5124_daily_bin397.fits', '/scratch/kocevski/849434/ft2_4FGL_J1454.4+5124_daily_bin397.fits', expMap='/scratch/kocevski/849434/expmap_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.fits', expCube='/scratch/kocevski/849434/ltcube_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849434/Model_4FGL_J1454.4+5124_daily_bin397.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/849434/ft1_filtered_4FGL_J1454.4+5124_daily_bin397.fits
Spacecraft file(s): /scratch/kocevski/849434/ft2_4FGL_J1454.4+5124_daily_bin397.fits
Exposure map: /scratch/kocevski/849434/expmap_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.fits
Exposure cube: /scratch/kocevski/849434/ltcube_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849434/Model_4FGL_J1454.4+5124_daily_bin397.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) = 6757.58785203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.1371       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .28537E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19400E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.101       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3009       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7644       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.056       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.385       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.537       1.0000         .10000E-03   10000.    
    15 'Prefactor '    35.500       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7231       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .64877       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.3478       1.0000         .10000E-03   10000.    
    25 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    64.325       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0993       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .85671       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=   6757.526     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3511 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.358        .19975E-08** at limit **
   2  norm          7.1372        3.8532       -.12432E-08    .25064E-04
   3  Prefactor     .10000E-03    258.57        .96532E-06** at limit **
   4  Prefactor     .10000E-03    22.486       -.13517E-06** at limit **
   5  Prefactor     .10000E-03    17.392       -.27591E-06** at limit **
   6  Prefactor     .10001E-03    4.1548       -.97470E-06** at limit **
   7  Prefactor     15.107        17.070        .86748E-06    .12258E-03
   8  Prefactor     3.3016        2.6662        .35678E-07    .57965E-04
   9  Prefactor     .10000E-03    5.3259       -.23395E-08** at limit **
  10  Prefactor     9.7728        22.355       -.96314E-07    .72184E-05
  11  Prefactor     23.884        57.514        .68455E-06    .39358E-05
  12  Prefactor     .10000E-03    7.2590       -.22581E-07** at limit **
  13  Prefactor     13.385        17.036       -.50937E-08   -.57919E-07
  14  Prefactor     21.554        17.340        .63121E-08    .50615E-04
  15  Prefactor     35.501        17.626       -.10254E-06   -.24427E-05
  16  norm          2.7235        1.5254       -.48431E-08    .98694E-06
  17  Prefactor     .10000E-03    2.9905        .43922E-07** at limit **
  18  Prefactor     .10000E-03    2.0244       -.41359E-07** at limit **
  19  Prefactor     .10000E-03    2.7339        .91529E-07** at limit **
  20  norm          .64668        2.6601        .18904E-05    .11870E-03
  21  Prefactor     .10000E-03    3.8772       -.25090E-06** at limit **
  22  Prefactor     .10000E-03    15.284       -.45754E-07** at limit **
  23  Prefactor     .10000E-03    19.080       -.32896E-06** at limit **
  24  Prefactor     7.3483        5.5619       -.29080E-09    .57416E-05
  25  norm          .10000E-03    3.0871        .87561E-07** at limit **
  26  Prefactor     64.327        88.885       -.72039E-07    .16036E-06
  27  Normalizat    1.0993        .16665        .74723E-06    .62980E-04
  28  Prefactor     .85674        .18520       -.97321E-06    .10155E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 7.13724
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 15.1067
  Prefactor  = 3.30155
  Prefactor  = 0.0001
  Prefactor  = 9.77276
  Prefactor  = 23.8839
  Prefactor  = 0.0001
  Prefactor  = 13.385
  Prefactor  = 21.5535
  Prefactor  = 35.5008
  norm       = 2.72353
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.646682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.34833
  norm       = 0.0001
  Prefactor  = 64.3272
  Normalizat = 1.09925
  Prefactor  = 0.856736
 **********
 **   18 **HESSE 
 **********

 FCN=   6757.526     FROM HESSE     STATUS=OK           517 CALLS     4028 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.1372        3.8559        .11392E-03   -1.5174    
   3  Prefactor     .10000E-03    257.65        .21411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    10.948        .29718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.107        17.109        .10307E-03   -1.4930    
   8  Prefactor     3.3016        2.6468        .10639E-03   -1.5345    
   9  Prefactor     .10000E-03    5.3281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7728        22.262        .12824E-03   -1.5083    
  11  Prefactor     23.884        57.408        .81671E-04   -1.4730    
  12  Prefactor     .10000E-03    7.2633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.385        17.032        .10948E-03   -1.4976    
  14  Prefactor     21.554        17.304        .86308E-04   -1.4779    
  15  Prefactor     35.501        17.629        .67261E-04   -1.4516    
  16  norm          2.7235        1.5225        .72240E-04   -1.5378    
  17  Prefactor     .10000E-03    3.0016        .13881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.0321        .11420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.7490        .13267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .64668        2.6817        .25887E-03   -1.5547    
  21  Prefactor     .10000E-03    3.9327        .15861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    15.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    19.732        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.3483        5.5607        .14796E-03   -1.5166    
  25  norm          .10000E-03    3.1012        .14102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     64.327        88.888        .50036E-04   -1.4102    
  27  Normalizat    1.0993        .19167        .22018E-03   -.89776    
  28  Prefactor     .85674        .21193        .27971E-03   -.97670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0559e-10
Minuit parameter uncertainties:
  1  6.28523e-07
  2  3.85603
  3  0.00135319
  4  1.28207e-05
  5  9.55871e-06
  6  0.000496855
  7  17.1148
  8  2.64693
  9  6.88227e-07
  10  22.2806
  11  57.5414
  12  2.05622e-06
  13  17.0386
  14  17.3079
  15  17.6313
  16  1.52251
  17  1.22372e-07
  18  2.31852e-06
  19  4.00603e-07
  20  2.63379
  21  3.20405e-05
  22  3.50221e-05
  23  0.000157664
  24  5.56109
  25  7.83221e-07
  26  89.0717
  27  0.191796
  28  0.212137
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.724e+00  1.523e+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:  8.567e-01  2.121e-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:  1.099e+00  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.63
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.09e-08 +/- 2.29e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 1.64e-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) = 6757.50200853
delta logL = 0.0236259133881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6757.50099719
delta logL = 0.0246372511629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7894       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8602       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85513       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.

 FCN=   6757.501     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7901        41.765        .60905E-02    .65604E-04
   2  alpha         1.8605        2.8400        .26656        .18754E-04
   3  Normalizat    1.1036        .14535        .37867E-01   -.21628E-04
   4  Prefactor     .85484        .99639E-01    .44430E-01    .25455E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.79011
  alpha      = 1.86048
  Normalizat = 1.10364
  Prefactor  = 0.85484
 **********
 **   18 **HESSE 
 **********

 FCN=   6757.501     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7901        1.5915        .75368E-04   -1.5374    
   2  alpha         1.8605        .48502        .13402E-01   -.25868    
   3  Normalizat    1.1036        .18443        .21985E-03   -.89635    
   4  Prefactor     .85484        .20965        .28006E-03   -.97737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54174e-10
Minuit parameter uncertainties:
  1  1.59148
  2  0.488335
  3  0.184541
  4  0.209851
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849434': 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) = 6757.50099515
delta logL = 0.0246392911386

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.790e+00  1.591e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.860e+00  4.883e-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:  8.548e-01  2.099e-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:  1.104e+00  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.71
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.86 +/- 0.49
Photon Flux (Free Index): 3.58e-08 +/- 2.99e-08
Energy Flux (Free Index): 3.27e-05 +/- 2.59e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/849434/cmap_HighResolution_342230401_342489601_4FGL_J1454.4+5124_daily_bin397.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.09e-08', energy_flux2='3.27e-05', photon_flux_error='2.29e-08', dlogl='2.46e-02', energy_flux='2.93e-05', photon_flux2='3.58e-08', job_status='DONE', time_completed='2021-09-10 12:59:26.355220', photon_index_error2='0.49', photon_index2='1.86', ts='11.63', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='1.10', time_epoch_completed='1631303966.36', return_code='0', job_id='849434', GAL2='0.85', EG2='1.10', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='2.99e-08', ts2='11.71', photon_index='1.97' WHERE bin_id='397' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:59:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 849434: <4FGL_J1454.4+5124_daily_bin397> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin397 223.625 51.409 342230401 342489601 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 :                                   779.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            793 sec.

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

