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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1710
RA = 124.695, Dec = 31.8862
tmin = 682560001, tmax = 682819201
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='66725', job_status='RUN', time_executed='2022-09-16 13:54:36.058867', time_epoch_executed='1663361676.06' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66725

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/66725/ft1_4FGL_J0818.7+3153_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/66725/ft2_4FGL_J0818.7+3153_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/66725/ft1_4FGL_J0818.7+3153_daily_bin1710.fits outfile=/scratch/kocevski/66725/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1710.fits ra=124.695 dec=31.8862 rad=12.0 tmin=682560001.0 tmax=682819201.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.43
sys 0.21

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

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

Number of photons that the gtmktime cut: 632

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/66725/ft1_filtered_4FGL_J0818.7+3153_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/66725/ft2_4FGL_J0818.7+3153_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/66725/ltcube_682560001_682819201_4FGL_J0818.7+3153_daily_bin1710.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/66725/ft2_4FGL_J0818.7+3153_daily_bin1710.fits
.....................!
real 14.84
user 14.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/66725/ft1_filtered_4FGL_J0818.7+3153_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/66725/ft2_4FGL_J0818.7+3153_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/66725/ltcube_682560001_682819201_4FGL_J0818.7+3153_daily_bin1710.fits outfile=/scratch/kocevski/66725/expmap_682560001_682819201_4FGL_J0818.7+3153_daily_bin1710.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/66725/ltcube_682560001_682819201_4FGL_J0818.7+3153_daily_bin1710.fits
.....................!
real 191.94
user 185.64
sys 5.90

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/66725/ft1_filtered_4FGL_J0818.7+3153_daily_bin1710.fits scfile=/scratch/kocevski/66725/ft2_4FGL_J0818.7+3153_daily_bin1710.fits outfile=/scratch/kocevski/66725/cmap_682560001_682819201_4FGL_J0818.7+3153_daily_bin1710.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66725/ft1_filtered_4FGL_J0818.7+3153_daily_bin1710.fits scfile=/scratch/kocevski/66725/ft2_4FGL_J0818.7+3153_daily_bin1710.fits outfile=/scratch/kocevski/66725/cmap_HighResolution_682560001_682819201_4FGL_J0818.7+3153_daily_bin1710.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.58
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/66725/ft1_filtered_4FGL_J0818.7+3153_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/66725/ft2_4FGL_J0818.7+3153_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/66725/Model_4FGL_J0818.7+3153_daily_bin1710.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/66725/ft1_filtered_4FGL_J0818.7+3153_daily_bin1710.fits.....................!
real 67.50
user 65.90
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70702E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .19954E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .34548E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.2813       1.0000          .0000       .10000E+07
     5 'norm      '    .21004E-04   1.0000          .0000       .10000E+07
     6 'norm      '    118.68       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.4178       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.0287       1.0000          .0000       .10000E+07
     9 'norm      '    2.6234       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.5126       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12710E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7452       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38427E-04   1.0000          .0000       .10000E+07
    14 'norm      '    3.1647       1.0000          .0000       .10000E+07
    15 'Prefactor '    68.887       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89681       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.575       1.0000          .0000       .10000E+07
    18 'Normalizat'    .45575       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.5295       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=   7167.837     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1435 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    3.3840       -.24976E-06** at limit **
   2  norm          .25535E-08    6.7082       -.76543E-09** at limit **
   3  Prefactor     .14599E-07    14.465       -.38182E-06** at limit **
   4  Prefactor     6.2504        14.066       -.19590E-06    .24409E-01
   5  norm          .77716E-09    6.5910       -.74039E-06** at limit **
   6  norm          117.53        108.29       -.97060E-06    .15270E-01
   7  Prefactor     5.3989        5.8897        .22371E-06    .47195E-03
   8  Prefactor     8.3736        17.118       -.16005E-05    .38808E-01
   9  norm          2.6197        .81804        .11134E-06   -.11291E-01
  10  Prefactor     7.4919        1.7277        .46768E-07   -.34371E-01
  11  Prefactor     .60507E-08    8.7160       -.32261E-06** at limit **
  12  Prefactor     5.5472        28.448        .19274E-05    .30043E-01
  13  Prefactor     .11824E-07    10.247       -.90400E-06** at limit **
  14  norm          3.1734        1.8167        .55010E-07   -.57623E-02
  15  Prefactor     70.534        40.177       -.24767E-06   -.68111E-02
  16  Prefactor     .92186        17.429        .15379E-05   -.10693E-01
  17  Prefactor     15.639        7.8049        .15744E-06    .19358    
  18  Normalizat    .45416        .20880       -.12013E-04   -.29886E-04
  19  Prefactor     1.5302        .17183        .63820E-05   -.11213E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 2.55351e-09
  Prefactor  = 1.45994e-08
  Prefactor  = 6.25042
  norm       = 7.77156e-10
  norm       = 117.529
  Prefactor  = 5.39892
  Prefactor  = 8.37356
  norm       = 2.61975
  Prefactor  = 7.49191
  Prefactor  = 6.05072e-09
  Prefactor  = 5.5472
  Prefactor  = 1.18239e-08
  norm       = 3.17336
  Prefactor  = 70.534
  Prefactor  = 0.921859
  Prefactor  = 15.639
  Normalizat = 0.454159
  Prefactor  = 1.53019
 **********
 **   18 **HESSE 
 **********

 FCN=   7167.837     FROM HESSE     STATUS=OK           316 CALLS     1751 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    3.3854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .25535E-08    6.4541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14599E-07    14.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2504        14.282        .40028E-03   -1.5658    
   5  norm          .77716E-09    6.5820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          117.53        109.50        .91801E-04   -1.5491    
   7  Prefactor     5.3989        5.9728        .43148E-03   -1.5661    
   8  Prefactor     8.3736        26.193        .35361E-03   -1.5650    
   9  norm          2.6197        .82029        .62939E-03   -1.5676    
  10  Prefactor     7.4919        17.076        .36566E-03   -1.5653    
  11  Prefactor     .60507E-08    8.6857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5472        34.972        .41881E-03   -1.5661    
  13  Prefactor     .11824E-07    2.2525        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1734        1.9311        .56947E-03   -1.5672    
  15  Prefactor     70.534        40.463        .12049E-03   -1.5540    
  16  Prefactor     .92186        30.238        .45981E-03   -1.5689    
  17  Prefactor     15.639        17.710        .25352E-03   -1.5629    
  18  Normalizat    .45416        .20091        .92682E-01   -1.1459    
  19  Prefactor     1.5302        .15813        .44773E-01   -.76698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13275e-06
Minuit parameter uncertainties:
  1  5.24693e-05
  2  0.000255731
  3  0.000919355
  4  14.2823
  5  0.000145401
  6  109.499
  7  5.97277
  8  26.193
  9  0.820294
  10  17.076
  11  0.000458829
  12  27.8568
  13  0.000326577
  14  1.93115
  15  40.463
  16  10.5595
  17  17.7105
  18  0.201231
  19  0.158179
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  7.492e+00  1.708e+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.530e+00  1.582e-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:  4.542e-01  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/66725/likelihoodResults_682560001_682819201_4FGL_J0818.7+3153_daily_bin1710.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) = 7167.8256627
delta logL = 0.0112839463682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7167.81854255
delta logL = 0.0184040879049

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7167.819     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      243 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.273        26.012        .12502E-04   -.60001E-02
   2  Index         1.8852        1.2517        .13411E-01   -.23948E-03
   3  Normalizat    .45665        .20125        .40961E-03    .10096E-02
   4  Prefactor     1.5290        .17015        .19794E-03    .23113E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2732
  Index      = 1.88517
  Normalizat = 0.45665
  Prefactor  = 1.52903
 **********
 **   18 **HESSE 
 **********

 FCN=   7167.819     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.273        24.880        .25004E-05   -1.5644    
   2  Index         1.8852        1.1994        .53643E-03   -.67253    
   3  Normalizat    .45665        .20121        .16384E-04   -1.1447    
   4  Prefactor     1.5290        .17017        .39589E-04   -.76730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.69997e-09
Minuit parameter uncertainties:
  1  24.8802
  2  1.21907
  3  0.201534
  4  0.170231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66725': 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) = 7167.81853474
delta logL = 0.0184119047917

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.027e+01  2.488e+01  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  1.885e+00  1.219e+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.529e+00  1.702e-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:  4.566e-01  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.27
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/66725/cmap_HighResolution_682560001_682819201_4FGL_J0818.7+3153_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.18e-03', job_status='DONE', photon_flux_upper_limit='6.83e-08', time_completed='2022-09-16 14:04:20.904099', job_id='66725', GAL2='1.53', fit_tolerance='1e-08', EG2='0.46', EG='0.45', time_epoch_completed='1663362260.9', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='1.53', dlogl='1.84e-02', ts2='0.31', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1710' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:04:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 66725: <4FGL_J0818.7+3153_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:50:23 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:53:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:53:53 2022
Terminated at Fri Sep 16 14:04:21 2022
Results reported at Fri Sep 16 14:04:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1710 124.695 31.8862 682560001 682819201 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 :                                   587.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            838 sec.

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

