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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1761
RA = 124.695, Dec = 31.8862
tmin = 695779201, tmax = 696038401
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='913881', job_status='RUN', time_executed='2023-01-22 00:34:00.682043', time_epoch_executed='1674376440.68' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/913881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/913881/ft1_4FGL_J0818.7+3153_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/913881/ft2_4FGL_J0818.7+3153_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/913881/ft1_4FGL_J0818.7+3153_daily_bin1761.fits outfile=/scratch/kocevski/913881/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1761.fits ra=124.695 dec=31.8862 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.17
user 4.88
sys 0.25

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

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

Number of photons that the gtmktime cut: 493

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/913881/ft1_filtered_4FGL_J0818.7+3153_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/913881/ft2_4FGL_J0818.7+3153_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/913881/ltcube_695779201_696038401_4FGL_J0818.7+3153_daily_bin1761.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/913881/ft2_4FGL_J0818.7+3153_daily_bin1761.fits
.....................!
real 14.63
user 14.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/913881/ft1_filtered_4FGL_J0818.7+3153_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/913881/ft2_4FGL_J0818.7+3153_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/913881/ltcube_695779201_696038401_4FGL_J0818.7+3153_daily_bin1761.fits outfile=/scratch/kocevski/913881/expmap_695779201_696038401_4FGL_J0818.7+3153_daily_bin1761.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/913881/ltcube_695779201_696038401_4FGL_J0818.7+3153_daily_bin1761.fits
.....................!
real 192.69
user 186.86
sys 5.28

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/913881/ft1_filtered_4FGL_J0818.7+3153_daily_bin1761.fits scfile=/scratch/kocevski/913881/ft2_4FGL_J0818.7+3153_daily_bin1761.fits outfile=/scratch/kocevski/913881/cmap_695779201_696038401_4FGL_J0818.7+3153_daily_bin1761.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/913881/ft1_filtered_4FGL_J0818.7+3153_daily_bin1761.fits scfile=/scratch/kocevski/913881/ft2_4FGL_J0818.7+3153_daily_bin1761.fits outfile=/scratch/kocevski/913881/cmap_HighResolution_695779201_696038401_4FGL_J0818.7+3153_daily_bin1761.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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/913881/ft1_filtered_4FGL_J0818.7+3153_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/913881/ft2_4FGL_J0818.7+3153_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/913881/Model_4FGL_J0818.7+3153_daily_bin1761.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/913881/ft1_filtered_4FGL_J0818.7+3153_daily_bin1761.fits.....................!
real 52.61
user 51.26
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12113E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .55340E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    49.765       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5100       1.0000          .0000       .10000E+07
     5 'norm      '    5.3610       1.0000          .0000       .10000E+07
     6 'norm      '    .64921       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1810       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11132E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .65581       1.0000          .0000       .10000E+07
    10 'Prefactor '    .31694E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.2896       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.522       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23622E-01   1.0000          .0000       .10000E+07
    14 'norm      '    1.1381       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28597E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .30897E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27198E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .49075       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2701       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=   5463.935     FROM MIGRAD    STATUS=CONVERGED    220 CALLS     1566 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32585E-07    26.680        .48046E-06** at limit **
   2  norm          .17208E-08    7.2037        .25885E-06** at limit **
   3  Prefactor     49.996        9.6149        .37010E-06   -.31335E-01
   4  Prefactor     5.5237        3.2527       -.78797E-06    .60952E-02
   5  norm          5.3704        6.3061       -.73650E-07   -.16335E-02
   6  norm          .53818E-06    163.68       -.50258E-05** at limit **
   7  Prefactor     3.1753        4.0249       -.78514E-07    .33659E-02
   8  Prefactor     .46357E-06    11.682        .96361E-06** at limit **
   9  norm          .65610        .52275       -.51134E-07    .19147E-02
  10  Prefactor     .26423E-07    8.4949       -.35889E-05** at limit **
  11  Prefactor     4.3120        16.364        .37734E-05    .91507E-03
  12  Prefactor     12.523        2.1009        .37855E-06   -.90376E-02
  13  Prefactor     .31359E-01    85.785        .36653E-05** at limit **
  14  norm          1.1378        1.1056        .61931E-07    .12599E-01
  15  Prefactor     .10324E-05    8.6746       -.14730E-05** at limit **
  16  Prefactor     .38858E-09    3.6555        .18186E-06** at limit **
  17  Prefactor     .16376E-07    8.4159        .34497E-05** at limit **
  18  Normalizat    .49059        .19911       -.87506E-05   -.12394E-03
  19  Prefactor     1.2701        .16794       -.19213E-06   -.31902E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2585e-08
  norm       = 1.72085e-09
  Prefactor  = 49.9956
  Prefactor  = 5.52369
  norm       = 5.37044
  norm       = 5.38181e-07
  Prefactor  = 3.17527
  Prefactor  = 4.63574e-07
  norm       = 0.656099
  Prefactor  = 2.64233e-08
  Prefactor  = 4.31199
  Prefactor  = 12.5225
  Prefactor  = 0.0313589
  norm       = 1.13784
  Prefactor  = 1.0324e-06
  Prefactor  = 3.88578e-10
  Prefactor  = 1.63758e-08
  Normalizat = 0.490594
  Prefactor  = 1.27014
 **********
 **   18 **HESSE 
 **********

 FCN=   5463.935     FROM HESSE     STATUS=OK           312 CALLS     1878 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32585E-07    27.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .17208E-08    7.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     49.996        41.591        .14177E-03   -1.5567    
   4  Prefactor     5.5237        19.417        .42779E-03   -1.5661    
   5  norm          5.3704        6.3365        .43380E-03   -1.5662    
   6  norm          .53818E-06    171.85        .64931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1753        4.0532        .56793E-03   -1.5672    
   8  Prefactor     .46357E-06    18.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .65610        .53291        .64370E-03   -1.5692    
  10  Prefactor     .26423E-07    8.7927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.3120        14.690        .48619E-03   -1.5666    
  12  Prefactor     12.523        17.045        .28282E-03   -1.5637    
  13  Prefactor     .31359E-01    1.4936        .61875E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1378        1.1773        .10906E-02   -1.5687    
  15  Prefactor     .10324E-05    20.027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .38858E-09    3.6984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16376E-07    8.6767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .49059        .18442        .73911E-01   -1.1285    
  19  Prefactor     1.2701        .15223        .33152E-01   -.84199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28188e-07
Minuit parameter uncertainties:
  1  0.00188569
  2  0.00022315
  3  41.5912
  4  19.4168
  5  6.33655
  6  0.0192348
  7  4.05325
  8  0.00592847
  9  0.532905
  10  0.000963767
  11  14.6902
  12  17.0454
  13  0.432844
  14  1.17734
  15  0.00909427
  16  7.83517e-05
  17  0.000753818
  18  0.184646
  19  0.152284
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  2.642e-08  9.638e-04  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.270e+00  1.523e-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.906e-01  1.846e-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: 4.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/913881/likelihoodResults_695779201_696038401_4FGL_J0818.7+3153_daily_bin1761.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) = 5463.98978664
delta logL = -0.0544234907766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5463.93536316
delta logL = -1.17743184092e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .84350       1.0000          .0000       10.000    
     3 'Normalizat'    .49056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2702       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=   5463.935     FROM MIGRAD    STATUS=CONVERGED     25 CALLS      199 TOTAL
                     EDM=   .61E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    20.623       -.10497E-05** at limit **
   2  Index         1.4988        2.9377        .19884E-04    .18785E-11
   3  Normalizat    .49059        .19297       -.14350E-04    .34256E-04
   4  Prefactor     1.2701        .16621        .95228E-06    .84193E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.49881
  Normalizat = 0.490594
  Prefactor  = 1.27014
 **********
 **   18 **HESSE 
 **********

 FCN=   5463.935     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      232 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .84522E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4988        7.4598        .44281       -.77573    
   3  Normalizat    .49059        .27877E-03    .73911E-01   -1.1285    
   4  Prefactor     1.2701        .23958E-03    .33151E-01   -.84199    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.8716e-14
Minuit parameter uncertainties:
  1  4.81212e-06
  2  12937.2
  3  0.00027877
  4  0.000239581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/913881': 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) = 5463.93536315
delta logL = 1.53249857249e-09

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  5.551e-11  4.812e-06  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  1.499e+00  1.294e+04  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.270e+00  2.396e-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:  4.906e-01  2.788e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/913881/cmap_HighResolution_695779201_696038401_4FGL_J0818.7+3153_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-03', job_status='DONE', photon_flux_upper_limit='4.46e-08', time_completed='2023-01-22 00:43:05.246278', job_id='913881', GAL2='1.27', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1674376985.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='1.53e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1761' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 00:43:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 913881: <4FGL_J0818.7+3153_daily_bin1761> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1761> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jan 22 00:30:16 2023
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 00:31:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 00:31:13 2023
Terminated at Sun Jan 22 00:43:06 2023
Results reported at Sun Jan 22 00:43:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1761 124.695 31.8862 695779201 696038401 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 :                                   545.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            770 sec.

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

