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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin1752
RA = 19.6884, Dec = -8.808
tmin = 693446401, tmax = 693705601
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='248325', job_status='RUN', time_executed='2022-12-26 00:12:37.472913', time_epoch_executed='1672042357.47' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248325

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248325/ft1_4FGL_J0118.7-0848_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248325/ft1_4FGL_J0118.7-0848_daily_bin1752.fits outfile=/scratch/kocevski/248325/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1752.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=693446401.0 tmax=693705601.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.53
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.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/248325/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.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.64
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 709

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/248325/ltcube_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.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/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits
.....................!
real 14.71
user 14.25
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/248325/ltcube_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.fits outfile=/scratch/kocevski/248325/expmap_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.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/248325/ltcube_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.fits
.....................!
real 193.49
user 187.05
sys 5.55

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

Setting source of interest to:
4FGL J0118.7-0848 @ 19.6884 -8.808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.fits scfile=/scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits outfile=/scratch/kocevski/248325/cmap_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.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=19.6884 yref=-8.808 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.fits scfile=/scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits outfile=/scratch/kocevski/248325/cmap_HighResolution_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.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=19.6884 yref=-8.808 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.63
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248325/Model_4FGL_J0118.7-0848_daily_bin1752.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/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.fits.....................!
real 74.05
user 72.57
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.fits', '/scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits', expMap='/scratch/kocevski/248325/expmap_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.fits', expCube='/scratch/kocevski/248325/ltcube_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248325/Model_4FGL_J0118.7-0848_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0118.7-0848'

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  4.571e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.596e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/248325/ft1_filtered_4FGL_J0118.7-0848_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/248325/ft2_4FGL_J0118.7-0848_daily_bin1752.fits
Exposure map: /scratch/kocevski/248325/expmap_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.fits
Exposure cube: /scratch/kocevski/248325/ltcube_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248325/Model_4FGL_J0118.7-0848_daily_bin1752.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) = 7336.28411404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7738       1.0000          .0000       .10000E+07
     2 'norm      '    .54328E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16686E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30286E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    17.063       1.0000          .0000       .10000E+07
     6 'Prefactor '    .56568E-03   1.0000          .0000       .10000E+07
     7 'norm      '    44.984       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10338E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .91294E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .28374E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .23463E-02   1.0000          .0000       .10000E+07
    12 'norm      '    20.156       1.0000          .0000       .10000E+07
    13 'norm      '    .26801       1.0000          .0000       .10000E+07
    14 'norm      '    21.108       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2038       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .53263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7336.249     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      894 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7764        2.5265       -.19263E-06    .54519E-02
   2  norm          .55511E-10    2.2754        .66154E-07** at limit **
   3  norm           .0000        1.2863       -.98824E-07** at limit **
   4  Prefactor      .0000        5.0309        .57597E-06** at limit **
   5  Prefactor     17.136        12.403        .41487E-05    .65045E-01
   6  Prefactor     .15271E-06    27.303        .17896E-05** at limit **
   7  norm          44.997        3.8661       -.43156E-08   -.43657E-02
   8  Prefactor     .55511E-10    2.7600        .11556E-06** at limit **
   9  Prefactor      .0000        .74814       -.18190E-06** at limit **
  10  Prefactor     .19873E-07    40.739       -.24729E-05** at limit **
  11  Prefactor     .27756E-08    11.015       -.76045E-06** at limit **
  12  norm          20.923        15.638        .44770E-05   -.68492E-01
  13  norm          .26985        .60962       -.89890E-08    .81195E-02
  14  norm          21.050        6.6804       -.26813E-06    .51234E-02
  15  Normalizat    1.2027        .17555        .16170E-05   -.10496E-03
  16  Prefactor     .53315        .16210       -.58790E-05   -.49703E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77636
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.1358
  Prefactor  = 1.52711e-07
  norm       = 44.997
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.9873e-08
  Prefactor  = 2.77556e-09
  norm       = 20.9234
  norm       = 0.269851
  norm       = 21.05
  Normalizat = 1.20268
  Prefactor  = 0.53315
 **********
 **   18 **HESSE 
 **********

 FCN=   7336.249     FROM HESSE     STATUS=OK           235 CALLS     1129 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7764        2.5364        .61079E-03   -1.5675    
   2  norm          .55511E-10    2.2349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.2884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.0374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.136        16.712        .24219E-03   -1.5625    
   6  Prefactor     .15271E-06    28.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          44.997        3.8682        .14911E-03   -1.5574    
   8  Prefactor     .55511E-10    2.7612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        .74784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19873E-07    40.977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27756E-08    11.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          20.923        22.325        .22281E-03   -1.5616    
  13  norm          .26985        .63012        .23113E-02   -1.5698    
  14  norm          21.050        6.7646        .21772E-03   -1.5616    
  15  Normalizat    1.2027        .15227        .51282E-01   -.86520    
  16  Prefactor     .53315        .14035        .69391E-01   -1.1048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87536e-07
Minuit parameter uncertainties:
  1  2.5364
  2  1.83151e-05
  3  1.16561e-05
  4  1.86795e-05
  5  16.7119
  6  0.00414715
  7  3.86822
  8  1.83174e-05
  9  1.68251e-06
  10  0.00180416
  11  0.000348775
  12  22.3251
  13  0.630124
  14  6.7646
  15  0.152321
  16  0.14044
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.987e-08  1.804e-03  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.596e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  5.332e-01  1.404e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.203e+00  1.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.688 -8.808
Photon Flux Upper Limit: 8.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248325/likelihoodResults_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.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) = 7335.7297796
delta logL = 0.519466606352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7335.70242452
delta logL = 0.546821681486

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7335.702     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      474 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67354E-01    1.1281        .51824E-03** at limit **
   2  Index         6.4452        3.0713        .15577        .51782E-04
   3  Normalizat    1.1556        .30865E-01    .52114E-01    .37518E-03
   4  Prefactor     .55986        .29037E-01    .67835E-01    .32511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0673545
  Index      = 6.44519
  Normalizat = 1.15556
  Prefactor  = 0.559855
 **********
 **   18 **HESSE 
 **********

 FCN=   7335.702     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      507 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67354E-01    3.8811        .24070E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.4452        8.1870        .78946E-02    .29322    
   3  Normalizat    1.1556        .12232        .23040E-03   -.87987    
   4  Prefactor     .55986        .11282        .30026E-03   -1.0930    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.73376e-10
Minuit parameter uncertainties:
  1  1.02257
  2  8.11337
  3  0.122351
  4  0.11287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248325': 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) = 7335.70241895
delta logL = 0.546827247139

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  6.735e-02  1.023e+00  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  6.445e+00  8.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  5.599e-01  1.129e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.156e+00  1.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.15
Ra Dec: 19.688 -8.808
Photon Index (Free Index): 6.45 +/- 8.11
Photon Flux (Free Index): 4.12e-08 +/- 4.82e-08
Energy Flux (Free Index): 5.02e-06 +/- 6.96e-06

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/248325/cmap_HighResolution_693446401_693705601_4FGL_J0118.7-0848_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='5.02e-06', dlogl='5.47e-01', photon_flux2='4.12e-08', job_status='DONE', time_completed='2022-12-26 00:22:23.112279', photon_index_error2='8.11', photon_index2='6.45', ts='-0.00', fit_tolerance='1e-08', GAL='0.53', photon_index_error='0.00', photon_flux_upper_limit='8.16e-08', energy_flux_error2='6.96e-06', EG='1.20', time_epoch_completed='1672042943.11', return_code='0', job_id='248325', GAL2='0.56', EG2='1.16', return_code2='102', photon_flux_error2='4.82e-08', ts2='1.15', photon_index='2.60' WHERE bin_id='1752' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:22:23 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 248324: <4FGL_J0118.7-0848_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:16 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:08:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:08:45 2022
Terminated at Mon Dec 26 00:20:42 2022
Results reported at Mon Dec 26 00:20:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1752 19.6884 -8.808 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0118.7-0848 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   582.13 sec.
    Max Memory :                                 617 MB
    Average Memory :                             271.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            866 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 248325: <4FGL_J0118.7-0848_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1752> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:16 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:08:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:08:45 2022
Terminated at Mon Dec 26 00:22:23 2022
Results reported at Mon Dec 26 00:22:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1752 19.6884 -8.808 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0118.7-0848 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   587.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             251.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            967 sec.

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

