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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1751
RA = 223.625, Dec = 51.409
tmin = 693187201, tmax = 693446401
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='80348', job_status='RUN', time_executed='2022-12-23 00:53:55.248169', time_epoch_executed='1671785635.25' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80348

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80348/ft1_4FGL_J1454.4+5124_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80348/ft2_4FGL_J1454.4+5124_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80348/ft1_4FGL_J1454.4+5124_daily_bin1751.fits outfile=/scratch/kocevski/80348/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1751.fits ra=223.625 dec=51.409 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.43
sys 0.20

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

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

Number of photons that the gtmktime cut: 518

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/80348/ft1_filtered_4FGL_J1454.4+5124_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/80348/ft2_4FGL_J1454.4+5124_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/80348/ltcube_693187201_693446401_4FGL_J1454.4+5124_daily_bin1751.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/80348/ft2_4FGL_J1454.4+5124_daily_bin1751.fits
.....................!
real 12.12
user 11.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80348/ft1_filtered_4FGL_J1454.4+5124_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80348/ft2_4FGL_J1454.4+5124_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/80348/ltcube_693187201_693446401_4FGL_J1454.4+5124_daily_bin1751.fits outfile=/scratch/kocevski/80348/expmap_693187201_693446401_4FGL_J1454.4+5124_daily_bin1751.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/80348/ltcube_693187201_693446401_4FGL_J1454.4+5124_daily_bin1751.fits
.....................!
real 191.20
user 185.91
sys 4.91

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/80348/ft1_filtered_4FGL_J1454.4+5124_daily_bin1751.fits scfile=/scratch/kocevski/80348/ft2_4FGL_J1454.4+5124_daily_bin1751.fits outfile=/scratch/kocevski/80348/cmap_693187201_693446401_4FGL_J1454.4+5124_daily_bin1751.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/80348/ft1_filtered_4FGL_J1454.4+5124_daily_bin1751.fits scfile=/scratch/kocevski/80348/ft2_4FGL_J1454.4+5124_daily_bin1751.fits outfile=/scratch/kocevski/80348/cmap_HighResolution_693187201_693446401_4FGL_J1454.4+5124_daily_bin1751.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/80348/ft1_filtered_4FGL_J1454.4+5124_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80348/ft2_4FGL_J1454.4+5124_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/80348/Model_4FGL_J1454.4+5124_daily_bin1751.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/80348/ft1_filtered_4FGL_J1454.4+5124_daily_bin1751.fits.....................!
real 46.71
user 45.41
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    77.101       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.611       1.0000          .0000       .10000E+07
     4 'Prefactor '    .39405E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9942       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41484       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12266E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .83333E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26835E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.5327       1.0000          .0000       .10000E+07
    11 'norm      '    1.9295       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16093E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4930       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0539       1.0000          .0000       .10000E+07
    15 'norm      '    1.0366       1.0000          .0000       .10000E+07
    16 'Prefactor '    .83467E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22490E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15012E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47437       1.0000          .0000       .10000E+07
    20 'norm      '    3.0289       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11018E-01   1.0000          .0000       .10000E+07
    22 'Normalizat'    .89131       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2180       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=   5680.844     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1876 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .80301        .57897E-06** at limit **
   2  Prefactor     77.496        51.149        .15205E-05   -.52121E-01
   3  Prefactor     10.681        9.2896        .27569E-06    .88070E-01
   4  Prefactor      .0000        5.5778        .10718E-05** at limit **
   5  Prefactor     5.9567        1.2600        .29921E-08   -.66799E-02
   6  Prefactor     .41279        1.4056       -.76640E-06    .70368E-03
   7  Prefactor      .0000        5.6767        .12376E-05** at limit **
   8  Prefactor     .42122E-06    9.3093       -.77819E-06** at limit **
   9  Prefactor     .14866E-06    9.5580       -.16341E-05** at limit **
  10  Prefactor     4.5020        5.8935       -.74745E-06   -.74088E-01
  11  norm          1.9300        1.3291        .30044E-07   -.13953E-02
  12  Prefactor     .11102E-09    3.9619       -.14507E-05** at limit **
  13  Prefactor     1.4940        3.2836       -.45148E-06   -.69995E-04
  14  Prefactor     3.0710        6.9428        .17541E-06   -.77016E-03
  15  norm          1.0388        3.1408       -.77782E-07   -.12093E-03
  16  Prefactor     .14100E-07    12.775       -.97586E-06** at limit **
  17  Prefactor     .36804E-07    14.627        .87876E-07** at limit **
  18  Prefactor     .26368E-07    8.5139       -.14197E-05** at limit **
  19  Prefactor     .47259        1.1151       -.65818E-07    .25262E-02
  20  norm          3.0550        6.8466       -.35924E-06   -.10471E-02
  21  Prefactor     .74218E-07    13.684       -.58956E-06** at limit **
  22  Normalizat    .89118        .20199       -.15546E-04    .86274E-04
  23  Prefactor     1.2179        .23939        .25196E-04    .55652E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 77.4963
  Prefactor  = 10.6808
  Prefactor  = 0
  Prefactor  = 5.95672
  Prefactor  = 0.412794
  Prefactor  = 0
  Prefactor  = 4.21219e-07
  Prefactor  = 1.48659e-07
  Prefactor  = 4.50198
  norm       = 1.93005
  Prefactor  = 1.11022e-10
  Prefactor  = 1.49396
  Prefactor  = 3.07102
  norm       = 1.03877
  Prefactor  = 1.40998e-08
  Prefactor  = 3.68039e-08
  Prefactor  = 2.63678e-08
  Prefactor  = 0.472589
  norm       = 3.05503
  Prefactor  = 7.42184e-08
  Normalizat = 0.891177
  Prefactor  = 1.2179
 **********
 **   18 **HESSE 
 **********

 FCN=   5680.844     FROM HESSE     STATUS=OK           418 CALLS     2294 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .80210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     77.496        55.802        .11389E-03   -1.5532    
   3  Prefactor     10.681        30.072        .30734E-03   -1.5643    
   4  Prefactor      .0000        5.5450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9567        17.343        .40988E-03   -1.5659    
   6  Prefactor     .41279        1.4510        .87787E-03   -1.5695    
   7  Prefactor      .0000        5.6813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .42122E-06    22.357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .14866E-06    18.742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5020        15.261        .47262E-03   -1.5666    
  11  norm          1.9300        1.3385        .74748E-03   -1.5680    
  12  Prefactor     .11102E-09    3.9722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4940        3.3343        .87679E-03   -1.5684    
  14  Prefactor     3.0710        6.9664        .58028E-03   -1.5673    
  15  norm          1.0388        3.1937        .12358E-02   -1.5688    
  16  Prefactor     .14100E-07    12.924        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .36804E-07    15.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .26368E-07    20.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .47259        8.6251        .81330E-02   -1.5694    
  20  norm          3.0550        7.7056        .58282E-03   -1.5673    
  21  Prefactor     .74218E-07    23.079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89118        .17041        .44790E-01   -.96771    
  23  Prefactor     1.2179        .19826        .55105E-01   -.85782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3883e-06
Minuit parameter uncertainties:
  1  1.7893e-06
  2  55.8028
  3  30.0726
  4  1.5539e-05
  5  17.343
  6  1.45104
  7  1.76845e-06
  8  0.00613743
  9  0.00333838
  10  15.261
  11  1.3385
  12  3.78953e-05
  13  3.33429
  14  6.96637
  15  3.19375
  16  0.000854322
  17  0.00152663
  18  0.00145503
  19  4.03788
  20  7.70558
  21  0.00261776
  22  0.170517
  23  0.198385
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.930e+00  1.338e+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.218e+00  1.984e-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.912e-01  1.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.19
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.90e-08 +/- 2.01e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 1.44e-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) = 5680.77766096
delta logL = 0.066209292725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5680.77713255
delta logL = 0.0667377009877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6774       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1765       1.0000          .0000       5.0000    
     3 'Normalizat'    .88443       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2220       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=   5680.777     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      257 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6776        23.822        .81325E-03    .11038E-02
   2  alpha         2.1767        3.5397        .30970        .38142E-04
   3  Normalizat    .88444        .72935E-01    .44702E-01    .13889E-04
   4  Prefactor     1.2219        .68791E-01    .55020E-01    .30150E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67763
  alpha      = 2.1767
  Normalizat = 0.884437
  Prefactor  = 1.22191
 **********
 **   18 **HESSE 
 **********

 FCN=   5680.777     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6776        1.4510        .63653E-05   -1.5682    
   2  alpha         2.1767        .59921        .11181E-01   -.12968    
   3  Normalizat    .88444        .20169        .23858E-03   -.97009    
   4  Prefactor     1.2219        .23750        .24328E-03   -.85660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69904e-12
Minuit parameter uncertainties:
  1  1.45105
  2  0.605204
  3  0.201858
  4  0.237711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80348': 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) = 5680.77713227
delta logL = 0.0667379847982

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.678e+00  1.451e+00  0.000e+00  1.000e+06 ( 1.000e-12)
308        alpha:  2.177e+00  6.052e-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.222e+00  2.377e-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.844e-01  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.31
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.18 +/- 0.61
Photon Flux (Free Index): 3.53e-08 +/- 2.92e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.45e-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/80348/cmap_HighResolution_693187201_693446401_4FGL_J1454.4+5124_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.90e-08', energy_flux2='1.70e-05', photon_flux_error='2.01e-08', dlogl='6.67e-02', energy_flux='2.08e-05', photon_flux2='3.53e-08', job_status='DONE', time_completed='2022-12-23 01:03:15.575097', photon_index_error2='0.61', photon_index2='2.18', ts='5.19', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='0.89', time_epoch_completed='1671786195.58', return_code='0', job_id='80348', GAL2='1.22', EG2='0.88', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='2.92e-08', ts2='5.31', photon_index='1.97' WHERE bin_id='1751' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:03:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 80348: <4FGL_J1454.4+5124_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:50:18 2022
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:50:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:50:19 2022
Terminated at Fri Dec 23 01:03:16 2022
Results reported at Fri Dec 23 01:03:16 2022

Your job looked like:

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

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

