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


Performing analysis on: 4FGL_J2118.0+0019_daily_bin1757
RA = 319.505, Dec = 0.3295
tmin = 694742401, tmax = 695001601
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='220754', job_status='RUN', time_executed='2023-01-10 02:21:03.726758', time_epoch_executed='1673346063.73' WHERE source_name='4FGL J2118.0+0019' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/220754

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/220754/ft1_4FGL_J2118.0+0019_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/220754/ft1_4FGL_J2118.0+0019_daily_bin1757.fits outfile=/scratch/kocevski/220754/ft1_filteredMKT_4FGL_J2118.0+0019_daily_bin1757.fits ra=319.505 dec=0.3295 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.46
user 2.22
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.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/220754/ft1_filteredMKT_4FGL_J2118.0+0019_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.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.48
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/220754/ltcube_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.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/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits
.....................!
real 12.02
user 11.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/220754/ltcube_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.fits outfile=/scratch/kocevski/220754/expmap_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.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/220754/ltcube_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.fits
.....................!
real 159.05
user 154.10
sys 4.67

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

Setting source of interest to:
4FGL J2118.0+0019 @ 319.505 0.3295

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.fits scfile=/scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits outfile=/scratch/kocevski/220754/cmap_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.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=319.505 yref=0.3295 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.52
user 0.34
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.fits scfile=/scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits outfile=/scratch/kocevski/220754/cmap_HighResolution_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.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=319.505 yref=0.3295 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.50
user 0.33
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/220754/Model_4FGL_J2118.0+0019_daily_bin1757.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/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.fits.....................!
real 54.49
user 53.22
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.fits', '/scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits', expMap='/scratch/kocevski/220754/expmap_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.fits', expCube='/scratch/kocevski/220754/ltcube_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/220754/Model_4FGL_J2118.0+0019_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2118.0+0019'

4FGL J2118.0+0019
   Spectrum: PowerLaw
308    Prefactor:  7.605e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/220754/ft1_filtered_4FGL_J2118.0+0019_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/220754/ft2_4FGL_J2118.0+0019_daily_bin1757.fits
Exposure map: /scratch/kocevski/220754/expmap_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.fits
Exposure cube: /scratch/kocevski/220754/ltcube_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/220754/Model_4FGL_J2118.0+0019_daily_bin1757.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) = 6469.63830385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86088E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.9126       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.3238       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.210       1.0000          .0000       .10000E+07
     5 'Prefactor '    254.56       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16669E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35429E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    128.35       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7600       1.0000          .0000       .10000E+07
    10 'Prefactor '    .76122E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .27569       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31497E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .20928E-07   1.0000          .0000       .10000E+07
    14 'norm      '    4.1318       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9140       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4902       1.0000          .0000       .10000E+07
    17 'Normalizat'    .85565       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95483       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6469.619     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1407 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-08    12.006       -.48835E-06** at limit **
   2  Prefactor     2.1104        8.0923        .51089E-06    .42241E-03
   3  Prefactor     4.3208        1.6985       -.67830E-07    .81898E-02
   4  Prefactor     16.170        1.5612       -.30567E-07   -.10204E-01
   5  Prefactor     250.64        100.61        .32465E-06    .17493    
   6  Prefactor     .48062E-06    30.586        .15804E-05** at limit **
   7  Prefactor     .48850E-08    13.637       -.12595E-06** at limit **
   8  Prefactor     129.21        21.871       -.80685E-07    .59287    
   9  Prefactor     3.7579        4.2076        .88223E-07    .21516E-03
  10  Prefactor      .0000        1.3808       -.11807E-06** at limit **
  11  Prefactor     .20802E-05    108.94       -.13970E-05** at limit **
  12  Prefactor     .56694E-06    33.912        .14839E-06** at limit **
  13  norm           .0000        1.1497       -.40235E-07** at limit **
  14  norm          4.1907        15.473        .82358E-06    .16157E-01
  15  Prefactor     4.0402        6.5623       -.29943E-06   -.20100E-03
  16  Prefactor     4.2381        11.804        .20314E-06    .25083E-02
  17  Normalizat    .85693        .28559       -.11100E-04   -.14222E-04
  18  Prefactor     .95452        .13124        .27625E-05   -.41986E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-09
  Prefactor  = 2.11039
  Prefactor  = 4.32081
  Prefactor  = 16.1701
  Prefactor  = 250.64
  Prefactor  = 4.80616e-07
  Prefactor  = 4.88498e-09
  Prefactor  = 129.207
  Prefactor  = 3.75787
  Prefactor  = 0
  Prefactor  = 2.08022e-06
  Prefactor  = 5.66935e-07
  norm       = 0
  norm       = 4.1907
  Prefactor  = 4.0402
  Prefactor  = 4.23812
  Normalizat = 0.856926
  Prefactor  = 0.95452
 **********
 **   18 **HESSE 
 **********

 FCN=   6469.619     FROM HESSE     STATUS=OK           280 CALLS     1687 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-08    11.962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1104        8.1422        .75134E-03   -1.5679    
   3  Prefactor     4.3208        154.00        .48421E-03   -1.5666    
   4  Prefactor     16.170        39.104        .24849E-03   -1.5628    
   5  Prefactor     250.64        103.50        .62685E-04   -1.5391    
   6  Prefactor     .48062E-06    30.560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .48850E-08    13.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     129.21        61.743        .88272E-04   -1.5481    
   9  Prefactor     3.7579        4.2057        .52042E-03   -1.5669    
  10  Prefactor      .0000        1.3720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20802E-05    106.92        .10559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .56694E-06    34.000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.1458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.1907        15.671        .49566E-03   -1.5667    
  15  Prefactor     4.0402        6.5967        .50971E-03   -1.5668    
  16  Prefactor     4.2381        11.913        .47491E-03   -1.5667    
  17  Normalizat    .85693        .25818        .86463E-01   -.97991    
  18  Prefactor     .95452        .11207        .45700E-01   -.94261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1259e-05
Minuit parameter uncertainties:
  1  0.000281942
  2  8.14227
  3  51.5923
  4  39.1048
  5  103.5
  6  0.00766494
  7  0.000516832
  8  61.7435
  9  4.20572
  10  4.23688e-06
  11  0.0298272
  12  0.00878112
  13  3.33808e-06
  14  15.6713
  15  6.5967
  16  11.9133
  17  0.258556
  18  0.112099
Done.

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

Extracting fit parameters...

4FGL J2118.0+0019
   Spectrum: PowerLaw
308    Prefactor:  2.506e+02  1.035e+02  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.545e-01  1.121e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  8.569e-01  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.85
Ra Dec: 319.505 0.330
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 2.05e-07 +/- 8.45e-08
Energy Flux (Fixed Index): 5.51e-05 +/- 2.28e-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) = 6469.15540985
delta logL = 0.463193413515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6469.13385275
delta logL = 0.4847505064

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    182.51       1.0000          .0000       .10000E+07
     2 'Index     '    3.0260       1.0000          .0000       10.000    
     3 'Normalizat'    .78502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6469.134     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      297 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     182.43        118.71        .14806E-04   -.16893E-03
   2  Index         3.0254        .52886        .43916E-02    .49324E-03
   3  Normalizat    .78502        .29172        .39792E-03    .43399E-04
   4  Prefactor     .97689        .13358        .16903E-03   -.13934E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 182.433
  Index      = 3.02537
  Normalizat = 0.785016
  Prefactor  = 0.976887
 **********
 **   18 **HESSE 
 **********

 FCN=   6469.134     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     182.43        111.66        .59223E-06   -1.5438    
   2  Index         3.0254        .49704        .87832E-03   -.40599    
   3  Normalizat    .78502        .29129        .15917E-04   -1.0063    
   4  Prefactor     .97689        .13341        .33805E-04   -.93504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28696e-10
Minuit parameter uncertainties:
  1  111.659
  2  0.498011
  3  0.291874
  4  0.133454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/220754': 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) = 6469.13384673
delta logL = 0.484756535187

Extracting fit parameters...

4FGL J2118.0+0019
   Spectrum: PowerLaw
308    Prefactor:  1.824e+02  1.117e+02  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  3.025e+00  4.980e-01  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.769e-01  1.335e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  7.850e-01  2.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.10
Ra Dec: 319.505 0.330
Photon Index (Free Index): 3.03 +/- 0.50
Photon Flux (Free Index): 2.72e-07 +/- 1.17e-07
Energy Flux (Free Index): 5.37e-05 +/- 2.01e-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/220754/cmap_HighResolution_694742401_695001601_4FGL_J2118.0+0019_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.05e-07', energy_flux2='5.37e-05', photon_flux_error='8.45e-08', dlogl='4.85e-01', energy_flux='5.51e-05', photon_flux2='2.72e-07', job_status='DONE', time_completed='2023-01-10 02:28:17.038561', photon_index_error2='0.50', photon_index2='3.03', ts='10.85', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='0.86', time_epoch_completed='1673346497.04', return_code='0', job_id='220754', GAL2='0.98', EG2='0.79', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='1.17e-07', ts2='12.10', photon_index='2.57' WHERE bin_id='1757' AND source_name='4FGL J2118.0+0019' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:28:17 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 220754: <4FGL_J2118.0+0019_daily_bin1757> in cluster <slac> Done

Job <4FGL_J2118.0+0019_daily_bin1757> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 10 02:15:23 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:19:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:19:12 2023
Terminated at Tue Jan 10 02:28:17 2023
Results reported at Tue Jan 10 02:28:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2118.0+0019_daily_bin1757 319.505 0.3295 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2118.0+0019 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   435.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             331.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   545 sec.
    Turnaround time :                            774 sec.

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

