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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1766
RA = 223.625, Dec = 51.409
tmin = 697075201, tmax = 697334401
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='852316', job_status='RUN', time_executed='2023-02-06 01:03:02.602762', time_epoch_executed='1675674182.6' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/852316

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/852316/ft1_4FGL_J1454.4+5124_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/852316/ft2_4FGL_J1454.4+5124_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/852316/ft1_4FGL_J1454.4+5124_daily_bin1766.fits outfile=/scratch/kocevski/852316/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1766.fits ra=223.625 dec=51.409 rad=12.0 tmin=697075201.0 tmax=697334401.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.77
user 3.47
sys 0.24

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

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

Number of photons that the gtmktime cut: 575

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/852316/ft1_filtered_4FGL_J1454.4+5124_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/852316/ft2_4FGL_J1454.4+5124_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/852316/ltcube_697075201_697334401_4FGL_J1454.4+5124_daily_bin1766.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/852316/ft2_4FGL_J1454.4+5124_daily_bin1766.fits
.....................!
real 15.47
user 14.89
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/852316/ft1_filtered_4FGL_J1454.4+5124_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/852316/ft2_4FGL_J1454.4+5124_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/852316/ltcube_697075201_697334401_4FGL_J1454.4+5124_daily_bin1766.fits outfile=/scratch/kocevski/852316/expmap_697075201_697334401_4FGL_J1454.4+5124_daily_bin1766.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/852316/ltcube_697075201_697334401_4FGL_J1454.4+5124_daily_bin1766.fits
.....................!
real 192.40
user 186.28
sys 5.29

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/852316/ft1_filtered_4FGL_J1454.4+5124_daily_bin1766.fits scfile=/scratch/kocevski/852316/ft2_4FGL_J1454.4+5124_daily_bin1766.fits outfile=/scratch/kocevski/852316/cmap_697075201_697334401_4FGL_J1454.4+5124_daily_bin1766.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/852316/ft1_filtered_4FGL_J1454.4+5124_daily_bin1766.fits scfile=/scratch/kocevski/852316/ft2_4FGL_J1454.4+5124_daily_bin1766.fits outfile=/scratch/kocevski/852316/cmap_HighResolution_697075201_697334401_4FGL_J1454.4+5124_daily_bin1766.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/852316/ft1_filtered_4FGL_J1454.4+5124_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/852316/ft2_4FGL_J1454.4+5124_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/852316/Model_4FGL_J1454.4+5124_daily_bin1766.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/852316/ft1_filtered_4FGL_J1454.4+5124_daily_bin1766.fits.....................!
real 50.75
user 49.17
sys 1.46

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72089E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .76196E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12306       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11879E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24160E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .35050       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.241       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33763E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .76951E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .34409E-04   1.0000          .0000       .10000E+07
    11 'norm      '    4.3251       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.3045       1.0000          .0000       .10000E+07
    13 'Prefactor '    .93356       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7925       1.0000          .0000       .10000E+07
    15 'norm      '    1.3134       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13006E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9281       1.0000          .0000       .10000E+07
    18 'Prefactor '    .41774E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.8809       1.0000          .0000       .10000E+07
    20 'norm      '    .55039E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    51.269       1.0000          .0000       .10000E+07
    22 'Normalizat'    .82263       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1130       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=   6319.901     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1881 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    2.3723        .15001E-06** at limit **
   2  Prefactor     .33629E-06    13.371        .68860E-06** at limit **
   3  Prefactor     .31697E-07    30.139       -.84066E-05** at limit **
   4  Prefactor     .11102E-09    1.1893        .14113E-06** at limit **
   5  Prefactor     .40123E-06    6.4402        .62996E-08** at limit **
   6  Prefactor     .36725        3.8658        .42409E-06    .56509E-02
   7  Prefactor     9.9347        12.507       -.46876E-06   -.37242E-01
   8  Prefactor     .49433E-06    7.2455       -.10107E-05** at limit **
   9  Prefactor     .17297E-06    8.4157        .60990E-06** at limit **
  10  Prefactor     .55511E-10    2.9790       -.71216E-07** at limit **
  11  norm          4.3258        1.5851        .63094E-07    .13896E-01
  12  Prefactor     5.2839        3.1174        .83086E-06    .66571E-02
  13  Prefactor     .94418        4.2797        .57574E-06    .14233E-02
  14  Prefactor     1.7253        5.0777       -.54684E-06   -.76592E-03
  15  norm          1.3101        1.9426        .62178E-07   -.96126E-03
  16  Prefactor     .55511E-10    2.7001        .14882E-06** at limit **
  17  Prefactor     7.0527        14.516       -.78205E-06   -.90057E-02
  18  Prefactor     .10197E-06    5.8278       -.36564E-06** at limit **
  19  Prefactor     1.8668        4.6332        .20932E-08    .93619E-03
  20  norm          .55511E-10    3.1892        .29734E-06** at limit **
  21  Prefactor     51.551        53.005        .23653E-05   -.84136E-02
  22  Normalizat    .82317        .17902        .48927E-05    .22290E-03
  23  Prefactor     1.1127        .20599       -.46061E-05    .17954E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  Prefactor  = 3.36287e-07
  Prefactor  = 3.16969e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 4.01235e-07
  Prefactor  = 0.367251
  Prefactor  = 9.93467
  Prefactor  = 4.94327e-07
  Prefactor  = 1.72973e-07
  Prefactor  = 5.55112e-11
  norm       = 4.32582
  Prefactor  = 5.28392
  Prefactor  = 0.944179
  Prefactor  = 1.72529
  norm       = 1.31012
  Prefactor  = 5.55112e-11
  Prefactor  = 7.05273
  Prefactor  = 1.01974e-07
  Prefactor  = 1.86676
  norm       = 5.55112e-11
  Prefactor  = 51.5507
  Normalizat = 0.823168
  Prefactor  = 1.11272
 **********
 **   18 **HESSE 
 **********

 FCN=   6319.901     FROM HESSE     STATUS=OK           418 CALLS     2299 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    2.3655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33629E-06    19.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .31697E-07    32.920        .13347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    1.1894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .40123E-06    18.962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .36725        2.2899        .32809E-02   -1.5696    
   7  Prefactor     9.9347        17.027        .31286E-03   -1.5645    
   8  Prefactor     .49433E-06    15.759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17297E-06    13.653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    2.9806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.3258        1.5857        .48413E-03   -1.5666    
  12  Prefactor     5.2839        8.3166        .43615E-03   -1.5662    
  13  Prefactor     .94418        4.3128        .43467E-03   -1.5689    
  14  Prefactor     1.7253        5.8784        .78085E-03   -1.5682    
  15  norm          1.3101        1.9794        .96114E-03   -1.5685    
  16  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0527        14.713        .38092E-03   -1.5655    
  18  Prefactor     .10197E-06    15.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8668        4.6681        .75876E-03   -1.5681    
  20  norm          .55511E-10    3.1941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     51.551        53.753        .13967E-03   -1.5564    
  22  Normalizat    .82317        .15046        .43905E-01   -.99215    
  23  Prefactor     1.1127        .17123        .53071E-01   -.89061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19606e-06
Minuit parameter uncertainties:
  1  3.64519e-05
  2  0.00507399
  3  0.00204378
  4  2.10569e-05
  5  0.00551651
  6  1.83407
  7  17.0267
  8  0.005582
  9  0.00307345
  10  2.72482e-05
  11  1.5857
  12  8.31662
  13  4.03588
  14  5.87838
  15  1.97939
  16  2.15906e-05
  17  14.7131
  18  0.00248193
  19  4.66816
  20  2.34929e-05
  21  53.7531
  22  0.150536
  23  0.171319
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.326e+00  1.586e+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.113e+00  1.713e-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:  8.232e-01  1.505e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 37.06
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.50e-08 +/- 2.38e-08
Energy Flux (Fixed Index): 4.65e-05 +/- 1.71e-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) = 6318.93788165
delta logL = 0.963341184389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6318.93244016
delta logL = 0.968782668047

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6542       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5387       1.0000          .0000       5.0000    
     3 'Normalizat'    .84470       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1042       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=   6318.932     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      201 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6542        1.9406        .46626E-03   -.47390E-01
   2  alpha         1.5383        .29672        .22525       -.12815E-04
   3  Normalizat    .84480        .14926        .44191E-01    .14564E-04
   4  Prefactor     1.1041        .17492        .37429E-01    .90316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.65421
  alpha      = 1.53827
  Normalizat = 0.8448
  Prefactor  = 1.10411
 **********
 **   18 **HESSE 
 **********

 FCN=   6318.932     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6542        1.8621        .65407E-05   -1.5665    
   2  alpha         1.5383        .30361        .92977E-02   -.39487    
   3  Normalizat    .84480        .17493        .22700E-03   -.98428    
   4  Prefactor     1.1041        .20551        .23554E-03   -.89335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61305e-09
Minuit parameter uncertainties:
  1  1.8621
  2  0.304489
  3  0.175047
  4  0.205654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/852316': 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) = 6318.93243898
delta logL = 0.968783847949

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.654e+00  1.862e+00  0.000e+00  1.000e+06 ( 1.000e-12)
308        alpha:  1.538e+00  3.045e-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.104e+00  2.057e-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:  8.448e-01  1.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.03
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.54 +/- 0.30
Photon Flux (Free Index): 4.08e-08 +/- 2.17e-08
Energy Flux (Free Index): 8.84e-05 +/- 5.76e-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/852316/cmap_HighResolution_697075201_697334401_4FGL_J1454.4+5124_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.50e-08', energy_flux2='8.84e-05', photon_flux_error='2.38e-08', dlogl='9.69e-01', energy_flux='4.65e-05', photon_flux2='4.08e-08', job_status='DONE', time_completed='2023-02-06 01:12:57.690711', photon_index_error2='0.30', photon_index2='1.54', ts='37.06', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='5.76e-05', EG='0.82', time_epoch_completed='1675674777.69', return_code='0', job_id='852316', GAL2='1.10', EG2='0.84', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='2.17e-08', ts2='39.03', photon_index='1.97' WHERE bin_id='1766' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:12:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 852316: <4FGL_J1454.4+5124_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 01:00:18 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:00:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:00:32 2023
Terminated at Mon Feb  6 01:12:58 2023
Results reported at Mon Feb  6 01:12:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1766 223.625 51.409 697075201 697334401 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 :                                   595.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            760 sec.

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

