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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1777
RA = 124.695, Dec = 31.8862
tmin = 699926401, tmax = 700185601
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='911073', job_status='RUN', time_executed='2023-03-11 00:27:46.317618', time_epoch_executed='1678523266.32' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/911073

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/911073/ft1_4FGL_J0818.7+3153_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/911073/ft1_4FGL_J0818.7+3153_daily_bin1777.fits outfile=/scratch/kocevski/911073/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1777.fits ra=124.695 dec=31.8862 rad=12.0 tmin=699926401.0 tmax=700185601.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.66
user 3.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.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/911073/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 694

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/911073/ltcube_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.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/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits
.....................!
real 13.65
user 13.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/911073/ltcube_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.fits outfile=/scratch/kocevski/911073/expmap_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.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/911073/ltcube_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.fits
.....................!
real 191.97
user 186.55
sys 4.96

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/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.fits scfile=/scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits outfile=/scratch/kocevski/911073/cmap_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.fits scfile=/scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits outfile=/scratch/kocevski/911073/cmap_HighResolution_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/911073/Model_4FGL_J0818.7+3153_daily_bin1777.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/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.fits.....................!
real 68.76
user 67.32
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.fits', '/scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits', expMap='/scratch/kocevski/911073/expmap_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.fits', expCube='/scratch/kocevski/911073/ltcube_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/911073/Model_4FGL_J0818.7+3153_daily_bin1777.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/911073/ft1_filtered_4FGL_J0818.7+3153_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/911073/ft2_4FGL_J0818.7+3153_daily_bin1777.fits
Exposure map: /scratch/kocevski/911073/expmap_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.fits
Exposure cube: /scratch/kocevski/911073/ltcube_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/911073/Model_4FGL_J0818.7+3153_daily_bin1777.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) = 7420.07681965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3908       1.0000          .0000       .10000E+07
     2 'norm      '    3.4606       1.0000          .0000       .10000E+07
     3 'Prefactor '    80.854       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.4141       1.0000          .0000       .10000E+07
     5 'norm      '    5.4469       1.0000          .0000       .10000E+07
     6 'norm      '    .10363E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.445       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13455       1.0000          .0000       .10000E+07
     9 'norm      '    .82068E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.0523       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.4342       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16136E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .87591E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .66685       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.0653       1.0000          .0000       .10000E+07
    16 'Prefactor '    .92449E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    34.666       1.0000          .0000       .10000E+07
    18 'Normalizat'    .85408       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1814       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=   7419.998     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1485 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4283        10.965        .77996E-06    .10865E-01
   2  norm          3.3841        5.2327       -.58472E-06    .13498E-03
   3  Prefactor     82.559        45.826        .83909E-06   -.13754E-01
   4  Prefactor     9.3856        5.9568       -.43739E-06    .23933E-01
   5  norm          5.4957        6.6967       -.11862E-06    .97166E-03
   6  norm          .19373E-07    29.176       -.43798E-06** at limit **
   7  Prefactor     16.452        5.3807       -.13301E-06   -.26858E-02
   8  Prefactor     .17047E-06    73.837       -.27598E-05** at limit **
   9  norm           .0000        1.0391       -.87224E-07** at limit **
  10  Prefactor     7.0866        2.2899        .23600E-06   -.66075E-02
  11  Prefactor     7.4254        7.8795       -.11965E-05   -.40656E-02
  12  Prefactor     .18874E-08    5.6160       -.93053E-06** at limit **
  13  Prefactor     .16004E-06    18.928        .38098E-05** at limit **
  14  norm          .66694        .74415       -.91800E-07    .16588E-02
  15  Prefactor     2.0756        6.8647        .20649E-05    .50243E-01
  16  Prefactor     .33307E-09    1.8466       -.10098E-06** at limit **
  17  Prefactor     34.106        16.708       -.70169E-06    .63373E-01
  18  Normalizat    .85450        .20644        .80622E-05   -.76528E-05
  19  Prefactor     1.1809        .16786       -.81155E-05    .66112E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.42826
  norm       = 3.38411
  Prefactor  = 82.5588
  Prefactor  = 9.38556
  norm       = 5.49575
  norm       = 1.93734e-08
  Prefactor  = 16.4518
  Prefactor  = 1.70475e-07
  norm       = 0
  Prefactor  = 7.08656
  Prefactor  = 7.42536
  Prefactor  = 1.88738e-09
  Prefactor  = 1.60039e-07
  norm       = 0.666944
  Prefactor  = 2.0756
  Prefactor  = 3.33067e-10
  Prefactor  = 34.1063
  Normalizat = 0.854498
  Prefactor  = 1.18094
 **********
 **   18 **HESSE 
 **********

 FCN=   7419.998     FROM HESSE     STATUS=OK           326 CALLS     1811 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4283        11.163        .54921E-03   -1.5671    
   2  norm          3.3841        6.2421        .54339E-03   -1.5671    
   3  Prefactor     82.559        46.524        .11122E-03   -1.5526    
   4  Prefactor     9.3856        23.387        .32638E-03   -1.5647    
   5  norm          5.4957        6.7205        .43031E-03   -1.5661    
   6  norm          .19373E-07    29.280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.452        5.4491        .24671E-03   -1.5627    
   8  Prefactor     .17047E-06    15.419        .13081E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .21843        .21606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.0866        24.842        .37752E-03   -1.5655    
  11  Prefactor     7.4254        8.1251        .36760E-03   -1.5653    
  12  Prefactor     .18874E-08    5.6312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16004E-06    1.6187        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66694        .75662        .63441E-03   -1.5692    
  15  Prefactor     2.0756        18.330        .71867E-03   -1.5679    
  16  Prefactor     .33307E-09    1.8521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     34.106        19.587        .16986E-03   -1.5591    
  18  Normalizat    .85450        .18133        .65982E-01   -.98078    
  19  Prefactor     1.1809        .14523        .35087E-01   -.86920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92776e-07
Minuit parameter uncertainties:
  1  11.1635
  2  6.24215
  3  46.5242
  4  23.3876
  5  6.72053
  6  0.00150637
  7  5.44912
  8  0.00324245
  9  3.70298e-06
  10  24.8424
  11  8.12514
  12  0.00020471
  13  0.00101804
  14  0.756618
  15  12.3364
  16  4.98253e-05
  17  19.5867
  18  0.181458
  19  0.145281
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  7.087e+00  2.484e+01  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.181e+00  1.453e-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:  8.545e-01  1.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/911073/likelihoodResults_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.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) = 7419.98085762
delta logL = 0.0171682254777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7419.97655441
delta logL = 0.0214714287913

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7419.977     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      269 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0200        28.943        .17918E-04   -.32365E-02
   2  Index         2.4403        1.7144        .47505E-02   -.11659E-03
   3  Normalizat    .84964        .20113        .29266E-03   -.29853E-03
   4  Prefactor     1.1827        .16675        .20969E-03   -.17136E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02004
  Index      = 2.44033
  Normalizat = 0.849637
  Prefactor  = 1.18272
 **********
 **   18 **HESSE 
 **********

 FCN=   7419.977     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0200        22.191        .71673E-06   -1.5663    
   2  Index         2.4403        1.5098        .19002E-03   -.53743    
   3  Normalizat    .84964        .20105        .11707E-04   -.98253    
   4  Prefactor     1.1827        .16666        .41938E-04   -.86865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98386e-10
Minuit parameter uncertainties:
  1  21.1094
  2  1.54271
  3  0.201224
  4  0.166731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/911073': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7419.97655416
delta logL = 0.0214716779201

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  5.020e+00  2.111e+01  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  2.440e+00  1.543e+00  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.183e+00  1.667e-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:  8.496e-01  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/911073/cmap_HighResolution_699926401_700185601_4FGL_J0818.7+3153_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.58e-03', job_status='DONE', photon_flux_upper_limit='7.36e-08', time_completed='2023-03-11 00:37:57.523244', job_id='911073', GAL2='1.18', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1678523877.52', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.15e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1777' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:37:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 911073: <4FGL_J0818.7+3153_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1777> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Mar 11 00:25:16 2023
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:25:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:25:18 2023
Terminated at Sat Mar 11 00:37:58 2023
Results reported at Sat Mar 11 00:37:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1777 124.695 31.8862 699926401 700185601 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 :                                   613.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            762 sec.

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

