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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1748
RA = 124.695, Dec = 31.8862
tmin = 692409601, tmax = 692668801
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='881629', job_status='RUN', time_executed='2022-12-14 00:27:20.316131', time_epoch_executed='1671006440.32' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881629

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881629/ft1_4FGL_J0818.7+3153_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881629/ft2_4FGL_J0818.7+3153_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881629/ft1_4FGL_J0818.7+3153_daily_bin1748.fits outfile=/scratch/kocevski/881629/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1748.fits ra=124.695 dec=31.8862 rad=12.0 tmin=692409601.0 tmax=692668801.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.61
user 3.36
sys 0.20

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

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

Number of photons that the gtmktime cut: 648

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881629/ft1_filtered_4FGL_J0818.7+3153_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881629/ft2_4FGL_J0818.7+3153_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881629/ltcube_692409601_692668801_4FGL_J0818.7+3153_daily_bin1748.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/881629/ft2_4FGL_J0818.7+3153_daily_bin1748.fits
.....................!
real 12.34
user 11.97
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881629/ft1_filtered_4FGL_J0818.7+3153_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881629/ft2_4FGL_J0818.7+3153_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881629/ltcube_692409601_692668801_4FGL_J0818.7+3153_daily_bin1748.fits outfile=/scratch/kocevski/881629/expmap_692409601_692668801_4FGL_J0818.7+3153_daily_bin1748.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/881629/ltcube_692409601_692668801_4FGL_J0818.7+3153_daily_bin1748.fits
.....................!
real 190.54
user 185.86
sys 4.08

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/881629/ft1_filtered_4FGL_J0818.7+3153_daily_bin1748.fits scfile=/scratch/kocevski/881629/ft2_4FGL_J0818.7+3153_daily_bin1748.fits outfile=/scratch/kocevski/881629/cmap_692409601_692668801_4FGL_J0818.7+3153_daily_bin1748.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881629/ft1_filtered_4FGL_J0818.7+3153_daily_bin1748.fits scfile=/scratch/kocevski/881629/ft2_4FGL_J0818.7+3153_daily_bin1748.fits outfile=/scratch/kocevski/881629/cmap_HighResolution_692409601_692668801_4FGL_J0818.7+3153_daily_bin1748.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/881629/ft1_filtered_4FGL_J0818.7+3153_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881629/ft2_4FGL_J0818.7+3153_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/881629/Model_4FGL_J0818.7+3153_daily_bin1748.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/881629/ft1_filtered_4FGL_J0818.7+3153_daily_bin1748.fits.....................!
real 70.98
user 69.56
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36596E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.262       1.0000          .0000       .10000E+07
     3 'Prefactor '    47.581       1.0000          .0000       .10000E+07
     4 'Prefactor '    20.717       1.0000          .0000       .10000E+07
     5 'norm      '    2.0443       1.0000          .0000       .10000E+07
     6 'norm      '    3.0642       1.0000          .0000       .10000E+07
     7 'Prefactor '    27.024       1.0000          .0000       .10000E+07
     8 'Prefactor '    .77511E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .78364       1.0000          .0000       .10000E+07
    10 'Prefactor '    .44677E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .43833E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    15.398       1.0000          .0000       .10000E+07
    13 'Prefactor '    .52921       1.0000          .0000       .10000E+07
    14 'norm      '    .69390       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31228E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .42383E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    18.246       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1105       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89854       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.

 FCN=   7328.019     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     1832 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0854        .50902E-09** at limit **
   2  norm          13.196        9.7475        .77674E-08   -.58592E-03
   3  Prefactor     48.503        70.861       -.10851E-07   -.38220E-03
   4  Prefactor     20.709        27.792        .50257E-07    .17625E-02
   5  norm          2.0308        7.2543        .10817E-06   -.55825E-03
   6  norm          .14024        86.932       -.51202E-07** at limit **
   7  Prefactor     27.018        7.4707       -.52675E-08    .90698E-03
   8  Prefactor      .0000        29.276       -.56542E-08** at limit **
   9  norm          .78402        .52221        .20719E-08    .35544E-02
  10  Prefactor      .0000        6.9497       -.24419E-09** at limit **
  11  Prefactor     .16653E-09    6.6881       -.16038E-06** at limit **
  12  Prefactor     15.154        30.866        .58534E-08   -.92289E-03
  13  Prefactor     .53818        4.6611        .36553E-06    .10950E-03
  14  norm          .70304        1.6276        .16957E-07   -.16853E-02
  15  Prefactor      .0000        6.3699       -.64789E-09** at limit **
  16  Prefactor     .72797E-06    5.0343        .21525E-07** at limit **
  17  Prefactor     18.519        19.900        .19724E-07   -.10474E-03
  18  Normalizat    1.1096        .19210       -.12890E-06   -.60854E-04
  19  Prefactor     .89929        .14004       -.74830E-06    .16165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 13.1957
  Prefactor  = 48.5032
  Prefactor  = 20.7092
  norm       = 2.03076
  norm       = 0.140241
  Prefactor  = 27.018
  Prefactor  = 0
  norm       = 0.784017
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 15.1544
  Prefactor  = 0.538176
  norm       = 0.703042
  Prefactor  = 0
  Prefactor  = 7.27973e-07
  Prefactor  = 18.5193
  Normalizat = 1.10958
  Prefactor  = 0.89929
 **********
 **   18 **HESSE 
 **********

 FCN=   7328.019     FROM HESSE     STATUS=OK           294 CALLS     2126 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0860        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.196        9.7302        .10992E-04   -1.5635    
   3  Prefactor     48.503        70.763        .57993E-05   -1.5569    
   4  Prefactor     20.709        27.819        .87908E-05   -1.5617    
   5  norm          2.0308        7.2135        .28915E-04   -1.5679    
   6  norm          .14024        78.999        .24772E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.018        7.4125        .38480E-04   -1.5604    
   8  Prefactor      .0000        29.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .78402        .51696        .48176E-05   -1.5690    
  10  Prefactor      .0000        6.9505        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    95.350        .39650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.154        29.710        .10199E-04   -1.5630    
  13  Prefactor     .53818        4.7593        .30330E-04   -1.5693    
  14  norm          .70304        1.5417        .12293E-04   -1.5691    
  15  Prefactor      .0000        6.3703        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .72797E-06    11.982        .61022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.519        20.060        .93679E-05   -1.5622    
  18  Normalizat    1.1096        .22829        .27580E-03   -.89445    
  19  Prefactor     .89929        .16494        .23326E-03   -.96166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45345e-10
Minuit parameter uncertainties:
  1  5.67709e-07
  2  9.73017
  3  70.7644
  4  27.8189
  5  7.21358
  6  6.6571
  7  7.41248
  8  4.22057e-06
  9  0.516958
  10  2.02287e-08
  11  0.000247888
  12  29.71
  13  3.20085
  14  1.54175
  15  1.02683e-06
  16  0.00590692
  17  20.0604
  18  0.228492
  19  0.16503
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  2.023e-08  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:  8.993e-01  1.650e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.110e+00  2.285e-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.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/881629/likelihoodResults_692409601_692668801_4FGL_J0818.7+3153_daily_bin1748.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) = 7328.08805632
delta logL = -0.0687212801568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7328.01933508
delta logL = -3.98322299588e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34972E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .77633       1.0000          .0000       10.000    
     3 'Normalizat'    1.1095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89933       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=   7328.019     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      205 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.7731       -.64378E-06** at limit **
   2  Index         2.0566        6.0232        .56840E-04    .78379E-10
   3  Normalizat    1.1096        .20882        .66481E-07   -.14537E-03
   4  Prefactor     .89929        .16177        .26744E-05   -.16349E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.05664
  Normalizat = 1.10958
  Prefactor  = 0.899289
 **********
 **   18 **HESSE 
 **********

 FCN=   7328.019     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      240 TOTAL
                     EDM=   .10E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .47784E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0566        7.6330        .43408       -.62941    
   3  Normalizat    1.1096        .36178E-03    .62355E-01   -.89445    
   4  Prefactor     .89929        .27996E-03    .44997E-01   -.96166    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.04547e-13
Minuit parameter uncertainties:
  1  6.44796e-06
  2  4786.51
  3  0.000361778
  4  0.00027996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881629': 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) = 7328.01933504
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  2.220e-10  6.448e-06  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  2.057e+00  4.787e+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:  8.993e-01  2.800e-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:  1.110e+00  3.618e-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/881629/cmap_HighResolution_692409601_692668801_4FGL_J0818.7+3153_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-03', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2022-12-14 00:37:53.650664', job_id='881629', GAL2='0.90', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1671007073.65', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-1.36e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1748' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:37:53 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 881629: <4FGL_J0818.7+3153_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:18 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:19 2022
Terminated at Wed Dec 14 00:37:54 2022
Results reported at Wed Dec 14 00:37:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1748 124.695 31.8862 692409601 692668801 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 :                                   634.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

