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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1777
RA = 223.625, Dec = 51.409
tmin = 699926401, tmax = 700185601
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='917003', job_status='RUN', time_executed='2023-03-11 00:54:06.062097', time_epoch_executed='1678524846.06' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917003

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917003/ft1_4FGL_J1454.4+5124_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917003/ft2_4FGL_J1454.4+5124_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917003/ft1_4FGL_J1454.4+5124_daily_bin1777.fits outfile=/scratch/kocevski/917003/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1777.fits ra=223.625 dec=51.409 rad=12.0 tmin=699926401.0 tmax=700185601.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.61
user 3.41
sys 0.19

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

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

Number of photons that the gtmktime cut: 642

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917003/ft1_filtered_4FGL_J1454.4+5124_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/917003/ft2_4FGL_J1454.4+5124_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/917003/ltcube_699926401_700185601_4FGL_J1454.4+5124_daily_bin1777.fits outfile=/scratch/kocevski/917003/expmap_699926401_700185601_4FGL_J1454.4+5124_daily_bin1777.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/917003/ltcube_699926401_700185601_4FGL_J1454.4+5124_daily_bin1777.fits
.....................!
real 190.77
user 186.37
sys 4.08

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/917003/ft1_filtered_4FGL_J1454.4+5124_daily_bin1777.fits scfile=/scratch/kocevski/917003/ft2_4FGL_J1454.4+5124_daily_bin1777.fits outfile=/scratch/kocevski/917003/cmap_699926401_700185601_4FGL_J1454.4+5124_daily_bin1777.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917003/ft1_filtered_4FGL_J1454.4+5124_daily_bin1777.fits scfile=/scratch/kocevski/917003/ft2_4FGL_J1454.4+5124_daily_bin1777.fits outfile=/scratch/kocevski/917003/cmap_HighResolution_699926401_700185601_4FGL_J1454.4+5124_daily_bin1777.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32717       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34042E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.294       1.0000          .0000       .10000E+07
     4 'Prefactor '    .61509E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72856       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9998       1.0000          .0000       .10000E+07
     7 'Prefactor '    .50917E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    32.794       1.0000          .0000       .10000E+07
     9 'Prefactor '    83.338       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.9900       1.0000          .0000       .10000E+07
    11 'norm      '    4.7482       1.0000          .0000       .10000E+07
    12 'Prefactor '    .30767E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.5094       1.0000          .0000       .10000E+07
    14 'Prefactor '    .97551       1.0000          .0000       .10000E+07
    15 'norm      '    .10622E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9266       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18740E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17787E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.2970       1.0000          .0000       .10000E+07
    20 'norm      '    2.7753       1.0000          .0000       .10000E+07
    21 'Prefactor '    111.14       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0240       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0303       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=   7081.293     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     1938 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32526        5.3578       -.10306E-06    .27119E-03
   2  Prefactor     .27756E-09    60.554       -.84970E-06** at limit **
   3  Prefactor     13.914        38.829       -.13224E-05    .43815E-02
   4  Prefactor      .0000        4.1644       -.57548E-06** at limit **
   5  Prefactor     1.1324        73.400       -.39116E-05   -.26432E-03
   6  Prefactor     2.9979        2.3063       -.31612E-06    .20125E-02
   7  Prefactor      .0000        13.327        .12718E-05** at limit **
   8  Prefactor     32.867        4.8690        .69087E-07   -.80574E-02
   9  Prefactor     83.861        27.165       -.29408E-06   -.17502E-01
  10  Prefactor     4.9864        12.533        .21393E-05    .62247E-03
  11  norm          4.7513        1.8620       -.47249E-07   -.71340E-03
  12  Prefactor      .0000        5.0377       -.98405E-06** at limit **
  13  Prefactor     5.4632        6.7396       -.49454E-06   -.44137E-03
  14  Prefactor     .96652        12.866        .64962E-06    .45240E-03
  15  norm           .0000        2.8635       -.24293E-06** at limit **
  16  Prefactor     2.9601        6.1108        .30418E-06   -.22471E-03
  17  Prefactor      .0000        4.9374       -.63642E-06** at limit **
  18  Prefactor      .0000        8.8350        .48127E-06** at limit **
  19  Prefactor     8.3887        7.5312       -.60633E-06    .62248E-03
  20  norm          2.8512        10.231        .26285E-05    .29632E-03
  21  Prefactor     111.81        83.120        .18587E-05   -.64112E-03
  22  Normalizat    1.0220        .20348        .81797E-05    .10828E-03
  23  Prefactor     1.0311        .21400       -.50977E-05    .84529E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.325263
  Prefactor  = 2.77556e-10
  Prefactor  = 13.9139
  Prefactor  = 0
  Prefactor  = 1.1324
  Prefactor  = 2.99792
  Prefactor  = 0
  Prefactor  = 32.8666
  Prefactor  = 83.8613
  Prefactor  = 4.98638
  norm       = 4.75129
  Prefactor  = 0
  Prefactor  = 5.46315
  Prefactor  = 0.966519
  norm       = 0
  Prefactor  = 2.96013
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.38871
  norm       = 2.85123
  Prefactor  = 111.806
  Normalizat = 1.02201
  Prefactor  = 1.0311
 **********
 **   18 **HESSE 
 **********

 FCN=   7081.293     FROM HESSE     STATUS=OK           426 CALLS     2364 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32526        2.4572        .41034E-02   -1.5697    
   2  Prefactor     .27756E-09    60.698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.914        47.198        .27447E-03   -1.5633    
   4  Prefactor      .0000        4.1394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1324        76.970        .58420E-03   -1.5687    
   6  Prefactor     2.9979        2.3218        .58581E-03   -1.5673    
   7  Prefactor      .0000        13.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     32.867        34.918        .17465E-03   -1.5593    
   9  Prefactor     83.861        45.103        .10955E-03   -1.5525    
  10  Prefactor     4.9864        12.790        .44995E-03   -1.5663    
  11  norm          4.7513        1.8632        .46151E-03   -1.5664    
  12  Prefactor      .0000        5.0330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4632        6.7517        .42782E-03   -1.5661    
  14  Prefactor     .96652        12.876        .42897E-03   -1.5688    
  15  norm           .0000        2.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9601        6.1504        .59355E-03   -1.5674    
  17  Prefactor      .0000        4.9411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        8.8219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.3887        7.6597        .34780E-03   -1.5650    
  20  norm          2.8512        10.417        .61062E-03   -1.5674    
  21  Prefactor     111.81        83.200        .94863E-04   -1.5496    
  22  Normalizat    1.0220        .17027        .42819E-01   -.92297    
  23  Prefactor     1.0311        .17776        .60014E-01   -.91700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28571e-07
Minuit parameter uncertainties:
  1  1.78802
  2  0.000271545
  3  47.1992
  4  1.20426e-05
  5  18.6722
  6  2.32178
  7  2.3625e-05
  8  34.9182
  9  45.1028
  10  12.79
  11  1.8632
  12  5.55194e-06
  13  6.7517
  14  7.05544
  15  1.33597e-05
  16  6.15042
  17  1.6473e-06
  18  1.90629e-05
  19  7.65968
  20  10.4168
  21  83.2007
  22  0.170363
  23  0.177864
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.751e+00  1.863e+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.031e+00  1.779e-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.022e+00  1.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.53
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.14e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 5.11e-05 +/- 2.00e-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) = 7081.16353901
delta logL = 0.129510777753

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7081.15851208
delta logL = 0.134537713638

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7151       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7392       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0251       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=   7081.159     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7134        3.6692        .46317E-03    .12428E-03
   2  alpha         1.7391        .67912        .24007        .58954E-04
   3  Normalizat    1.0396        .16192        .41329E-01   -.73531E-04
   4  Prefactor     1.0252        .17745        .60231E-01   -.59543E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.71338
  alpha      = 1.73907
  Normalizat = 1.03961
  Prefactor  = 1.02516
 **********
 **   18 **HESSE 
 **********

 FCN=   7081.159     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7134        2.0387        .75633E-05   -1.5665    
   2  alpha         1.7391        .44812        .62155E-01   -.30928    
   3  Normalizat    1.0396        .18709        .23347E-03   -.91715    
   4  Prefactor     1.0252        .20987        .26636E-03   -.91896    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66457e-12
Minuit parameter uncertainties:
  1  2.03869
  2  0.450807
  3  0.187204
  4  0.210041
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917003': 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) = 7081.1585077
delta logL = 0.13454209265

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.713e+00  2.039e+00  0.000e+00  1.000e+06 ( 1.000e-12)
308        alpha:  1.739e+00  4.508e-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.025e+00  2.100e-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.040e+00  1.872e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.79
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.74 +/- 0.45
Photon Flux (Free Index): 5.15e-08 +/- 3.91e-08
Energy Flux (Free Index): 6.39e-05 +/- 4.49e-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/917003/cmap_HighResolution_699926401_700185601_4FGL_J1454.4+5124_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.14e-08', energy_flux2='6.39e-05', photon_flux_error='2.80e-08', dlogl='1.35e-01', energy_flux='5.11e-05', photon_flux2='5.15e-08', job_status='DONE', time_completed='2023-03-11 01:04:18.038265', photon_index_error2='0.45', photon_index2='1.74', ts='23.53', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='4.49e-05', EG='1.02', time_epoch_completed='1678525458.04', return_code='0', job_id='917003', GAL2='1.03', EG2='1.04', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='3.91e-08', ts2='23.79', photon_index='1.97' WHERE bin_id='1777' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:04:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 917003: <4FGL_J1454.4+5124_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin1777> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Mar 11 00:50:18 2023
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:50:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:50:20 2023
Terminated at Sat Mar 11 01:04:18 2023
Results reported at Sat Mar 11 01:04:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1777 223.625 51.409 699926401 700185601 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 :                                   614.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            840 sec.

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

