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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1752
RA = 223.625, Dec = 51.409
tmin = 693446401, tmax = 693705601
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='266399', job_status='RUN', time_executed='2022-12-26 01:07:16.247320', time_epoch_executed='1672045636.25' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266399

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266399/ft1_4FGL_J1454.4+5124_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266399/ft2_4FGL_J1454.4+5124_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266399/ft1_4FGL_J1454.4+5124_daily_bin1752.fits outfile=/scratch/kocevski/266399/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1752.fits ra=223.625 dec=51.409 rad=12.0 tmin=693446401.0 tmax=693705601.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.55
user 3.27
sys 0.20

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

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

Number of photons that the gtmktime cut: 429

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266399/ft1_filtered_4FGL_J1454.4+5124_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/266399/ft2_4FGL_J1454.4+5124_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/266399/ltcube_693446401_693705601_4FGL_J1454.4+5124_daily_bin1752.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/266399/ft2_4FGL_J1454.4+5124_daily_bin1752.fits
.....................!
real 16.34
user 15.23
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266399/ft1_filtered_4FGL_J1454.4+5124_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/266399/ft2_4FGL_J1454.4+5124_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/266399/ltcube_693446401_693705601_4FGL_J1454.4+5124_daily_bin1752.fits outfile=/scratch/kocevski/266399/expmap_693446401_693705601_4FGL_J1454.4+5124_daily_bin1752.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/266399/ltcube_693446401_693705601_4FGL_J1454.4+5124_daily_bin1752.fits
.....................!
real 193.84
user 187.84
sys 4.71

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/266399/ft1_filtered_4FGL_J1454.4+5124_daily_bin1752.fits scfile=/scratch/kocevski/266399/ft2_4FGL_J1454.4+5124_daily_bin1752.fits outfile=/scratch/kocevski/266399/cmap_693446401_693705601_4FGL_J1454.4+5124_daily_bin1752.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.60
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266399/ft1_filtered_4FGL_J1454.4+5124_daily_bin1752.fits scfile=/scratch/kocevski/266399/ft2_4FGL_J1454.4+5124_daily_bin1752.fits outfile=/scratch/kocevski/266399/cmap_HighResolution_693446401_693705601_4FGL_J1454.4+5124_daily_bin1752.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7838       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34632       1.0000          .0000       .10000E+07
     3 'Prefactor '    68.457       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13706E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.1586       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.0671       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.153       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13747       1.0000          .0000       .10000E+07
     9 'Prefactor '    27.155       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.193       1.0000          .0000       .10000E+07
    11 'norm      '    3.1435       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15349E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    9.2964       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1430       1.0000          .0000       .10000E+07
    15 'norm      '    1.6235       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22760E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10843E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    18.865       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.3988       1.0000          .0000       .10000E+07
    20 'norm      '    .12810E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    112.60       1.0000          .0000       .10000E+07
    22 'Normalizat'    .50940       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1771       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=   4710.432     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1922 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7775        4.3413        .36589E-07    .48643E-02
   2  Prefactor     .67168E-08    56.849        .59397E-06** at limit **
   3  Prefactor     68.459        2.6845        .29087E-06   -.12641    
   4  Prefactor      .0000        2.6239       -.43240E-06** at limit **
   5  Prefactor     6.1277        4.8649        .12733E-05    .26710E-01
   6  Prefactor     4.0737        2.9530       -.73156E-07    .10148E-01
   7  Prefactor     11.142        1.7353        .43424E-06   -.22036E-01
   8  Prefactor     .23376E-06    19.692        .57708E-05** at limit **
   9  Prefactor     27.060        1.6722       -.18366E-06    .39099E-01
  10  Prefactor     11.208        1.1379        .13932E-07    .19224E-01
  11  norm          3.1426        1.7930       -.15023E-06    .75123E-02
  12  Prefactor     .10547E-08    9.2256       -.19375E-06** at limit **
  13  Prefactor     9.2934        6.5930        .18249E-05    .36658E-01
  14  Prefactor     8.1085        6.6595        .31336E-06    .30789E-01
  15  norm          1.6216        2.5677        .25663E-07   -.38158E-02
  16  Prefactor     .61062E-09    3.8251       -.67338E-06** at limit **
  17  Prefactor     .12046E-07    52.060        .73074E-06** at limit **
  18  Prefactor     18.833        13.272       -.27536E-05    .46190E-02
  19  Prefactor     4.3084        6.3348        .46055E-07    .32336E-03
  20  norm          .55511E-10    4.8426        .28867E-06** at limit **
  21  Prefactor     112.61        1.0021       -.69995E-08    .58542E-02
  22  Normalizat    .50992        .20377       -.28144E-05   -.21698E-03
  23  Prefactor     1.1771        .23787       -.23754E-05   -.37972E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77752
  Prefactor  = 6.71685e-09
  Prefactor  = 68.4593
  Prefactor  = 0
  Prefactor  = 6.12773
  Prefactor  = 4.07374
  Prefactor  = 11.1416
  Prefactor  = 2.33757e-07
  Prefactor  = 27.0596
  Prefactor  = 11.2082
  norm       = 3.14256
  Prefactor  = 1.05471e-09
  Prefactor  = 9.2934
  Prefactor  = 8.10846
  norm       = 1.62162
  Prefactor  = 6.10623e-10
  Prefactor  = 1.20459e-08
  Prefactor  = 18.8333
  Prefactor  = 4.30841
  norm       = 5.55112e-11
  Prefactor  = 112.605
  Normalizat = 0.509923
  Prefactor  = 1.17708
 **********
 **   18 **HESSE 
 **********

 FCN=   4710.432     FROM HESSE     STATUS=OK           422 CALLS     2344 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7775        4.3871        .60961E-03   -1.5675    
   2  Prefactor     .67168E-08    57.166        .95989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     68.459        44.649        .12087E-03   -1.5542    
   4  Prefactor      .0000        2.6269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.1277        13.586        .40430E-03   -1.5658    
   6  Prefactor     4.0737        3.1608        .49971E-03   -1.5668    
   7  Prefactor     11.142        26.266        .29974E-03   -1.5641    
   8  Prefactor     .23376E-06    32.310        .13015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.060        36.305        .19193E-03   -1.5604    
  10  Prefactor     11.208        11.596        .29920E-03   -1.5641    
  11  norm          3.1426        1.8057        .57149E-03   -1.5673    
  12  Prefactor     .10547E-08    9.0019        .17364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.2934        7.7837        .32845E-03   -1.5647    
  14  Prefactor     8.1085        8.1838        .35110E-03   -1.5651    
  15  norm          1.6216        2.6145        .83011E-03   -1.5682    
  16  Prefactor     .61062E-09    3.8523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12046E-07    52.257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.833        14.629        .23032E-03   -1.5621    
  19  Prefactor     4.3084        6.3818        .47995E-03   -1.5666    
  20  norm          .55511E-10    4.8373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     112.61        100.32        .94247E-04   -1.5496    
  22  Normalizat    .50992        .18655        .61963E-01   -1.1196    
  23  Prefactor     1.1771        .20636        .35197E-01   -.87040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.23231e-07
Minuit parameter uncertainties:
  1  4.38715
  2  0.00123763
  3  44.6495
  4  1.47454e-05
  5  13.5862
  6  3.1608
  7  26.2659
  8  0.00549654
  9  36.3053
  10  11.5956
  11  1.8057
  12  0.000195044
  13  7.78373
  14  8.18382
  15  2.61446
  16  9.64151e-05
  17  0.00158669
  18  14.6288
  19  6.38178
  20  2.51058e-05
  21  100.317
  22  0.186777
  23  0.206501
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.143e+00  1.806e+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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.177e+00  2.065e-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:  5.099e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.79
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.72e-08 +/- 2.71e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.94e-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) = 4710.40832343
delta logL = 0.0236472542119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4710.40099143
delta logL = 0.0309792601856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9117       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0899       1.0000          .0000       5.0000    
     3 'Normalizat'    .50439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1802       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=   4710.401     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      236 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9117        2.0130        .63172E-05   -.25195E-03
   2  alpha         2.0899        .50474        .92847E-02   -.17717E-04
   3  Normalizat    .50439        .20023        .27555E-03    .18030E-04
   4  Prefactor     1.1802        .23660        .21938E-03    .30730E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.91171
  alpha      = 2.0899
  Normalizat = 0.504388
  Prefactor  = 1.18018
 **********
 **   18 **HESSE 
 **********

 FCN=   4710.401     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9117        1.9582        .25269E-06   -1.5674    
   2  alpha         2.0899        .49093        .37139E-03   -.16479    
   3  Normalizat    .50439        .20027        .11022E-04   -1.1221    
   4  Prefactor     1.1802        .23673        .87752E-05   -.86943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37609e-11
Minuit parameter uncertainties:
  1  1.95819
  2  0.494228
  3  0.20056
  4  0.236944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266399': 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) = 4710.40099143
delta logL = 0.0309792619346

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.912e+00  1.958e+00  0.000e+00  1.000e+06 ( 1.000e-12)
308        alpha:  2.090e+00  4.942e-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:  1.180e+00  2.369e-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:  5.044e-01  2.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.83
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.09 +/- 0.49
Photon Flux (Free Index): 5.30e-08 +/- 3.74e-08
Energy Flux (Free Index): 2.97e-05 +/- 2.21e-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/266399/cmap_HighResolution_693446401_693705601_4FGL_J1454.4+5124_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.72e-08', energy_flux2='2.97e-05', photon_flux_error='2.71e-08', dlogl='3.10e-02', energy_flux='3.38e-05', photon_flux2='5.30e-08', job_status='DONE', time_completed='2022-12-26 01:16:13.910846', photon_index_error2='0.49', photon_index2='2.09', ts='7.79', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='2.21e-05', EG='0.51', time_epoch_completed='1672046173.91', return_code='0', job_id='266399', GAL2='1.18', EG2='0.50', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='3.74e-08', ts2='7.83', photon_index='1.97' WHERE bin_id='1752' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:16:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 266399: <4FGL_J1454.4+5124_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin1752> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Dec 26 01:05:18 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:05:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:05:51 2022
Terminated at Mon Dec 26 01:16:14 2022
Results reported at Mon Dec 26 01:16:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1752 223.625 51.409 693446401 693705601 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 :                                   537.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            656 sec.

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

