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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin752
RA = 124.695, Dec = 31.8862
tmin = 693792001, tmax = 694396801
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='435013', job_status='RUN', time_executed='2023-01-03 01:31:11.997378', time_epoch_executed='1672738272.0' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435013

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435013/ft1_4FGL_J0818.7+3153_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435013/ft2_4FGL_J0818.7+3153_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435013/ft1_4FGL_J0818.7+3153_weekly_bin752.fits outfile=/scratch/kocevski/435013/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin752.fits ra=124.695 dec=31.8862 rad=12.0 tmin=693792001.0 tmax=694396801.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 8.61
user 8.23
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435013/ft2_4FGL_J0818.7+3153_weekly_bin752.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/435013/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/435013/ft1_filtered_4FGL_J0818.7+3153_weekly_bin752.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.55
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 638

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435013/ft1_filtered_4FGL_J0818.7+3153_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/435013/ft2_4FGL_J0818.7+3153_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/435013/ltcube_693792001_694396801_4FGL_J0818.7+3153_weekly_bin752.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/435013/ft2_4FGL_J0818.7+3153_weekly_bin752.fits
.....................!
real 31.14
user 30.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435013/ft1_filtered_4FGL_J0818.7+3153_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/435013/ft2_4FGL_J0818.7+3153_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/435013/ltcube_693792001_694396801_4FGL_J0818.7+3153_weekly_bin752.fits outfile=/scratch/kocevski/435013/expmap_693792001_694396801_4FGL_J0818.7+3153_weekly_bin752.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/435013/ltcube_693792001_694396801_4FGL_J0818.7+3153_weekly_bin752.fits
.....................!
real 193.19
user 186.17
sys 5.85

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/435013/ft1_filtered_4FGL_J0818.7+3153_weekly_bin752.fits scfile=/scratch/kocevski/435013/ft2_4FGL_J0818.7+3153_weekly_bin752.fits outfile=/scratch/kocevski/435013/cmap_693792001_694396801_4FGL_J0818.7+3153_weekly_bin752.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435013/ft1_filtered_4FGL_J0818.7+3153_weekly_bin752.fits scfile=/scratch/kocevski/435013/ft2_4FGL_J0818.7+3153_weekly_bin752.fits outfile=/scratch/kocevski/435013/cmap_HighResolution_693792001_694396801_4FGL_J0818.7+3153_weekly_bin752.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.61
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435013/ft1_filtered_4FGL_J0818.7+3153_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/435013/ft2_4FGL_J0818.7+3153_weekly_bin752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435013/Model_4FGL_J0818.7+3153_weekly_bin752.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/435013/ft1_filtered_4FGL_J0818.7+3153_weekly_bin752.fits.....................!
real 64.81
user 63.06
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5110       1.0000          .0000       .10000E+07
     2 'norm      '    .11752E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.178       1.0000          .0000       .10000E+07
     4 'Prefactor '    29.298       1.0000          .0000       .10000E+07
     5 'norm      '    .57415E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .92812E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.942       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645       1.0000          .0000       .10000E+07
     9 'norm      '    .34112       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11404E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.9447       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53775E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.4101       1.0000          .0000       .10000E+07
    14 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .58351E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.163       1.0000          .0000       .10000E+07
    17 'Prefactor '    24.974       1.0000          .0000       .10000E+07
    18 'Normalizat'    .84538       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93248       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=   6894.473     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1459 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5135        10.456        .14295E-05    .10170E-02
   2  norm           .0000        2.1169        .42311E-06** at limit **
   3  Prefactor     19.475        35.837       -.13095E-05    .14658E-02
   4  Prefactor     29.232        10.031       -.53288E-06    .19460E-01
   5  norm           .0000        4.1613       -.33355E-06** at limit **
   6  norm           .0000        110.60        .67492E-06** at limit **
   7  Prefactor     20.920        5.7802       -.36349E-06    .10280E-02
   8  Prefactor     .33307E-09    51.743        .31407E-05** at limit **
   9  norm          .34100        .33584        .93542E-07    .19137E-02
  10  Prefactor      .0000        5.8550        .13504E-06** at limit **
  11  Prefactor     7.9352        3.5678       -.41717E-06   -.91968E-02
  12  Prefactor     .16653E-09    18.275       -.13390E-05** at limit **
  13  Prefactor     2.4060        2.7046       -.85511E-09    .53472E-03
  14  norm           .0000        .72584       -.14328E-06** at limit **
  15  Prefactor      .0000        11.904        .28566E-06** at limit **
  16  Prefactor     10.122        8.8860       -.23172E-06    .32073E-03
  17  Prefactor     24.932        13.884        .87186E-06    .80198E-02
  18  Normalizat    .84552        .18786        .85672E-06   -.29763E-04
  19  Prefactor     .93241        .15023        .92382E-06   -.11941E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.51349
  norm       = 0
  Prefactor  = 19.4748
  Prefactor  = 29.2318
  norm       = 0
  norm       = 0
  Prefactor  = 20.9199
  Prefactor  = 3.33067e-10
  norm       = 0.340999
  Prefactor  = 0
  Prefactor  = 7.93515
  Prefactor  = 1.66533e-10
  Prefactor  = 2.40597
  norm       = 0
  Prefactor  = 0
  Prefactor  = 10.1222
  Prefactor  = 24.9324
  Normalizat = 0.845516
  Prefactor  = 0.932412
 **********
 **   18 **HESSE 
 **********

 FCN=   6894.473     FROM HESSE     STATUS=OK           308 CALLS     1767 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5135        10.499        .36570E-03   -1.5653    
   2  norm           .0000        2.1138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.475        35.925        .22843E-03   -1.5620    
   4  Prefactor     29.232        18.462        .18478E-03   -1.5600    
   5  norm           .0000        4.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        110.58        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.920        5.9421        .21859E-03   -1.5616    
   8  Prefactor     .33307E-09    49.858        .12406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .34100        .34046        .96652E-03   -1.5696    
  10  Prefactor      .0000        5.8540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.9352        15.867        .35549E-03   -1.5652    
  12  Prefactor     .16653E-09    18.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.4060        3.2685        .65917E-03   -1.5677    
  14  norm           .0000        .69506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        11.890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.122        8.8872        .31407E-03   -1.5644    
  17  Prefactor     24.932        17.074        .20015E-03   -1.5608    
  18  Normalizat    .84552        .16373        .44200E-01   -.98402    
  19  Prefactor     .93241        .12942        .45418E-01   -.95018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98448e-09
Minuit parameter uncertainties:
  1  10.4989
  2  1.55892e-08
  3  35.925
  4  18.4622
  5  9.25701e-06
  6  2.6863e-05
  7  5.94215
  8  0.000255059
  9  0.340465
  10  4.34862e-06
  11  15.8675
  12  0.000105669
  13  3.26853
  14  9.19532e-07
  15  2.48021e-05
  16  8.88726
  17  17.0745
  18  0.163827
  19  0.129468
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  4.349e-06  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:  9.324e-01  1.295e-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.455e-01  1.638e-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: 3.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435013/likelihoodResults_693792001_694396801_4FGL_J0818.7+3153_weekly_bin752.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) = 6894.55506091
delta logL = -0.0815947767469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6894.47346631
delta logL = -1.72621184902e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42077E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .74446       1.0000          .0000       10.000    
     3 'Normalizat'    .84550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93247       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.

 FCN=   6894.473     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      220 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .75810E-01    .42118E-03** at limit **
   2  Index         1.7570        7.9507        .42990        .52890E-10
   3  Normalizat    .84552        .35444E-03    .44201E-01   -.84368E-03
   4  Prefactor     .93241        .29237E-03    .45418E-01   -.15870E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 1.75703
  Normalizat = 0.845519
  Prefactor  = 0.932407
 **********
 **   18 **HESSE 
 **********

 FCN=   6894.473     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      249 TOTAL
                     EDM=   .78E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .23217        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7570        5.8062        .50000       -.70574    
   3  Normalizat    .84552        .61976E-03    .26262E-03   -.98402    
   4  Prefactor     .93241        .51131E-03    .20604E-03   -.95018    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.78312e-13
Minuit parameter uncertainties:
  1  1.76447e-05
  2  5502.08
  3  0.000619763
  4  0.000511314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435013': 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) = 6894.47346614
delta logL = -9.3859853223e-10

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  3.331e-10  1.764e-05  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  1.757e+00  5.502e+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:  9.324e-01  5.113e-04  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.455e-01  6.198e-04  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/435013/cmap_HighResolution_693792001_694396801_4FGL_J0818.7+3153_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-03', job_status='DONE', photon_flux_upper_limit='3.35e-08', time_completed='2023-01-03 01:41:53.220649', job_id='435013', GAL2='0.93', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1672738913.22', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-9.39e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='752' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:41:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 435013: <4FGL_J0818.7+3153_weekly_bin752> in cluster <slac> Done

Job <4FGL_J0818.7+3153_weekly_bin752> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan  3 01:30:25 2023
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:30:49 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:30:49 2023
Terminated at Tue Jan  3 01:41:54 2023
Results reported at Tue Jan  3 01:41:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin752 124.695 31.8862 693792001 694396801 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 :                                   638.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            689 sec.

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

