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


Performing analysis on: 4FGL_J0806.5+4503_daily_bin1714
RA = 121.628, Dec = 45.0605
tmin = 683596801, tmax = 683856001
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='63858', job_status='RUN', time_executed='2022-09-16 13:41:33.081003', time_epoch_executed='1663360893.08' WHERE source_name='4FGL J0806.5+4503' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63858

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63858/ft1_4FGL_J0806.5+4503_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63858/ft1_4FGL_J0806.5+4503_daily_bin1714.fits outfile=/scratch/kocevski/63858/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1714.fits ra=121.628 dec=45.0605 rad=12.0 tmin=683596801.0 tmax=683856001.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.50
user 3.24
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.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/63858/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.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.34
sys 0.16

Number of photons that the gtmktime cut: 734

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/63858/ltcube_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.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/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits
.....................!
real 14.90
user 14.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/63858/ltcube_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.fits outfile=/scratch/kocevski/63858/expmap_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.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/63858/ltcube_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.fits
.....................!
real 193.02
user 186.31
sys 5.52

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 207 point sources and 0 extended sources

Setting source of interest to:
4FGL J0806.5+4503 @ 121.628 45.0605

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.fits scfile=/scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits outfile=/scratch/kocevski/63858/cmap_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.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=121.628 yref=45.0605 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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.fits scfile=/scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits outfile=/scratch/kocevski/63858/cmap_HighResolution_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.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=121.628 yref=45.0605 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/63858/Model_4FGL_J0806.5+4503_daily_bin1714.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/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.fits.....................!
real 76.53
user 74.87
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.fits', '/scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits', expMap='/scratch/kocevski/63858/expmap_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.fits', expCube='/scratch/kocevski/63858/ltcube_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/63858/Model_4FGL_J0806.5+4503_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0806.5+4503'

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  6.264e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.607e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.910e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/63858/ft1_filtered_4FGL_J0806.5+4503_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/63858/ft2_4FGL_J0806.5+4503_daily_bin1714.fits
Exposure map: /scratch/kocevski/63858/expmap_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.fits
Exposure cube: /scratch/kocevski/63858/ltcube_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/63858/Model_4FGL_J0806.5+4503_daily_bin1714.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) = 8164.0911059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7291       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37272E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11779E-02   1.0000          .0000       .10000E+07
     4 'norm      '    4.6116       1.0000          .0000       .10000E+07
     5 'Prefactor '    28.894       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.884       1.0000          .0000       .10000E+07
     7 'norm      '    .79323       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.7924       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.334       1.0000          .0000       .10000E+07
    10 'norm      '    .54144       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12970E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .43954E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.1656       1.0000          .0000       .10000E+07
    14 'norm      '    .17625E-06   1.0000          .0000       .10000E+07
    15 'norm      '    3.5351       1.0000          .0000       .10000E+07
    16 'norm      '    1.9247       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.4703       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21152E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.0955       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27557E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .45572E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .94144       1.0000          .0000       .10000E+07
    23 'norm      '    2.5442       1.0000          .0000       .10000E+07
    24 'norm      '    .35237E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .10213E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    .77820       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8163.992     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1875 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7104        5.0123       -.85742E-07    .13225E-03
   2  Prefactor     .52249E-05    5.1006        .27298E-05** at limit **
   3  Prefactor     .97855E-06    3.8292       -.18936E-05** at limit **
   4  norm          4.6224        5.0681        .14878E-06    .94717E-03
   5  Prefactor     28.844        1.7538       -.50600E-07    .23706E-01
   6  Prefactor     13.412        2.4594        .28777E-06   -.22823E-01
   7  norm          .79262        .67206       -.27783E-07    .26940E-02
   8  Prefactor     4.8135        2.3320        .80994E-06   -.30509E-02
   9  Prefactor     18.359        1.0340        .39301E-07    .25468E-02
  10  norm          .53991        3.1014       -.17230E-06    .59697E-03
  11  Prefactor     .11102E-09    2.1983        .17587E-06** at limit **
  12  Prefactor     .79936E-06    9.1137        .56850E-06** at limit **
  13  Prefactor     6.1374        4.0015        .99203E-07   -.21208E-02
  14  norm          .22204E-09    1.4511       -.23449E-06** at limit **
  15  norm          3.5325        1.7736        .27974E-08   -.69097E-02
  16  norm          1.9257        .65772       -.24164E-07    .22181E-02
  17  Prefactor     4.4065        1.0805        .57119E-07   -.49647E-03
  18  Prefactor     .12212E-08    4.4204       -.56321E-06** at limit **
  19  Prefactor     5.0886        3.3736        .25088E-07   -.29554E-02
  20  Prefactor     .16304E-06    3.4473        .62044E-06** at limit **
  21  Prefactor     .15360E-06    3.0384        .54898E-06** at limit **
  22  Prefactor     .93860        3.2940       -.38542E-05   -.81545E-01
  23  norm          2.5394        4.2149        .98366E-07    .34878E-03
  24  norm          .13783E-06    6.8705       -.19628E-06** at limit **
  25  Prefactor     .13339E-06    23.407       -.57651E-06** at limit **
  26  Normalizat    .77849        .18183       -.52929E-05    .69994E-04
  27  Prefactor     1.0245        .13556        .42498E-06    .13428E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.71045
  Prefactor  = 5.22493e-06
  Prefactor  = 9.78551e-07
  norm       = 4.62236
  Prefactor  = 28.8437
  Prefactor  = 13.412
  norm       = 0.79262
  Prefactor  = 4.81345
  Prefactor  = 18.3593
  norm       = 0.539908
  Prefactor  = 1.11022e-10
  Prefactor  = 7.99361e-07
  Prefactor  = 6.13736
  norm       = 2.22045e-10
  norm       = 3.53251
  norm       = 1.92572
  Prefactor  = 4.40654
  Prefactor  = 1.22125e-09
  Prefactor  = 5.08861
  Prefactor  = 1.63036e-07
  Prefactor  = 1.53599e-07
  Prefactor  = 0.938604
  norm       = 2.53942
  norm       = 1.37834e-07
  Prefactor  = 1.33393e-07
  Normalizat = 0.778491
  Prefactor  = 1.02451
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.992     FROM HESSE     STATUS=OK           550 CALLS     2425 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7104        5.0201        .33903E-03   -1.5649    
   2  Prefactor     .52249E-05    15.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .97855E-06    9.4809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.6224        5.0755        .46846E-03   -1.5665    
   5  Prefactor     28.844        15.346        .18607E-03   -1.5601    
   6  Prefactor     13.412        21.496        .26855E-03   -1.5635    
   7  norm          .79262        .67794        .53441E-03   -1.5690    
   8  Prefactor     4.8135        11.455        .45933E-03   -1.5664    
   9  Prefactor     18.359        14.198        .23363E-03   -1.5622    
  10  norm          .53991        4.7090        .74646E-03   -1.5693    
  11  Prefactor     .11102E-09    2.1950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .79936E-06    12.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.1374        4.0219        .40407E-03   -1.5658    
  14  norm          .22204E-09    1.4618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5325        1.7789        .53738E-03   -1.5670    
  16  norm          1.9257        .67159        .74856E-03   -1.5680    
  17  Prefactor     4.4065        14.821        .47599E-03   -1.5666    
  18  Prefactor     .12212E-08    4.4223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.0886        3.8434        .44517E-03   -1.5663    
  20  Prefactor     .16304E-06    8.2738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15360E-06    8.5216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .93860        3.6571        .42936E-03   -1.5689    
  23  norm          2.5394        4.2325        .63995E-03   -1.5676    
  24  norm          .13783E-06    6.9772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13339E-06    23.718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .77849        .16305        .70042E-01   -1.0087    
  27  Prefactor     1.0245        .12022        .41736E-01   -.91917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85689e-07
Minuit parameter uncertainties:
  1  5.02015
  2  0.0182705
  3  0.00609179
  4  5.07555
  5  15.3456
  6  21.4958
  7  0.677941
  8  11.4548
  9  14.1983
  10  3.18899
  11  2.89088e-05
  12  0.00634659
  13  4.02194
  14  3.66997e-05
  15  1.77894
  16  0.671589
  17  14.8215
  18  0.000146519
  19  3.84339
  20  0.00232294
  21  0.002288
  22  3.65716
  23  4.23246
  24  0.00196134
  25  0.00355759
  26  0.163156
  27  0.120252
Done.

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

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  7.994e-07  6.347e-03  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.607e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.910e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.025e+00  1.203e-01  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  7.785e-01  1.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 121.628 45.060
Photon Flux Upper Limit: 5.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/63858/likelihoodResults_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.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) = 8164.02992395
delta logL = -0.038066443537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8163.99185752
delta logL = -1.196985977e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8163.992     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      217 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5426        .42118E-03** at limit **
   2  Index         3.8554        1.5396        .11005E-03     .0000    
   3  Normalizat    .77849        1.1177        .59786E-05    .13366E-03
   4  Prefactor     1.0245        1.2286       -.76595E-05    .35013E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.85538
  Normalizat = 0.77849
  Prefactor  = 1.02451
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8163.992     FROM HESSE     STATUS=FAILED         9 CALLS      226 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6250        2.2892        .11005E-03   -.23097    
   3  Normalizat    .77849        1.1177        .59786E-05   -1.0087    
   4  Prefactor     1.0245        1.2286       -.76595E-05   -.91917    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.48902e-11
Minuit parameter uncertainties:
  1  1.73312e-05
  2  1.56646
  3  1.15343
  4  1.26499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63858': 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): 101
logL (Free Index) = 8163.99185748
delta logL = 3.16822479363e-08

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  1.733e-05  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  3.855e+00  1.566e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  6.910e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.025e+00  1.265e+00  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  7.785e-01  1.153e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 121.628 45.060

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/63858/cmap_HighResolution_683596801_683856001_4FGL_J0806.5+4503_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.04e-03', job_status='DONE', photon_flux_upper_limit='5.16e-08', time_completed='2022-09-16 13:54:44.219118', job_id='63858', GAL2='1.02', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1663361684.22', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1714' AND source_name='4FGL J0806.5+4503' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:54:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 63858: <4FGL_J0806.5+4503_daily_bin1714> in cluster <slac> Done

Job <4FGL_J0806.5+4503_daily_bin1714> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:40:22 2022
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:41:10 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:41:10 2022
Terminated at Fri Sep 16 13:54:45 2022
Results reported at Fri Sep 16 13:54:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0806.5+4503_daily_bin1714 121.628 45.0605 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0806.5+4503 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   791.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             342.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            863 sec.

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

