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


Performing analysis on: 4FGL_J0806.5+4503_daily_bin1763
RA = 121.628, Dec = 45.0605
tmin = 696297601, tmax = 696556801
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='274796', job_status='RUN', time_executed='2023-01-28 00:36:14.345009', time_epoch_executed='1674894974.35' WHERE source_name='4FGL J0806.5+4503' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/274796

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/274796/ft1_4FGL_J0806.5+4503_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/274796/ft2_4FGL_J0806.5+4503_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/274796/ft1_4FGL_J0806.5+4503_daily_bin1763.fits outfile=/scratch/kocevski/274796/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1763.fits ra=121.628 dec=45.0605 rad=12.0 tmin=696297601.0 tmax=696556801.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.76
user 3.41
sys 0.24

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

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

Number of photons that the gtmktime cut: 726

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/274796/ft1_filtered_4FGL_J0806.5+4503_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/274796/ft2_4FGL_J0806.5+4503_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/274796/ltcube_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.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/274796/ft2_4FGL_J0806.5+4503_daily_bin1763.fits
.....................!
real 15.74
user 15.24
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/274796/ft1_filtered_4FGL_J0806.5+4503_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/274796/ft2_4FGL_J0806.5+4503_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/274796/ltcube_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.fits outfile=/scratch/kocevski/274796/expmap_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.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/274796/ltcube_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.fits
.....................!
real 192.87
user 185.67
sys 6.38

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/274796/ft1_filtered_4FGL_J0806.5+4503_daily_bin1763.fits scfile=/scratch/kocevski/274796/ft2_4FGL_J0806.5+4503_daily_bin1763.fits outfile=/scratch/kocevski/274796/cmap_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/274796/ft1_filtered_4FGL_J0806.5+4503_daily_bin1763.fits scfile=/scratch/kocevski/274796/ft2_4FGL_J0806.5+4503_daily_bin1763.fits outfile=/scratch/kocevski/274796/cmap_HighResolution_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.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.57
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/274796/ft1_filtered_4FGL_J0806.5+4503_daily_bin1763.fits', '/scratch/kocevski/274796/ft2_4FGL_J0806.5+4503_daily_bin1763.fits', expMap='/scratch/kocevski/274796/expmap_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.fits', expCube='/scratch/kocevski/274796/ltcube_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/274796/Model_4FGL_J0806.5+4503_daily_bin1763.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/274796/ft1_filtered_4FGL_J0806.5+4503_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/274796/ft2_4FGL_J0806.5+4503_daily_bin1763.fits
Exposure map: /scratch/kocevski/274796/expmap_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.fits
Exposure cube: /scratch/kocevski/274796/ltcube_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/274796/Model_4FGL_J0806.5+4503_daily_bin1763.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) = 7952.65580159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .91562E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1335       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20360E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .49043E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32047E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.8805       1.0000          .0000       .10000E+07
     7 'norm      '    1.7358       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11038E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.1351       1.0000          .0000       .10000E+07
    10 'norm      '    2.4794       1.0000          .0000       .10000E+07
    11 'Prefactor '    .69551       1.0000          .0000       .10000E+07
    12 'Prefactor '    75.529       1.0000          .0000       .10000E+07
    13 'Prefactor '    32.295       1.0000          .0000       .10000E+07
    14 'norm      '    .27073E-05   1.0000          .0000       .10000E+07
    15 'norm      '    4.2262       1.0000          .0000       .10000E+07
    16 'norm      '    1.0925       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.559       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.1815       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16535E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .28122E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .56743E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    12.625       1.0000          .0000       .10000E+07
    23 'norm      '    .28693       1.0000          .0000       .10000E+07
    24 'norm      '    .40323E-01   1.0000          .0000       .10000E+07
    25 'Prefactor '    .11148E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    .66443       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1640       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=   7952.640     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     2451 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    2.5171        .12838E-05** at limit **
   2  Prefactor     3.1360        4.7890        .12302E-06    .97759E-03
   3  Prefactor     .10436E-07    11.689       -.45942E-07** at limit **
   4  norm           .0000        7.5711       -.37737E-07** at limit **
   5  Prefactor     .39191E-07    30.490        .39864E-05** at limit **
   6  Prefactor     5.8145        1.4946        .27071E-06    .13604E-02
   7  norm          1.7352        .85552       -.60448E-07    .97542E-03
   8  Prefactor      .0000        4.0927       -.40038E-06** at limit **
   9  Prefactor     1.1531        14.970        .25561E-05    .15789E-01
  10  norm          2.4827        2.1371       -.15029E-06    .65683E-03
  11  Prefactor     .74009        5.6798        .49305E-07    .10892E-01
  12  Prefactor     74.868        49.175        .79449E-06    .11648E-01
  13  Prefactor     32.305        7.4289       -.34122E-06   -.10863E-01
  14  norm          .33307E-09    2.6211        .10516E-06** at limit **
  15  norm          4.2260        1.7767       -.48864E-07    .31599E-02
  16  norm          1.0928        .51917       -.59067E-07    .16011E-03
  17  Prefactor     10.577        11.423       -.79790E-06    .38138E-01
  18  Prefactor     2.2335        5.0522        .20876E-06    .53581E-03
  19  Prefactor      .0000        1.5689       -.10555E-06** at limit **
  20  Prefactor     .26479E-07    25.985       -.47455E-05** at limit **
  21  Prefactor      .0000        26.275       -.48005E-06** at limit **
  22  Prefactor     12.615        8.3913       -.55719E-06    .63134E-03
  23  norm          .29460        10.786       -.13430E-05   -.40573E-04
  24  norm          .54506E-04    42.688        .11622E-05** at limit **
  25  Prefactor     .55511E-08    13.584       -.23090E-06** at limit **
  26  Normalizat    .66487        .19289       -.53545E-05   -.19482E-04
  27  Prefactor     1.1639        .14303       -.53269E-06    .24896E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 3.13604
  Prefactor  = 1.04361e-08
  norm       = 0
  Prefactor  = 3.91909e-08
  Prefactor  = 5.81448
  norm       = 1.73524
  Prefactor  = 0
  Prefactor  = 1.15312
  norm       = 2.48269
  Prefactor  = 0.740087
  Prefactor  = 74.8675
  Prefactor  = 32.3048
  norm       = 3.33067e-10
  norm       = 4.22602
  norm       = 1.09281
  Prefactor  = 10.5774
  Prefactor  = 2.23355
  Prefactor  = 0
  Prefactor  = 2.64788e-08
  Prefactor  = 0
  Prefactor  = 12.6154
  norm       = 0.294596
  norm       = 5.45063e-05
  Prefactor  = 5.55112e-09
  Normalizat = 0.664871
  Prefactor  = 1.16389
 **********
 **   18 **HESSE 
 **********

 FCN=   7952.640     FROM HESSE     STATUS=OK           564 CALLS     3015 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.5109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1360        4.8162        .57245E-03   -1.5673    
   3  Prefactor     .10436E-07    11.763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        7.4583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .39191E-07    30.799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8145        22.606        .41389E-03   -1.5660    
   7  norm          1.7352        .86453        .79623E-03   -1.5682    
   8  Prefactor      .0000        4.1037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.1531        57.326        .10937E-02   -1.5686    
  10  norm          2.4827        2.1446        .64900E-03   -1.5676    
  11  Prefactor     .74009        31.296        .61073E-03   -1.5691    
  12  Prefactor     74.868        51.312        .11507E-03   -1.5535    
  13  Prefactor     32.305        7.5970        .17599E-03   -1.5594    
  14  norm          .33307E-09    2.6047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.2260        1.7820        .48993E-03   -1.5667    
  16  norm          1.0928        .51690        .96077E-03   -1.5687    
  17  Prefactor     10.577        13.986        .30809E-03   -1.5643    
  18  Prefactor     2.2335        5.0777        .69671E-03   -1.5678    
  19  Prefactor      .0000        1.5614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .26479E-07    26.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        5.6926        .11171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.615        8.6024        .28167E-03   -1.5637    
  23  norm          .29460        3.2680        .49109E-02   -1.5697    
  24  norm          .54506E-04    2.6134        .10032E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55511E-08    13.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .66487        .18066        .77737E-01   -1.0530    
  27  Prefactor     1.1639        .13003        .35544E-01   -.87450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10699e-07
Minuit parameter uncertainties:
  1  2.47919e-05
  2  4.8162
  3  0.000699999
  4  1.29363e-05
  5  0.00219743
  6  22.6062
  7  0.864525
  8  3.95658e-06
  9  16.261
  10  2.1446
  11  9.62539
  12  51.3119
  13  7.59697
  14  5.69736e-05
  15  1.78196
  16  0.516896
  17  13.9857
  18  5.07774
  19  2.08224e-06
  20  0.00166793
  21  1.37698e-05
  22  8.60238
  23  1.96238
  24  0.0238703
  25  0.000549292
  26  0.18082
  27  0.13007
Done.

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

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  7.487e+01  5.131e+01  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.164e+00  1.301e-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:  6.649e-01  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.83
Ra Dec: 121.628 45.060
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 7.20e-08 +/- 4.93e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 1.28e-05

TS (Fixed Index): 3.83
Ra Dec: 121.628 45.060
Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/274796/likelihoodResults_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.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) = 7952.556
delta logL = 0.0843939038577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7952.55274315
delta logL = 0.0876507494295

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7952.553     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      253 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.648        61.574        .52225E-05    .11411E-02
   2  Index         2.8708        .73780        .62656E-02    .60019E-04
   3  Normalizat    .65370        .18952        .34683E-03   -.11690E-02
   4  Prefactor     1.1701        .14245        .20119E-03   -.23196E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.6483
  Index      = 2.87083
  Normalizat = 0.653699
  Prefactor  = 1.17009
 **********
 **   18 **HESSE 
 **********

 FCN=   7952.553     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.648        55.911        .10445E-05   -1.5555    
   2  Index         2.8708        .66995        .25062E-03   -.43988    
   3  Normalizat    .65370        .18943        .69366E-04   -1.0575    
   4  Prefactor     1.1701        .14233        .40239E-04   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1335e-09
Minuit parameter uncertainties:
  1  55.9116
  2  0.672419
  3  0.18962
  4  0.142379
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/274796': 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) = 7952.55274307
delta logL = 0.0876508297251

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  5.865e+01  5.591e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.871e+00  6.724e-01  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.170e+00  1.424e-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:  6.537e-01  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.05
Ra Dec: 121.628 45.060
Photon Index (Free Index): 2.87 +/- 0.67
Photon Flux (Free Index): 8.07e-08 +/- 5.08e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.09e-05

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/274796/cmap_HighResolution_696297601_696556801_4FGL_J0806.5+4503_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', photon_flux='7.20e-08', energy_flux2='1.73e-05', photon_flux_error='4.93e-08', dlogl='8.77e-02', energy_flux='1.87e-05', photon_flux2='8.07e-08', job_status='DONE', time_completed='2023-01-28 00:50:42.202003', photon_index_error2='0.67', photon_index2='2.87', ts='3.83', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.59e-07', energy_flux_error2='1.09e-05', EG='0.66', time_epoch_completed='1674895842.2', return_code='0', job_id='274796', GAL2='1.17', EG2='0.65', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='5.08e-08', ts2='4.05', photon_index='2.61' WHERE bin_id='1763' AND source_name='4FGL J0806.5+4503' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:50:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 274796: <4FGL_J0806.5+4503_daily_bin1763> in cluster <slac> Done

Job <4FGL_J0806.5+4503_daily_bin1763> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Jan 28 00:35:17 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:35:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:35:39 2023
Terminated at Sat Jan 28 00:50:43 2023
Results reported at Sat Jan 28 00:50:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0806.5+4503_daily_bin1763 121.628 45.0605 696297601 696556801 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 :                                   867.25 sec.
    Max Memory :                                 1082 MB
    Average Memory :                             332.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            926 sec.

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

