aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 18 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1454.4+5124_weekly_bin759
RA = 223.625, Dec = 51.409
tmin = 698025601, tmax = 698630401
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='593551', job_status='RUN', time_executed='2023-02-21 03:45:56.866082', time_epoch_executed='1676979956.87' WHERE source_name='4FGL J1454.4+5124' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593551

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593551/ft1_4FGL_J1454.4+5124_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593551/ft1_4FGL_J1454.4+5124_weekly_bin759.fits outfile=/scratch/kocevski/593551/ft1_filteredMKT_4FGL_J1454.4+5124_weekly_bin759.fits ra=223.625 dec=51.409 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.51
user 8.18
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.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/593551/ft1_filteredMKT_4FGL_J1454.4+5124_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/593551/ft1_filtered_4FGL_J1454.4+5124_weekly_bin759.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.54
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 1328

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593551/ft1_filtered_4FGL_J1454.4+5124_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/593551/ltcube_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.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/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.fits
.....................!
real 26.88
user 26.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593551/ft1_filtered_4FGL_J1454.4+5124_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/593551/ltcube_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.fits outfile=/scratch/kocevski/593551/expmap_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.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/593551/ltcube_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.fits
.....................!
real 190.17
user 185.15
sys 4.52

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/593551/ft1_filtered_4FGL_J1454.4+5124_weekly_bin759.fits scfile=/scratch/kocevski/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.fits outfile=/scratch/kocevski/593551/cmap_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593551/ft1_filtered_4FGL_J1454.4+5124_weekly_bin759.fits scfile=/scratch/kocevski/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.fits outfile=/scratch/kocevski/593551/cmap_HighResolution_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/593551/ft1_filtered_4FGL_J1454.4+5124_weekly_bin759.fits', '/scratch/kocevski/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.fits', expMap='/scratch/kocevski/593551/expmap_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.fits', expCube='/scratch/kocevski/593551/ltcube_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/593551/Model_4FGL_J1454.4+5124_weekly_bin759.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  0.000e+00  1.000e+06 ( 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 -5.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/593551/ft1_filtered_4FGL_J1454.4+5124_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/593551/ft2_4FGL_J1454.4+5124_weekly_bin759.fits
Exposure map: /scratch/kocevski/593551/expmap_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.fits
Exposure cube: /scratch/kocevski/593551/ltcube_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/593551/Model_4FGL_J1454.4+5124_weekly_bin759.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) = 14529.8875832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86274       1.0000          .0000       .10000E+07
     2 'Prefactor '    16.146       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.9142       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.3029       1.0000          .0000       .10000E+07
     5 'Prefactor '    .54678E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1038       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.766       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17776E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.6642       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62893E-03   1.0000          .0000       .10000E+07
    11 'norm      '    2.6162       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2221       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.3075       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0101       1.0000          .0000       .10000E+07
    15 'norm      '    .12462E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22313E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10467E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    11.827       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1567       1.0000          .0000       .10000E+07
    20 'norm      '    .73811E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    10.796       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1231       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78932       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14529.80     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1514 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89468        3.3371       -.14127E-06   -.10165E-01
   2  Prefactor     15.065        27.362       -.98551E-07    .17529E-01
   3  Prefactor     1.9047        6.3840        .21449E-06   -.28110E-02
   4  Prefactor     7.2922        3.4703       -.19762E-07   -.11794E-02
   5  Prefactor     .11657E-07    7.8768        .29993E-06** at limit **
   6  Prefactor     3.1358        2.1726       -.97707E-07   -.10231E-03
   7  Prefactor     16.331        16.576        .21778E-06   -.19669E-02
   8  Prefactor     .16320E-07    18.061        .64197E-06** at limit **
   9  Prefactor     1.7725        24.086       -.50188E-06   -.30999E-02
  10  Prefactor     .27756E-09    19.154       -.99540E-07** at limit **
  11  norm          2.6168        .94209       -.12145E-07    .18489E-03
  12  Prefactor     3.2405        7.1198        .11713E-06   -.10434E-01
  13  Prefactor     1.3008        3.8232        .56180E-07   -.11048E-02
  14  Prefactor     1.9887        5.5986        .12680E-06    .10780E-01
  15  norm          .21372E-07    2.9768       -.30736E-06** at limit **
  16  Prefactor     .16322E-05    13.642       -.10949E-07** at limit **
  17  Prefactor     .57176E-08    4.4686       -.34972E-06** at limit **
  18  Prefactor     11.819        6.9018       -.47247E-07    .79779E-02
  19  Prefactor     2.1584        2.0643        .35366E-07   -.38705E-04
  20  norm          .16098E-08    1.5527       -.30283E-06** at limit **
  21  Prefactor     10.057        15.207        .54525E-07   -.24898E-01
  22  Normalizat    1.1238        .13225        .38423E-05    .63094E-04
  23  Prefactor     .78911        .13773       -.43362E-05    .20668E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.894684
  Prefactor  = 15.0654
  Prefactor  = 1.90473
  Prefactor  = 7.2922
  Prefactor  = 1.16573e-08
  Prefactor  = 3.13582
  Prefactor  = 16.3309
  Prefactor  = 1.63203e-08
  Prefactor  = 1.77248
  Prefactor  = 2.77556e-10
  norm       = 2.61679
  Prefactor  = 3.24052
  Prefactor  = 1.30084
  Prefactor  = 1.98871
  norm       = 2.13718e-08
  Prefactor  = 1.63219e-06
  Prefactor  = 5.71765e-09
  Prefactor  = 11.8191
  Prefactor  = 2.15841
  norm       = 1.60982e-09
  Prefactor  = 10.0574
  Normalizat = 1.1238
  Prefactor  = 0.789114
 **********
 **   18 **HESSE 
 **********

 FCN=   14529.80     FROM HESSE     STATUS=OK           430 CALLS     1944 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89468        3.3951        .48371E-03   -1.5689    
   2  Prefactor     15.065        31.613        .24899E-03   -1.5630    
   3  Prefactor     1.9047        50.622        .75098E-03   -1.5680    
   4  Prefactor     7.2922        3.5402        .37092E-03   -1.5654    
   5  Prefactor     .11657E-07    21.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1358        2.2319        .57534E-03   -1.5673    
   7  Prefactor     16.331        17.758        .24434E-03   -1.5627    
   8  Prefactor     .16320E-07    22.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7725        24.595        .81726E-03   -1.5681    
  10  Prefactor     .27756E-09    23.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6168        .94214        .63033E-03   -1.5676    
  12  Prefactor     3.2405        7.9718        .56410E-03   -1.5672    
  13  Prefactor     1.3008        3.8421        .96451E-03   -1.5685    
  14  Prefactor     1.9887        6.2317        .72993E-03   -1.5680    
  15  norm          .21372E-07    3.2413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16322E-05    1.8866        .11205E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .57176E-08    4.5658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.819        7.8360        .29104E-03   -1.5639    
  19  Prefactor     2.1584        2.0493        .70120E-03   -1.5679    
  20  norm          .16098E-08    1.5755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.057        28.985        .30467E-03   -1.5645    
  22  Normalizat    1.1238        .11277        .37128E-01   -.88991    
  23  Prefactor     .78911        .11777        .43578E-01   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66859e-06
Minuit parameter uncertainties:
  1  3.39511
  2  31.6135
  3  19.639
  4  3.54016
  5  0.00101205
  6  2.23187
  7  17.7577
  8  0.00121485
  9  13.2054
  10  0.000160913
  11  0.942143
  12  7.97183
  13  3.84206
  14  6.23176
  15  0.000526631
  16  0.0035096
  17  0.000323588
  18  7.83598
  19  2.04934
  20  0.000101469
  21  28.9853
  22  0.112796
  23  0.117803
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.617e+00  9.421e-01  0.000e+00  1.000e+06 ( 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 -5.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:  7.891e-01  1.178e-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.124e+00  1.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.76
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.93e-08 +/- 1.42e-08
Energy Flux (Fixed Index): 2.81e-05 +/- 1.01e-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) = 14529.7960339
delta logL = 0.00387267155747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14529.7957846
delta logL = 0.0041219445593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6370       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9402       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1251       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78859       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=   14529.80     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6369        12.992        .62763E-03   -.36577E-02
   2  alpha         1.9402        3.4519        .32591        .76251E-04
   3  Normalizat    1.1250        .62405E-01    .37061E-01    .33498E-03
   4  Prefactor     .78866        .48139E-01    .43569E-01    .30609E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63686
  alpha      = 1.94018
  Normalizat = 1.12501
  Prefactor  = 0.78866
 **********
 **   18 **HESSE 
 **********

 FCN=   14529.80     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6369        .98222        .68640E-05   -1.5675    
   2  alpha         1.9402        .31313        .11097E-01   -.22584    
   3  Normalizat    1.1250        .12174        .21028E-03   -.88953    
   4  Prefactor     .78866        .13513        .27414E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63873e-11
Minuit parameter uncertainties:
  1  0.982218
  2  0.313994
  3  0.121774
  4  0.135184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593551': 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) = 14529.7957845
delta logL = 0.00412209892056

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.637e+00  9.822e-01  0.000e+00  1.000e+06 ( 1.000e-12)
308        alpha:  1.940e+00  3.140e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00 -5.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:  7.887e-01  1.352e-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.125e+00  1.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.75
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.94 +/- 0.31
Photon Flux (Free Index): 3.80e-08 +/- 2.00e-08
Energy Flux (Free Index): 2.89e-05 +/- 1.38e-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/593551/cmap_HighResolution_698025601_698630401_4FGL_J1454.4+5124_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.93e-08', energy_flux2='2.89e-05', photon_flux_error='1.42e-08', dlogl='4.12e-03', energy_flux='2.81e-05', photon_flux2='3.80e-08', job_status='DONE', time_completed='2023-02-21 04:01:05.695286', photon_index_error2='0.31', photon_index2='1.94', ts='31.76', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.38e-05', EG='1.12', time_epoch_completed='1676980865.7', return_code='0', job_id='593551', GAL2='0.79', EG2='1.13', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.00e-08', ts2='31.75', photon_index='1.97' WHERE bin_id='759' AND source_name='4FGL J1454.4+5124' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 04:01:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 593551: <4FGL_J1454.4+5124_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1454.4+5124_weekly_bin759> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 21 03:45:28 2023
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:45:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:45:29 2023
Terminated at Tue Feb 21 04:01:06 2023
Results reported at Tue Feb 21 04:01:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_weekly_bin759 223.625 51.409 698025601 698630401 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 :                                   909.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             349.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            938 sec.

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

