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


Performing analysis on: 4FGL_J1118.2-4634_daily_bin1750
RA = 169.558, Dec = -46.5795
tmin = 692928001, tmax = 693187201
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='6788', job_status='RUN', time_executed='2022-12-20 00:37:39.384148', time_epoch_executed='1671525459.38' WHERE source_name='4FGL J1118.2-4634' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6788

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6788/ft1_4FGL_J1118.2-4634_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6788/ft1_4FGL_J1118.2-4634_daily_bin1750.fits outfile=/scratch/kocevski/6788/ft1_filteredMKT_4FGL_J1118.2-4634_daily_bin1750.fits ra=169.558 dec=-46.5795 rad=12.0 tmin=692928001.0 tmax=693187201.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.46
user 3.22
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.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/6788/ft1_filteredMKT_4FGL_J1118.2-4634_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1652

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/6788/ltcube_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.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/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits
.....................!
real 12.94
user 12.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/6788/ltcube_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.fits outfile=/scratch/kocevski/6788/expmap_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.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/6788/ltcube_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.fits
.....................!
real 191.23
user 185.10
sys 5.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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Added 249 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1118.2-4634 @ 169.558 -46.5795

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.fits scfile=/scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits outfile=/scratch/kocevski/6788/cmap_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.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=169.558 yref=-46.5795 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.fits scfile=/scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits outfile=/scratch/kocevski/6788/cmap_HighResolution_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.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=169.558 yref=-46.5795 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/6788/Model_4FGL_J1118.2-4634_daily_bin1750.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source G296.5+10.0
adding source GAL_V02
adding source Westerlund 2
Working on...
/scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.fits.....................!
real 209.11
user 207.25
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.fits', '/scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits', expMap='/scratch/kocevski/6788/expmap_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.fits', expCube='/scratch/kocevski/6788/ltcube_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/6788/Model_4FGL_J1118.2-4634_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1118.2-4634'

4FGL J1118.2-4634
   Spectrum: LogParabola
429         norm:  3.356e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
430        alpha:  2.666e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
431         beta:  4.085e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/6788/ft1_filtered_4FGL_J1118.2-4634_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/6788/ft2_4FGL_J1118.2-4634_daily_bin1750.fits
Exposure map: /scratch/kocevski/6788/expmap_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.fits
Exposure cube: /scratch/kocevski/6788/ltcube_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/6788/Model_4FGL_J1118.2-4634_daily_bin1750.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) = 16381.5168157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30531E-07   1.0000          .0000       .10000E+07
     2 'norm      '    7.0985       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20853E-02   1.0000          .0000       .10000E+07
     4 'norm      '    1.7543       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.913       1.0000          .0000       .10000E+07
     6 'norm      '    2.5323       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16030E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .19839E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    47.090       1.0000          .0000       .10000E+07
    10 'Prefactor '    39.562       1.0000          .0000       .10000E+07
    11 'norm      '    13.765       1.0000          .0000       .10000E+07
    12 'Prefactor '    .75380E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    55.158       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2410       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95699       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16381.42     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     1082 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.4755       -.12088E-05** at limit **
   2  norm          6.9962        1.1294        .88921E-08   -.18511E-01
   3  Prefactor     .11102E-09    12.210        .66348E-06** at limit **
   4  norm          1.7604        2.3274        .41472E-06    .39816E-03
   5  Prefactor     13.951        8.7801       -.13296E-06   -.87514E-03
   6  norm          2.5328        2.0282       -.54899E-06   -.18848E-03
   7  Prefactor     .49960E-09    5.9481        .68818E-06** at limit **
   8  norm          .33307E-09    7.1911       -.35532E-06** at limit **
   9  Prefactor     47.134        4.0738        .15597E-06   -.67093E-01
  10  Prefactor     39.772        20.976        .88955E-06   -.10037    
  11  norm          13.847        6.2804        .93912E-09   -.77652E-04
  12  Prefactor     .55511E-10    4.9117        .97647E-06** at limit **
  13  Prefactor     55.415        23.084        .81699E-06    .12140    
  14  Prefactor     .10000E-03    1.9764        .45278E-06** at limit **
  15  Normalizat    1.2400        .24142       -.54916E-05    .49030E-05
  16  Prefactor     .95712        .57795E-01   -.32972E-05    .41313E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.99619
  Prefactor  = 1.11022e-10
  norm       = 1.7604
  Prefactor  = 13.9506
  norm       = 2.53278
  Prefactor  = 4.996e-10
  norm       = 3.33067e-10
  Prefactor  = 47.1344
  Prefactor  = 39.7722
  norm       = 13.8472
  Prefactor  = 5.55112e-11
  Prefactor  = 55.4147
  Prefactor  = 0.0001
  Normalizat = 1.24
  Prefactor  = 0.957119
 **********
 **   18 **HESSE 
 **********

 FCN=   16381.42     FROM HESSE     STATUS=OK           237 CALLS     1319 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.4748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.9962        12.755        .37627E-03   -1.5655    
   3  Prefactor     .11102E-09    12.206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7604        2.3410        .79109E-03   -1.5681    
   5  Prefactor     13.951        8.7664        .26827E-03   -1.5633    
   6  norm          2.5328        2.0365        .64158E-03   -1.5676    
   7  Prefactor     .49960E-09    5.9416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .33307E-09    7.1899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     47.134        42.336        .14574E-03   -1.5571    
  10  Prefactor     39.772        34.480        .15900E-03   -1.5582    
  11  norm          13.847        6.2786        .26971E-03   -1.5634    
  12  Prefactor     .55511E-10    4.9107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     55.415        28.999        .13466E-03   -1.5559    
  14  Prefactor     .10000E-03    1.9694        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2400        .22494        .11986       -.85376    
  16  Prefactor     .95712        .54007E-01    .33140E-01   -.94173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98157e-07
Minuit parameter uncertainties:
  1  5.22567e-06
  2  12.755
  3  6.42011e-05
  4  2.34105
  5  8.76645
  6  2.03651
  7  0.000110651
  8  9.66486e-05
  9  42.3365
  10  34.4799
  11  6.27865
  12  2.71363e-05
  13  28.999
  14  1.86752e-06
  15  0.225116
  16  0.0540099
Done.

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

Extracting fit parameters...

4FGL J1118.2-4634
   Spectrum: LogParabola
429         norm:  3.331e-10  9.665e-05  0.000e+00  1.000e+06 ( 1.000e-13)
430        alpha:  2.666e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
431         beta:  4.085e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
896    Prefactor:  9.571e-01  5.401e-02  0.000e+00  1.000e+01 ( 1.000e+00)
897        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
898        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
881   Normalization:  1.240e+00  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 169.558 -46.580
Photon Flux Upper Limit: 4.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/6788/likelihoodResults_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.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): 102
logL (Free Index) = 16381.4158514
delta logL = -9.15042219276e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16381.4157636
delta logL = -3.67797656509e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24619E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .21907       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95725       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16381.42     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      280 TOTAL
                     EDM=   .91E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .10890        .42118E-03** at limit **
   2  alpha         2.8557        3.1546        .51000        .10700E-10
   3  Normalizat    1.2400        .80045E-03    .11986       -.47157E-03
   4  Prefactor     .95712        .19757E-03    .33140E-01   -.30393E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 2.85574
  Normalizat = 1.24
  Prefactor  = 0.957117
 **********
 **   18 **HESSE 
 **********

 FCN=   16381.42     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      305 TOTAL
                     EDM=   .47E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .54815        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8557        3.8486        .51000        .14278    
   3  Normalizat    1.2400        .17880E-02    .53172E-03   -.85376    
   4  Prefactor     .95712        .44305E-03    .14643E-03   -.94173    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.71009e-13
Minuit parameter uncertainties:
  1  1.19403e-05
  2  109899
  3  0.00178804
  4  0.000443053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6788': 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): 102
logL (Free Index) = 16381.4157599
delta logL = -6.65750121698e-10

Extracting fit parameters...

4FGL J1118.2-4634
   Spectrum: LogParabola
429         norm:  5.551e-11  1.194e-05  0.000e+00  1.000e+06 ( 1.000e-13)
430        alpha:  2.856e+00  1.099e+05  0.000e+00  5.000e+00 ( 1.000e+00)
431         beta:  4.085e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
896    Prefactor:  9.571e-01  4.431e-04  0.000e+00  1.000e+01 ( 1.000e+00)
897        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
898        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
881   Normalization:  1.240e+00  1.788e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.558 -46.580

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/6788/cmap_HighResolution_692928001_693187201_4FGL_J1118.2-4634_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.80e-05', job_status='DONE', photon_flux_upper_limit='4.18e-08', time_completed='2022-12-20 00:58:19.671384', job_id='6788', GAL2='0.96', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1671526699.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-6.66e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1750' AND source_name='4FGL J1118.2-4634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:58:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0248>
Subject: Job 6788: <4FGL_J1118.2-4634_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1118.2-4634_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 00:35:16 2022
Job was executed on host(s) <bullet0248>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:35:18 2022
Terminated at Tue Dec 20 00:58:20 2022
Results reported at Tue Dec 20 00:58:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1118.2-4634_daily_bin1750 169.558 -46.5795 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1118.2-4634 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1239.85 sec.
    Max Memory :                                 635 MB
    Average Memory :                             342.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1382 sec.
    Turnaround time :                            1384 sec.

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

