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


Performing analysis on: 4FGL_J0806.5+4503_daily_bin1771
RA = 121.628, Dec = 45.0605
tmin = 698371201, tmax = 698630401
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='542038', job_status='RUN', time_executed='2023-02-21 00:34:12.872747', time_epoch_executed='1676968452.87' WHERE source_name='4FGL J0806.5+4503' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542038

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542038/ft1_4FGL_J0806.5+4503_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542038/ft2_4FGL_J0806.5+4503_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542038/ft1_4FGL_J0806.5+4503_daily_bin1771.fits outfile=/scratch/kocevski/542038/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1771.fits ra=121.628 dec=45.0605 rad=12.0 tmin=698371201.0 tmax=698630401.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.11
user 2.90
sys 0.20

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

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

Number of photons that the gtmktime cut: 286

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542038/ft1_filtered_4FGL_J0806.5+4503_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542038/ft2_4FGL_J0806.5+4503_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/542038/ltcube_698371201_698630401_4FGL_J0806.5+4503_daily_bin1771.fits outfile=/scratch/kocevski/542038/expmap_698371201_698630401_4FGL_J0806.5+4503_daily_bin1771.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/542038/ltcube_698371201_698630401_4FGL_J0806.5+4503_daily_bin1771.fits
.....................!
real 190.24
user 184.91
sys 4.99

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/542038/ft1_filtered_4FGL_J0806.5+4503_daily_bin1771.fits scfile=/scratch/kocevski/542038/ft2_4FGL_J0806.5+4503_daily_bin1771.fits outfile=/scratch/kocevski/542038/cmap_698371201_698630401_4FGL_J0806.5+4503_daily_bin1771.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542038/ft1_filtered_4FGL_J0806.5+4503_daily_bin1771.fits scfile=/scratch/kocevski/542038/ft2_4FGL_J0806.5+4503_daily_bin1771.fits outfile=/scratch/kocevski/542038/cmap_HighResolution_698371201_698630401_4FGL_J0806.5+4503_daily_bin1771.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78806E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .72822E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    51.966       1.0000          .0000       .10000E+07
     4 'norm      '    6.4095       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13184E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    30.717       1.0000          .0000       .10000E+07
     7 'norm      '    4.3188       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.985       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.097       1.0000          .0000       .10000E+07
    10 'norm      '    2.1759       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.3852       1.0000          .0000       .10000E+07
    12 'Prefactor '    96.046       1.0000          .0000       .10000E+07
    13 'Prefactor '    19.301       1.0000          .0000       .10000E+07
    14 'norm      '    .19153E-03   1.0000          .0000       .10000E+07
    15 'norm      '    2.4389       1.0000          .0000       .10000E+07
    16 'norm      '    1.4245       1.0000          .0000       .10000E+07
    17 'Prefactor '    .25668E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20268E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    17.940       1.0000          .0000       .10000E+07
    20 'Prefactor '    .32591E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .63972E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .92957       1.0000          .0000       .10000E+07
    23 'norm      '    .77150E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .82812E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    26.181       1.0000          .0000       .10000E+07
    26 'Normalizat'    .94013       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .79080       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=   3214.803     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2458 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.3807        .88951E-07** at limit **
   2  Prefactor      .0000        2.7314        .68860E-08** at limit **
   3  Prefactor     51.862        12.765        .25533E-07   -.14981    
   4  norm          6.4349        10.314        .28916E-07   -.23114E-02
   5  Prefactor     .11102E-09    6.7214       -.26636E-06** at limit **
   6  Prefactor     31.034        18.877       -.29141E-06   -.10174    
   7  norm          4.3279        1.5971        .31475E-07    .12892E-02
   8  Prefactor     16.124        10.464       -.14409E-07   -.16063    
   9  Prefactor     23.953        29.733        .30278E-06    .15042E-01
  10  norm          2.1332        3.6325       -.19267E-06    .17053E-02
  11  Prefactor     5.4667        18.314        .96916E-07    .35230E-01
  12  Prefactor     118.19        135.90        .54366E-06    .68612E-02
  13  Prefactor     18.835        15.225       -.12382E-06   -.38452E-01
  14  norm           .0000        2.4023        .13130E-07** at limit **
  15  norm          2.4397        2.2714       -.32124E-07   -.46716E-03
  16  norm          1.4058        1.2848        .58552E-07    .15592E-02
  17  Prefactor     .17852E-06    19.983        .14603E-06** at limit **
  18  Prefactor     .23648E-07    25.960       -.28910E-06** at limit **
  19  Prefactor     18.130        10.432       -.27621E-07   -.11080E-02
  20  Prefactor     .90983E-07    21.879       -.32437E-06** at limit **
  21  Prefactor     .55511E-10    8.9649       -.37668E-07** at limit **
  22  Prefactor     .95772        80.441        .35249E-05    .13424E-01
  23  norm           .0000        3.9998        .51965E-07** at limit **
  24  norm           .0000        5.6382        .16861E-06** at limit **
  25  Prefactor     25.906        25.052        .90258E-06   -.97104E-01
  26  Normalizat    .93005        .35753       -.72235E-05   -.88690E-06
  27  Prefactor     .79323        .21895        .27336E-05    .75337E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 51.8625
  norm       = 6.43492
  Prefactor  = 1.11022e-10
  Prefactor  = 31.0345
  norm       = 4.32788
  Prefactor  = 16.1235
  Prefactor  = 23.9533
  norm       = 2.13321
  Prefactor  = 5.46673
  Prefactor  = 118.195
  Prefactor  = 18.8354
  norm       = 0
  norm       = 2.43967
  norm       = 1.40581
  Prefactor  = 1.78524e-07
  Prefactor  = 2.36478e-08
  Prefactor  = 18.1302
  Prefactor  = 9.09828e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.957725
  norm       = 0
  norm       = 0
  Prefactor  = 25.9061
  Normalizat = 0.930052
  Prefactor  = 0.793227
 **********
 **   18 **HESSE 
 **********

 FCN=   3214.803     FROM HESSE     STATUS=OK           544 CALLS     3002 TOTAL
                     EDM=   .55E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.3817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.7367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     51.862        27.286        .13873E-03   -1.5564    
   4  norm          6.4349        10.307        .39621E-03   -1.5657    
   5  Prefactor     .11102E-09    6.7207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.034        42.551        .18046E-03   -1.5597    
   7  norm          4.3279        1.5956        .48450E-03   -1.5666    
   8  Prefactor     16.124        19.900        .25025E-03   -1.5628    
   9  Prefactor     23.953        37.023        .19965E-03   -1.5610    
  10  norm          2.1332        3.7531        .69771E-03   -1.5679    
  11  Prefactor     5.4667        19.152        .39697E-03   -1.5661    
  12  Prefactor     118.19        136.25        .10204E-03   -1.5491    
  13  Prefactor     18.835        15.619        .22770E-03   -1.5621    
  14  norm           .0000        2.4038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4397        2.2762        .65488E-03   -1.5677    
  16  norm          1.4058        1.2727        .90553E-03   -1.5684    
  17  Prefactor     .17852E-06    20.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .23648E-07    28.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.130        10.436        .23619E-03   -1.5623    
  20  Prefactor     .90983E-07    23.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    8.9235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95772        137.24        .43737E-03   -1.5688    
  23  norm           .0000        3.9957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        5.6310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     25.906        98.054        .19548E-03   -1.5606    
  26  Normalizat    .93005        .32036        .74586E-01   -.95412    
  27  Prefactor     .79323        .19385        .43597E-01   -.99978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54767e-06
Minuit parameter uncertainties:
  1  8.65689e-06
  2  5.72651e-06
  3  27.2859
  4  10.3068
  5  5.12335e-05
  6  42.5517
  7  1.59565
  8  19.8997
  9  37.0234
  10  3.7531
  11  19.1521
  12  136.251
  13  15.6189
  14  4.65065e-06
  15  2.27623
  16  1.27274
  17  0.0037935
  18  0.00163306
  19  10.4357
  20  0.00293134
  21  4.21363e-05
  22  22.9301
  23  8.84177e-06
  24  1.21493e-05
  25  98.0601
  26  0.321025
  27  0.194016
Done.

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

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  1.182e+02  1.363e+02  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:  7.932e-01  1.940e-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:  9.301e-01  3.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.28
Ra Dec: 121.628 45.060
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 1.31e-07
Energy Flux (Fixed Index): 2.96e-05 +/- 3.41e-05

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

Saving results to:
/scratch/kocevski/542038/likelihoodResults_698371201_698630401_4FGL_J0806.5+4503_daily_bin1771.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) = 3214.34510866
delta logL = 0.457394003811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3214.32137249
delta logL = 0.481130173301

Fit tolerance = 1e-08

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

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

 FCN=   3214.321     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      279 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8374        146.18        .35448E-03    .17013E-02
   2  Index         4.7323        3.9975        .11069        .82304E-04
   3  Normalizat    .82590        .11782        .78572E-01    .22687E-04
   4  Prefactor     .85309        .73503E-01    .44410E-01    .26576E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.83738
  Index      = 4.73229
  Normalizat = 0.825898
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********

 FCN=   3214.321     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8374        220.92        .11460E-04   -1.5652    
   2  Index         4.7323        7.2912        .43932E-02   -.53568E-01
   3  Normalizat    .82590        .31958        .34782E-03   -.99115    
   4  Prefactor     .85309        .20185        .21862E-03   -.97800    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26122e-10
Minuit parameter uncertainties:
  1  83.2251
  2  6.34956
  3  0.32031
  4  0.20203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542038': 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) = 3214.3213577
delta logL = 0.481144968612

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  7.837e+00  8.323e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  4.732e+00  6.350e+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:  8.531e-01  2.020e-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:  8.259e-01  3.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 121.628 45.060
Photon Index (Free Index): 4.73 +/- 6.35
Photon Flux (Free Index): 1.98e-07 +/- 1.53e-07
Energy Flux (Free Index): 2.70e-05 +/- 2.71e-05

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/542038/cmap_HighResolution_698371201_698630401_4FGL_J0806.5+4503_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-02', comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='2.70e-05', photon_flux_error='1.31e-07', dlogl='4.81e-01', energy_flux='2.96e-05', photon_flux2='1.98e-07', job_status='DONE', time_completed='2023-02-21 00:43:04.841677', photon_index_error2='6.35', photon_index2='4.73', ts='1.28', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='3.43e-07', energy_flux_error2='2.71e-05', EG='0.93', time_epoch_completed='1676968984.84', return_code='0', job_id='542038', GAL2='0.85', EG2='0.83', return_code2='102', energy_flux_error='3.41e-05', photon_flux_error2='1.53e-07', ts2='2.49', photon_index='2.61' WHERE bin_id='1771' AND source_name='4FGL J0806.5+4503' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:43:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 542038: <4FGL_J0806.5+4503_daily_bin1771> in cluster <slac> Done

Job <4FGL_J0806.5+4503_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:30:18 2023
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:30:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:30:19 2023
Terminated at Tue Feb 21 00:43:09 2023
Results reported at Tue Feb 21 00:43:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0806.5+4503_daily_bin1771 121.628 45.0605 698371201 698630401 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 :                                   533.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

