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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1748
RA = 223.544, Dec = 16.3747
tmin = 692409601, tmax = 692668801
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='889341', job_status='RUN', time_executed='2022-12-14 00:52:40.882542', time_epoch_executed='1671007960.88' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889341

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889341/ft1_4FGL_J1454.1+1622_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889341/ft1_4FGL_J1454.1+1622_daily_bin1748.fits outfile=/scratch/kocevski/889341/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1748.fits ra=223.544 dec=16.3747 rad=12.0 tmin=692409601.0 tmax=692668801.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.32
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.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/889341/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.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.16

Number of photons that the gtmktime cut: 812

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/889341/ltcube_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.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/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits
.....................!
real 12.48
user 12.12
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/889341/ltcube_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.fits outfile=/scratch/kocevski/889341/expmap_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.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/889341/ltcube_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.fits
.....................!
real 193.18
user 187.30
sys 5.44

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.1+1622 @ 223.544 16.3747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.fits scfile=/scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits outfile=/scratch/kocevski/889341/cmap_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.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.544 yref=16.3747 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.fits scfile=/scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits outfile=/scratch/kocevski/889341/cmap_HighResolution_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.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.544 yref=16.3747 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/889341/Model_4FGL_J1454.1+1622_daily_bin1748.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/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.fits.....................!
real 63.62
user 62.22
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.fits', '/scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits', expMap='/scratch/kocevski/889341/expmap_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.fits', expCube='/scratch/kocevski/889341/ltcube_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/889341/Model_4FGL_J1454.1+1622_daily_bin1748.xml', optimizer='MINUIT')

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

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.482e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/889341/ft1_filtered_4FGL_J1454.1+1622_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/889341/ft2_4FGL_J1454.1+1622_daily_bin1748.fits
Exposure map: /scratch/kocevski/889341/expmap_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.fits
Exposure cube: /scratch/kocevski/889341/ltcube_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/889341/Model_4FGL_J1454.1+1622_daily_bin1748.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) = 8715.48887228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.624       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.5293       1.0000          .0000       .10000E+07
     3 'norm      '    8.9286       1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .50743E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .13305E-02   1.0000          .0000       .10000E+07
     7 'norm      '    2.3099       1.0000          .0000       .10000E+07
     8 'Prefactor '    14.768       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .28327E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6642       1.0000          .0000       .10000E+07
    12 'norm      '    .52658       1.0000          .0000       .10000E+07
    13 'norm      '    .11520E-03   1.0000          .0000       .10000E+07
    14 'norm      '    9.9857       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.4599       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31002E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.6492       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .84708       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8715.481     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1347 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.550        4.2925        .11079E-06   -.81904E-01
   2  Prefactor     2.5338        6.8016       -.18815E-06   -.31744E-03
   3  norm          8.9251        3.3748       -.14971E-07   -.57073E-04
   4  norm           .0000        1.2225       -.24616E-07** at limit **
   5  Prefactor     .30803E-06    10.241       -.10736E-06** at limit **
   6  norm          .55511E-10    7.7679       -.15054E-07** at limit **
   7  norm          2.3084        2.6889        .23076E-07    .69993E-03
   8  Prefactor     14.747        3.9176        .15265E-06   -.27706E-01
   9  Prefactor     .43959E-06    10.408        .53093E-06** at limit **
  10  Prefactor     .10325E-07    14.911       -.37805E-06** at limit **
  11  Prefactor     1.6673        4.4752       -.62575E-08    .56691E-04
  12  norm          .52637        .17741       -.12875E-07   -.13473E-01
  13  norm           .0000        6.3583        .13528E-06** at limit **
  14  norm          10.176        8.8379       -.58675E-06    .87110E-01
  15  Prefactor     .24143        1268.2        .15533E-04** at limit **
  16  Prefactor     .18097E-07    24.423        .62149E-06** at limit **
  17  Normalizat    1.6502        .25102       -.66902E-05   -.10869E-04
  18  Prefactor     .84700        .16046        .57483E-05    .92644E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.5501
  Prefactor  = 2.53383
  norm       = 8.92511
  norm       = 0
  Prefactor  = 3.08031e-07
  norm       = 5.55112e-11
  norm       = 2.30843
  Prefactor  = 14.7468
  Prefactor  = 4.39593e-07
  Prefactor  = 1.03251e-08
  Prefactor  = 1.66727
  norm       = 0.526372
  norm       = 0
  norm       = 10.1756
  Prefactor  = 0.241426
  Prefactor  = 1.80966e-08
  Normalizat = 1.65023
  Prefactor  = 0.847004
 **********
 **   18 **HESSE 
 **********

 FCN=   8715.481     FROM HESSE     STATUS=OK           286 CALLS     1633 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.550        25.283        .13786E-03   -1.5563    
   2  Prefactor     2.5338        6.8583        .64200E-03   -1.5676    
   3  norm          8.9251        3.3719        .33519E-03   -1.5648    
   4  norm           .0000        1.2129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .30803E-06    10.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    7.7568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.3084        2.6949        .67481E-03   -1.5678    
   8  Prefactor     14.747        21.186        .26037E-03   -1.5631    
   9  Prefactor     .43959E-06    10.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10325E-07    15.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6673        4.5241        .81726E-03   -1.5682    
  12  norm          .52637        .17809        .49532E-03   -1.5693    
  13  norm           .0000        6.3275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.176        32.884        .31685E-03   -1.5644    
  15  Prefactor     .24143        36.987        .13698E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .18097E-07    24.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.6502        .20629        .62007E-01   -.73640    
  18  Prefactor     .84700        .13194        .44327E-01   -.98018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2641e-06
Minuit parameter uncertainties:
  1  25.2834
  2  6.85832
  3  3.3719
  4  3.67894e-07
  5  0.003621
  6  3.44399e-05
  7  2.69492
  8  21.1864
  9  0.00438878
  10  0.000786751
  11  4.52415
  12  0.178095
  13  1.97604e-05
  14  32.8844
  15  5.97654
  16  0.00133567
  17  0.206395
  18  0.13199
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.033e-08  7.868e-04  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  8.470e-01  1.320e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  1.650e+00  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 7.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889341/likelihoodResults_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.txt

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) = 8715.51315925
delta logL = -0.0321711447505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8715.48098811
delta logL = -2.29374563787e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77716E-09   1.0000          .0000       .10000E+07
     2 'Index     '    .80418       1.0000          .0000       10.000    
     3 'Normalizat'    1.6502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84701       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8715.436     FROM MIGRAD    STATUS=FAILED       160 CALLS      330 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65141E-02    1.2640        .19207E-04** at limit **
   2  Index         6.2839        7.2022        .21205E-01    .75413E-03
   3  Normalizat    1.6313        .25913        .27550E-03   -.96744E-04
   4  Prefactor     .85500        .16416        .23580E-03   -.54577E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8715.436     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      415 TOTAL
                     EDM=   .82E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65141E-02    1.2640        .48331E-05   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2839        7.2022        .57411E-02    .25969    
   3  Normalizat    1.6313        .25913        .17189E-03   -.74152    
   4  Prefactor     .85500        .16416        .76185E-04   -.97732    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8715.436     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      445 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65141E-02    .37826        .38413E-05** at limit **
   2  Index         6.2839        8.0008        .42410E-02    .30144E-04
   3  Normalizat    1.6313        .25458        .55100E-04   -.17332E-05
   4  Prefactor     .85500        .16268        .94321E-05   -.96425E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00651412
  Index      = 6.28391
  Normalizat = 1.63132
  Prefactor  = 0.854996
 **********
 **   18 **HESSE 
 **********

 FCN=   8715.436     FROM HESSE     STATUS=OK            27 CALLS      472 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65141E-02    .32983        .76826E-06   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2839        7.9057        .84820E-03    .25969    
   3  Normalizat    1.6313        .25457        .11020E-04   -.74152    
   4  Prefactor     .85500        .16260        .18864E-05   -.97732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96976e-11
Minuit parameter uncertainties:
  1  0.0927047
  2  6.72774
  3  0.254769
  4  0.162692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889341': 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) = 8715.43581701
delta logL = 0.0451710902016

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  6.514e-03  9.270e-02  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  6.284e+00  6.728e+00  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  8.550e-01  1.627e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  1.631e+00  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.544 16.375

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/889341/cmap_HighResolution_692409601_692668801_4FGL_J1454.1+1622_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.61e-03', job_status='DONE', photon_flux_upper_limit='7.26e-08', time_completed='2022-12-14 01:02:09.467114', job_id='889341', GAL2='0.85', fit_tolerance='1e-08', EG2='1.63', EG='1.65', time_epoch_completed='1671008529.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='4.52e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1748' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:02:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 889341: <4FGL_J1454.1+1622_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:50:20 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:50:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:50:21 2022
Terminated at Wed Dec 14 01:02:09 2022
Results reported at Wed Dec 14 01:02:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1748 223.544 16.3747 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.1+1622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   570.63 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             242.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            709 sec.

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

