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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin1763
RA = 19.6884, Dec = -8.808
tmin = 696297601, tmax = 696556801
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='266723', job_status='RUN', time_executed='2023-01-28 00:10:00.804405', time_epoch_executed='1674893400.8' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266723

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266723/ft1_4FGL_J0118.7-0848_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266723/ft1_4FGL_J0118.7-0848_daily_bin1763.fits outfile=/scratch/kocevski/266723/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1763.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=696297601.0 tmax=696556801.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.67
user 3.42
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.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/266723/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.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.53
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/266723/ltcube_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.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/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits
.....................!
real 14.87
user 14.36
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/266723/ltcube_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.fits outfile=/scratch/kocevski/266723/expmap_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.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/266723/ltcube_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.fits
.....................!
real 195.43
user 188.11
sys 5.61

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/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.fits scfile=/scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits outfile=/scratch/kocevski/266723/cmap_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.fits scfile=/scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits outfile=/scratch/kocevski/266723/cmap_HighResolution_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.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.57
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/266723/Model_4FGL_J0118.7-0848_daily_bin1763.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/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.fits.....................!
real 64.40
user 62.72
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.fits', '/scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits', expMap='/scratch/kocevski/266723/expmap_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.fits', expCube='/scratch/kocevski/266723/ltcube_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/266723/Model_4FGL_J0118.7-0848_daily_bin1763.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/266723/ft1_filtered_4FGL_J0118.7-0848_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/266723/ft2_4FGL_J0118.7-0848_daily_bin1763.fits
Exposure map: /scratch/kocevski/266723/expmap_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.fits
Exposure cube: /scratch/kocevski/266723/ltcube_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/266723/Model_4FGL_J0118.7-0848_daily_bin1763.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) = 6122.36875026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21405E-03   1.0000          .0000       .10000E+07
     2 'norm      '    5.6255       1.0000          .0000       .10000E+07
     3 'norm      '    8.2734       1.0000          .0000       .10000E+07
     4 'Prefactor '    .63544E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    103.09       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.3820       1.0000          .0000       .10000E+07
     7 'norm      '    29.464       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76618E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .31554E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16156E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8053       1.0000          .0000       .10000E+07
    12 'norm      '    .27831E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .19429E-07   1.0000          .0000       .10000E+07
    14 'norm      '    32.381       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1402       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96161       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=   6122.271     FROM MIGRAD    STATUS=CONVERGED    133 CALLS      892 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    4.6021        .14100E-05** at limit **
   2  norm          5.8218        6.2254        .96927E-06    .40778E-02
   3  norm          8.2827        6.9422        .24737E-08   -.89742E-03
   4  Prefactor     .27756E-09    12.243        .21122E-06** at limit **
   5  Prefactor     98.059        64.361        .97784E-06    .37175E-03
   6  Prefactor     8.9544        4.1551        .15687E-05   -.66869E-01
   7  norm          29.465        3.5853        .31303E-06   -.79456E-03
   8  Prefactor     .54567E-07    13.312        .57057E-05** at limit **
   9  Prefactor      .0000        2.0573        .51294E-07** at limit **
  10  Prefactor     .55456E-07    42.177        .88404E-05** at limit **
  11  Prefactor     5.6719        11.494       -.66323E-06   -.18442E-03
  12  norm          .28033E-07    11.507       -.36849E-05** at limit **
  13  norm           .0000        .37475       -.98835E-07** at limit **
  14  norm          32.358        9.4627       -.28061E-06   -.14982E-02
  15  Normalizat    1.1402        .23441        .17749E-04    .18347E-03
  16  Prefactor     .96340        .22316       -.10070E-04    .10986E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  norm       = 5.82181
  norm       = 8.28272
  Prefactor  = 2.77556e-10
  Prefactor  = 98.0591
  Prefactor  = 8.95445
  norm       = 29.4654
  Prefactor  = 5.45675e-08
  Prefactor  = 0
  Prefactor  = 5.54556e-08
  Prefactor  = 5.67186
  norm       = 2.80331e-08
  norm       = 0
  norm       = 32.3579
  Normalizat = 1.14019
  Prefactor  = 0.9634
 **********
 **   18 **HESSE 
 **********

 FCN=   6122.271     FROM HESSE     STATUS=OK           233 CALLS     1125 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    4.5708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.8218        6.2323        .42331E-03   -1.5660    
   3  norm          8.2827        7.0705        .34830E-03   -1.5650    
   4  Prefactor     .27756E-09    12.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     98.059        64.493        .98496E-04   -1.5510    
   6  Prefactor     8.9544        33.302        .32694E-03   -1.5648    
   7  norm          29.465        3.5865        .18426E-03   -1.5599    
   8  Prefactor     .54567E-07    13.235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55456E-07    42.271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6719        11.503        .41660E-03   -1.5660    
  12  norm          .28033E-07    11.558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .37490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          32.358        9.4619        .17576E-03   -1.5594    
  15  Normalizat    1.1402        .20111        .63368E-01   -.88472    
  16  Prefactor     .96340        .19348        .45785E-01   -.93960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88437e-07
Minuit parameter uncertainties:
  1  5.65969e-05
  2  6.23233
  3  7.07049
  4  0.000118659
  5  64.493
  6  33.3031
  7  3.58653
  8  0.00170002
  9  7.84614e-06
  10  0.00306192
  11  11.5029
  12  0.00113843
  13  1.87039e-06
  14  9.46189
  15  0.201245
  16  0.193622
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  5.546e-08  3.062e-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:  9.634e-01  1.936e-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.140e+00  2.012e-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: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/266723/likelihoodResults_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.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) = 6122.10509691
delta logL = 0.165813334635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6122.09063403
delta logL = 0.180276214333

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80743E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.2715       1.0000          .0000       10.000    
     3 'Normalizat'    1.1004       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98590       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=   6122.091     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      303 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76834E-01    1.8189        .83797E-03** at limit **
   2  Index         6.2970        3.1225        .20863        .10311E-03
   3  Normalizat    1.1010        .29276E-01    .64321E-01    .49169E-04
   4  Prefactor     .98545        .27734E-01    .46091E-01    .62686E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0768339
  Index      = 6.29704
  Normalizat = 1.10095
  Prefactor  = 0.985454
 **********
 **   18 **HESSE 
 **********

 FCN=   6122.091     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      336 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76834E-01    12.149        .37754E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2970        7.0850        .98427E-02    .26241    
   3  Normalizat    1.1010        .17619        .28452E-03   -.89721    
   4  Prefactor     .98545        .16404        .28190E-03   -.93216    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.69169e-10
Minuit parameter uncertainties:
  1  1.9323
  2  13.4817
  3  0.176282
  4  0.164125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266723': 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) = 6122.09062564
delta logL = 0.180284609541

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  7.683e-02  1.932e+00  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  6.297e+00  1.348e+01  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:  9.855e-01  1.641e-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.101e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.688 -8.808

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/266723/cmap_HighResolution_696297601_696556801_4FGL_J0118.7-0848_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.50e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2023-01-28 00:18:31.825498', job_id='266723', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.14', time_epoch_completed='1674893911.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.80e-01', ts2='0.38', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1763' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:18:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 266723: <4FGL_J0118.7-0848_daily_bin1763> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1763> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jan 28 00:05:03 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:09:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:09:16 2023
Terminated at Sat Jan 28 00:18:32 2023
Results reported at Sat Jan 28 00:18:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1763 19.6884 -8.808 696297601 696556801 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 :                                   511.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            809 sec.

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

