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 29 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 74146
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4+5124_monthly_bin168
RA = 223.625, Dec = 51.409
tmin = 672451201, tmax = 675043201
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='636910', job_status='RUN', time_executed='2022-05-24 03:18:52.343289', time_epoch_executed='1653387532.34' WHERE source_name='4FGL J1454.4+5124' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636910

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636910/ft1_4FGL_J1454.4+5124_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636910/ft2_4FGL_J1454.4+5124_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636910/ft1_4FGL_J1454.4+5124_monthly_bin168.fits outfile=/scratch/kocevski/636910/ft1_filteredMKT_4FGL_J1454.4+5124_monthly_bin168.fits ra=223.625 dec=51.409 rad=12.0 tmin=672451201.0 tmax=675043201.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 29.09
user 27.91
sys 0.61

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

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

Number of photons that the gtmktime cut: 8415

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636910/ft1_filtered_4FGL_J1454.4+5124_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/636910/ft2_4FGL_J1454.4+5124_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/636910/ltcube_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.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/636910/ft2_4FGL_J1454.4+5124_monthly_bin168.fits
.....................!
real 152.68
user 151.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636910/ft1_filtered_4FGL_J1454.4+5124_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/636910/ft2_4FGL_J1454.4+5124_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/636910/ltcube_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.fits outfile=/scratch/kocevski/636910/expmap_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.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/636910/ltcube_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.fits
.....................!
real 192.22
user 186.56
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/636910/ft1_filtered_4FGL_J1454.4+5124_monthly_bin168.fits scfile=/scratch/kocevski/636910/ft2_4FGL_J1454.4+5124_monthly_bin168.fits outfile=/scratch/kocevski/636910/cmap_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.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.79
user 0.60
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636910/ft1_filtered_4FGL_J1454.4+5124_monthly_bin168.fits scfile=/scratch/kocevski/636910/ft2_4FGL_J1454.4+5124_monthly_bin168.fits outfile=/scratch/kocevski/636910/cmap_HighResolution_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.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.80
user 0.63
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636910/ft1_filtered_4FGL_J1454.4+5124_monthly_bin168.fits', '/scratch/kocevski/636910/ft2_4FGL_J1454.4+5124_monthly_bin168.fits', expMap='/scratch/kocevski/636910/expmap_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.fits', expCube='/scratch/kocevski/636910/ltcube_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636910/Model_4FGL_J1454.4+5124_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.4+5124'

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/636910/ft1_filtered_4FGL_J1454.4+5124_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/636910/ft2_4FGL_J1454.4+5124_monthly_bin168.fits
Exposure map: /scratch/kocevski/636910/expmap_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.fits
Exposure cube: /scratch/kocevski/636910/ltcube_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636910/Model_4FGL_J1454.4+5124_monthly_bin168.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 91472.2911787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3002       1.0000         .10000E-03   10000.    
     2 'norm      '    .69888       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.552       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.705       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.035       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .83663       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2743       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4324       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.1438       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.169       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14793E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.193       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7421       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .30175       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6965       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1433       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1447       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.8409       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2798       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .77099       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.2380       1.0000         .10000E-03   10000.    
    25 'norm      '    .10182E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.2857       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0460       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .92497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   91472.10     FROM MIGRAD    STATUS=CONVERGED    699 CALLS     3107 TOTAL
                     EDM=   .66E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3001        6.1462       -.54115E-08   -.84533E-06
   2  norm          .69896        .73926        .15031E-07    .16500E-04
   3  Prefactor     26.559        30.947        .10667E-04   -.19328E-06
   4  Prefactor     26.705        9.8539        .21429E-07   -.95675E-05
   5  Prefactor     10.035        8.2409        .12461E-06   -.15489E-04
   6  Prefactor     .83656        .55409       -.14623E-07   -.98888E-04
   7  Prefactor     4.2742        4.2669        .43864E-06   -.18287E-04
   8  Prefactor     4.4324        .77402       -.11553E-07   -.87506E-04
   9  Prefactor     7.1440        4.7773       -.17284E-07   -.85131E-05
  10  Prefactor     18.170        6.7962        .90121E-08   -.23363E-04
  11  Prefactor     .10000E-03    22.409        .39438E-06** at limit **
  12  Prefactor     17.193        7.0582        .14408E-06   -.14100E-04
  13  Prefactor     2.7420        3.7230        .67224E-08   -.24558E-06
  14  Prefactor     .29690        .91967        .23266E-07   -.35664E-04
  15  Prefactor     3.6968        4.2024       -.94352E-07   -.36803E-04
  16  norm          2.1434        .38290        .33054E-08   -.74250E-04
  17  Prefactor     .10000E-03    .34826        .35887E-08** at limit **
  18  Prefactor     1.1448        .93449        .17470E-07    .23059E-04
  19  Prefactor     8.8410        1.9056        .25137E-08   -.48455E-04
  20  norm          1.2799        .66607       -.61348E-09   -.10180E-03
  21  Prefactor     .77126        .13603       -.25485E-07   -.32919E-03
  22  Prefactor     .10000E-03    1.1201        .12667E-06** at limit **
  23  Prefactor     .10000E-03    1.2751        .32399E-06** at limit **
  24  Prefactor     2.2380        1.3330        .20476E-07   -.11209E-03
  25  norm          .10000E-03    .36660        .36637E-07** at limit **
  26  Prefactor     2.2858        7.9057        .15525E-06   -.39269E-05
  27  Normalizat    1.0460        .44734E-01   -.64566E-07   -.20374E-03
  28  Prefactor     .92497        .48131E-01   -.39467E-07   -.18743E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.30013
  norm       = 0.698965
  Prefactor  = 26.5593
  Prefactor  = 26.7053
  Prefactor  = 10.0351
  Prefactor  = 0.836563
  Prefactor  = 4.27419
  Prefactor  = 4.4324
  Prefactor  = 7.14396
  Prefactor  = 18.1696
  Prefactor  = 0.0001
  Prefactor  = 17.1932
  Prefactor  = 2.74204
  Prefactor  = 0.296896
  Prefactor  = 3.69675
  norm       = 2.14336
  Prefactor  = 0.0001
  Prefactor  = 1.14483
  Prefactor  = 8.84098
  norm       = 1.27986
  Prefactor  = 0.771264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.23801
  norm       = 0.000100002
  Prefactor  = 2.28577
  Normalizat = 1.04599
  Prefactor  = 0.924974
 **********
 **   18 **HESSE 
 **********

 FCN=   91472.10     FROM HESSE     STATUS=OK           549 CALLS     3656 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3001        6.1312        .19427E-03   -1.5293    
   2  norm          .69896        .72352        .25443E-03   -1.5541    
   3  Prefactor     26.559        30.941        .77744E-04   -1.4677    
   4  Prefactor     26.705        9.8460        .38760E-03   -1.4674    
   5  Prefactor     10.035        8.2184        .63245E-03   -1.5074    
   6  Prefactor     .83656        .55784        .17662E-03   -1.5525    
   7  Prefactor     4.2742        4.2784        .97438E-03   -1.5294    
   8  Prefactor     4.4324        .77029        .96675E-04   -1.5287    
   9  Prefactor     7.1440        4.7611        .15008E-03   -1.5173    
  10  Prefactor     18.170        6.7819        .93962E-04   -1.4855    
  11  Prefactor     .10000E-03    23.227        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.193        7.0692        .96591E-04   -1.4878    
  13  Prefactor     2.7420        3.7037        .24586E-03   -1.5377    
  14  Prefactor     .29690        8.1820        .46776E-02   -1.5599    
  15  Prefactor     3.6968        4.1162        .21006E-03   -1.5323    
  16  norm          2.1434        .38054        .74091E-04   -1.5415    
  17  Prefactor     .10000E-03    2.3935        .32800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1448        .90570        .24984E-03   -1.5494    
  19  Prefactor     8.8410        1.8342        .13480E-03   -1.5113    
  20  norm          1.2799        .69728        .17084E-03   -1.5482    
  21  Prefactor     .77126        1.6565        .24663E-02   -1.5532    
  22  Prefactor     .10000E-03    1.1289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.3195        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.2380        1.3271        .24961E-03   -1.5409    
  25  norm          .10000E-03    .40710        .58791E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.2858        7.9097        .13577E-02   -1.5406    
  27  Normalizat    1.0460        .53051E-01    .22041E-03   -.91505    
  28  Prefactor     .92497        .56962E-01    .26454E-03   -.95274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70426e-07
Minuit parameter uncertainties:
  1  6.13212
  2  0.723531
  3  30.96
  4  9.84663
  5  8.21928
  6  0.557844
  7  4.27875
  8  0.770293
  9  4.76138
  10  6.7822
  11  4.95811e-06
  12  7.06956
  13  3.70399
  14  3.11712
  15  4.11651
  16  0.380542
  17  1.95596e-05
  18  0.90571
  19  1.83419
  20  0.697281
  21  1.65659
  22  1.47698e-07
  23  4.34656e-08
  24  1.32707
  25  5.67865e-05
  26  7.91334
  27  0.0530534
  28  0.0569657
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.143e+00  3.805e-01  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.250e-01  5.697e-02  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.046e+00  5.305e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 117.57
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.22e-08 +/- 5.72e-09
Energy Flux (Fixed Index): 2.31e-05 +/- 4.09e-06

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) = 91472.098532
delta logL = 7.2768467362e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 91472.0985259
delta logL = 7.89553450886e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1442       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9661       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92494       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   91472.10     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      246 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1443        .38221        .74159E-04    .12264E-04
   2  alpha         1.9662        .17517        .15675E-01    .79767E-04
   3  Normalizat    1.0461        .49675E-01    .22040E-03    .82532E-06
   4  Prefactor     .92494        .56177E-01    .26455E-03    .68759E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.14425
  alpha      = 1.96622
  Normalizat = 1.04607
  Prefactor  = 0.924941
 **********
 **   18 **HESSE 
 **********

 FCN=   91472.10     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .21E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1443        .37776        .29664E-05   -1.5415    
   2  alpha         1.9662        .17299        .62701E-03   -.21517    
   3  Normalizat    1.0461        .49689E-01    .88160E-05   -.91502    
   4  Prefactor     .92494        .56226E-01    .10582E-04   -.95275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10528e-15
Minuit parameter uncertainties:
  1  0.377765
  2  0.173136
  3  0.0496912
  4  0.0562293
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636910': 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) = 91472.0985257
delta logL = 7.90937774582e-05

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.144e+00  3.778e-01  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.966e+00  1.731e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.249e-01  5.623e-02  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.046e+00  4.969e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 117.53
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.97 +/- 0.17
Photon Flux (Free Index): 3.21e-08 +/- 9.24e-09
Energy Flux (Free Index): 2.31e-05 +/- 5.18e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/636910/cmap_HighResolution_672451201_675043201_4FGL_J1454.4+5124_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.22e-08', energy_flux2='2.31e-05', photon_flux_error='5.72e-09', dlogl='7.91e-05', energy_flux='2.31e-05', photon_flux2='3.21e-08', job_status='DONE', time_completed='2022-05-24 05:08:49.435669', photon_index_error2='0.17', photon_index2='1.97', ts='117.57', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='5.18e-06', EG='1.05', time_epoch_completed='1653394129.44', return_code='0', job_id='636910', GAL2='0.92', EG2='1.05', return_code2='0', energy_flux_error='4.09e-06', photon_flux_error2='9.24e-09', ts2='117.53', photon_index='1.97' WHERE bin_id='168' AND source_name='4FGL J1454.4+5124' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 05:08:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0145>
Subject: Job 636910: <4FGL_J1454.4+5124_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1454.4+5124_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 03:15:27 2022
Job was executed on host(s) <bullet0145>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:18:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:18:13 2022
Terminated at Tue May 24 05:08:50 2022
Results reported at Tue May 24 05:08:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_monthly_bin168 223.625 51.409 672451201 675043201 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 :                                   6553.53 sec.
    Max Memory :                                 646 MB
    Average Memory :                             442.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2952 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   6637 sec.
    Turnaround time :                            6803 sec.

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

