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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1751
RA = 124.695, Dec = 31.8862
tmin = 693187201, tmax = 693446401
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='73726', job_status='RUN', time_executed='2022-12-23 00:28:58.195980', time_epoch_executed='1671784138.2' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73726

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73726/ft1_4FGL_J0818.7+3153_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73726/ft1_4FGL_J0818.7+3153_daily_bin1751.fits outfile=/scratch/kocevski/73726/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1751.fits ra=124.695 dec=31.8862 rad=12.0 tmin=693187201.0 tmax=693446401.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.77
user 2.56
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.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/73726/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.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.41
user 0.25
sys 0.15

Number of photons that the gtmktime cut: 648

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73726/ltcube_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.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/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits
.....................!
real 9.17
user 8.84
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73726/ltcube_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.fits outfile=/scratch/kocevski/73726/expmap_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.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/73726/ltcube_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.fits
.....................!
real 143.16
user 139.35
sys 3.54

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

Setting source of interest to:
4FGL J0818.7+3153 @ 124.695 31.8862

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.fits scfile=/scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits outfile=/scratch/kocevski/73726/cmap_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.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=124.695 yref=31.8862 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.45
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.fits scfile=/scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits outfile=/scratch/kocevski/73726/cmap_HighResolution_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.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=124.695 yref=31.8862 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.45
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73726/Model_4FGL_J0818.7+3153_daily_bin1751.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/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.fits.....................!
real 51.17
user 50.01
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.fits', '/scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits', expMap='/scratch/kocevski/73726/expmap_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.fits', expCube='/scratch/kocevski/73726/ltcube_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73726/Model_4FGL_J0818.7+3153_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0818.7+3153'

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.482e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/73726/ft1_filtered_4FGL_J0818.7+3153_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/73726/ft2_4FGL_J0818.7+3153_daily_bin1751.fits
Exposure map: /scratch/kocevski/73726/expmap_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.fits
Exposure cube: /scratch/kocevski/73726/ltcube_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73726/Model_4FGL_J0818.7+3153_daily_bin1751.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) = 7120.80233208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.692       1.0000          .0000       .10000E+07
     2 'norm      '    .59891E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11730E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54941E-03   1.0000          .0000       .10000E+07
     5 'norm      '    13.723       1.0000          .0000       .10000E+07
     6 'norm      '    16.242       1.0000          .0000       .10000E+07
     7 'Prefactor '    32.734       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.0140       1.0000          .0000       .10000E+07
     9 'norm      '    .29608       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28439E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35970E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    27.596       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.4578       1.0000          .0000       .10000E+07
    14 'norm      '     .0000       1.0000          .0000       .10000E+07
    15 'Prefactor '    21.818       1.0000          .0000       .10000E+07
    16 'Prefactor '    .94878E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.984       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0631       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0448       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7120.802     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1497 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.722        13.390        .58246E-06    .81470E-01
   2  norm           .0000        4.1742        .40442E-06** at limit **
   3  Prefactor     .73996E-07    18.917       -.29021E-06** at limit **
   4  Prefactor      .0000        4.4205       -.63766E-06** at limit **
   5  norm          13.740        10.502       -.27627E-06   -.53483E-01
   6  norm          16.049        51.787       -.18165E-05    .66173E-01
   7  Prefactor     32.759        7.5846        .40509E-07   -.57306E-02
   8  Prefactor     3.9888        4.9460       -.25022E-06   -.24196E-01
   9  norm          .29610        .27993       -.11339E-07    .19666E-02
  10  Prefactor     .55511E-10    31.763       -.32187E-06** at limit **
  11  Prefactor     .19429E-08    4.8774       -.39068E-06** at limit **
  12  Prefactor     27.662        16.814       -.11482E-06   -.24044    
  13  Prefactor     2.4590        2.9648        .23349E-06   -.73022E-03
  14  norm          .55511E-10    .89163        .77107E-07** at limit **
  15  Prefactor     21.766        3.2933       -.11554E-07    .37407E-01
  16  Prefactor     .18788E-05    34.292       -.14129E-05** at limit **
  17  Prefactor     12.991        6.8696        .23799E-06   -.86553E-02
  18  Normalizat    1.0628        .21359       -.13772E-04   -.18605E-03
  19  Prefactor     1.0450        .16756       -.27999E-05   -.20988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7224
  norm       = 0
  Prefactor  = 7.39964e-08
  Prefactor  = 0
  norm       = 13.7399
  norm       = 16.0487
  Prefactor  = 32.7589
  Prefactor  = 3.98884
  norm       = 0.296095
  Prefactor  = 5.55112e-11
  Prefactor  = 1.94289e-09
  Prefactor  = 27.6616
  Prefactor  = 2.45899
  norm       = 5.55112e-11
  Prefactor  = 21.7658
  Prefactor  = 1.87883e-06
  Prefactor  = 12.9911
  Normalizat = 1.06282
  Prefactor  = 1.04496
 **********
 **   18 **HESSE 
 **********

 FCN=   7120.802     FROM HESSE     STATUS=OK           310 CALLS     1807 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.722        14.794        .30616E-03   -1.5642    
   2  norm           .0000        4.1532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .73996E-07    19.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.4260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          13.740        10.598        .27013E-03   -1.5634    
   6  norm          16.049        81.774        .24825E-03   -1.5628    
   7  Prefactor     32.759        7.6088        .17481E-03   -1.5593    
   8  Prefactor     3.9888        43.005        .50311E-03   -1.5668    
   9  norm          .29610        .27234        .95699E-03   -1.5697    
  10  Prefactor     .55511E-10    30.644        .16534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .19429E-08    4.8793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.662        23.825        .19039E-03   -1.5603    
  13  Prefactor     2.4590        3.0017        .65213E-03   -1.5677    
  14  norm          .55511E-10    .88385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.766        25.450        .21415E-03   -1.5615    
  16  Prefactor     .18788E-05    34.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.991        15.634        .27773E-03   -1.5636    
  18  Normalizat    1.0628        .18661        .64000E-01   -.90955    
  19  Prefactor     1.0450        .14530        .40224E-01   -.91245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89393e-06
Minuit parameter uncertainties:
  1  14.7939
  2  1.91358e-06
  3  0.00237191
  4  5.37755e-06
  5  10.5979
  6  72.4548
  7  7.60882
  8  26.195
  9  0.27234
  10  7.5315e-05
  11  0.00019384
  12  23.8249
  13  3.00173
  14  1.3532e-05
  15  25.4505
  16  0.0161442
  17  15.6337
  18  0.186727
  19  0.145358
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  5.551e-11  7.532e-05  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.045e+00  1.454e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.063e+00  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 124.695 31.886
Photon Flux Upper Limit: 6.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/73726/likelihoodResults_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7120.81770781
delta logL = -0.0157895303792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7120.80191828
delta logL = -3.69072949979e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7120.802     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      202 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23315E-07    34.733       -.40021E-05** at limit **
   2  Index         1.8508        5.7893       -.17954E-04   -.28281E-09
   3  Normalizat    1.0628        .20761        .41582E-05    .59278E-04
   4  Prefactor     1.0450        .16671       -.12528E-04    .23562E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33147e-08
  Index      = 1.85083
  Normalizat = 1.06282
  Prefactor  = 1.04496
 **********
 **   18 **HESSE 
 **********

 FCN=   7120.802     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      237 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23315E-07    4.6105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8508        7.3760        .41301       -.68134    
   3  Normalizat    1.0628        .17182E-02    .64000E-01   -.90955    
   4  Prefactor     1.0450        .13749E-02    .40215E-01   -.91245    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.93811e-11
Minuit parameter uncertainties:
  1  0.000655843
  2  7233.73
  3  0.00171822
  4  0.00137494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73726': 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) = 7120.80191828
delta logL = -3.61069396604e-10

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  2.331e-08  6.558e-04  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  1.851e+00  7.234e+03  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.045e+00  1.375e-03  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.063e+00  1.718e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 124.695 31.886

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/73726/cmap_HighResolution_693187201_693446401_4FGL_J0818.7+3153_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2022-12-23 00:36:16.196875', job_id='73726', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1671784576.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-3.61e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1751' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:36:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 73726: <4FGL_J0818.7+3153_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:19 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:19 2022
Terminated at Fri Dec 23 00:36:17 2022
Results reported at Fri Dec 23 00:36:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1751 124.695 31.8862 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0818.7+3153 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   439.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            658 sec.

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

