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


Performing analysis on: 4FGL_J0806.5+4503_daily_bin1745
RA = 121.628, Dec = 45.0605
tmin = 691632001, tmax = 691891201
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='641540', job_status='RUN', time_executed='2022-12-05 00:21:29.942885', time_epoch_executed='1670228489.94' WHERE source_name='4FGL J0806.5+4503' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641540

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641540/ft1_4FGL_J0806.5+4503_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641540/ft2_4FGL_J0806.5+4503_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641540/ft1_4FGL_J0806.5+4503_daily_bin1745.fits outfile=/scratch/kocevski/641540/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1745.fits ra=121.628 dec=45.0605 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.37
user 2.15
sys 0.18

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

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

Number of photons that the gtmktime cut: 319

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641540/ft1_filtered_4FGL_J0806.5+4503_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/641540/ft2_4FGL_J0806.5+4503_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/641540/ltcube_691632001_691891201_4FGL_J0806.5+4503_daily_bin1745.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/641540/ft2_4FGL_J0806.5+4503_daily_bin1745.fits
.....................!
real 12.62
user 12.25
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641540/ft1_filtered_4FGL_J0806.5+4503_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641540/ft2_4FGL_J0806.5+4503_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/641540/ltcube_691632001_691891201_4FGL_J0806.5+4503_daily_bin1745.fits outfile=/scratch/kocevski/641540/expmap_691632001_691891201_4FGL_J0806.5+4503_daily_bin1745.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/641540/ltcube_691632001_691891201_4FGL_J0806.5+4503_daily_bin1745.fits
.....................!
real 192.37
user 187.69
sys 4.32

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/641540/ft1_filtered_4FGL_J0806.5+4503_daily_bin1745.fits scfile=/scratch/kocevski/641540/ft2_4FGL_J0806.5+4503_daily_bin1745.fits outfile=/scratch/kocevski/641540/cmap_691632001_691891201_4FGL_J0806.5+4503_daily_bin1745.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641540/ft1_filtered_4FGL_J0806.5+4503_daily_bin1745.fits scfile=/scratch/kocevski/641540/ft2_4FGL_J0806.5+4503_daily_bin1745.fits outfile=/scratch/kocevski/641540/cmap_HighResolution_691632001_691891201_4FGL_J0806.5+4503_daily_bin1745.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40523E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    27.160       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18596E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .20156E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    43.767       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16118E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .64085       1.0000          .0000       .10000E+07
     8 'Prefactor '    .77716E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    .82268E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .12212E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9957       1.0000          .0000       .10000E+07
    12 'Prefactor '    .30740E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.498       1.0000          .0000       .10000E+07
    14 'norm      '    .10358E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .49960E-09   1.0000          .0000       .10000E+07
    16 'norm      '    .93289       1.0000          .0000       .10000E+07
    17 'Prefactor '    12.846       1.0000          .0000       .10000E+07
    18 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .27200E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    .20656E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .15987E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    16.829       1.0000          .0000       .10000E+07
    23 'norm      '    .21072E-06   1.0000          .0000       .10000E+07
    24 'norm      '    .13833E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    .21437E-05   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1314       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .98220       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=   3644.021     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     2866 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16342E-06    8.4367       -.38954E-05** at limit **
   2  Prefactor     27.162        2.7743       -.29785E-06    .13592E-01
   3  Prefactor     .24869E-07    48.600        .11466E-05** at limit **
   4  norm          .88540E-07    9.6680        .23872E-05** at limit **
   5  Prefactor     43.752        2.5998        .26100E-06   -.44190E-01
   6  Prefactor     .30336E-05    14.343        .15268E-05** at limit **
   7  norm          .64079        1.7370       -.16424E-06   -.29818E-03
   8  Prefactor     .24425E-07    8.1830        .16318E-05** at limit **
   9  Prefactor     .90705E-07    13.098       -.97456E-06** at limit **
  10  norm          .88818E-09    7.2214       -.58062E-06** at limit **
  11  Prefactor     2.9925        2.4174       -.32720E-06   -.43436E-03
  12  Prefactor     .71831E-07    182.72       -.18698E-05** at limit **
  13  Prefactor     11.497        9.7617       -.81068E-06   -.12935E-03
  14  norm          .17436E-06    3.3826       -.81694E-06** at limit **
  15  norm           .0000        1.4447       -.62753E-08** at limit **
  16  norm          .93280        .74764       -.20772E-07   -.17951E-02
  17  Prefactor     12.846        1.8637       -.88651E-07    .61493E-03
  18  Prefactor     .55511E-10    2.9310       -.32087E-06** at limit **
  19  Prefactor      .0000        1.2531        .15290E-06** at limit **
  20  Prefactor     .23981E-07    14.993        .10402E-05** at limit **
  21  Prefactor      .0000        4.3782       -.99348E-07** at limit **
  22  Prefactor     16.830        1.4585        .10975E-06    .25063E-02
  23  norm          .55511E-10    5.5156       -.76235E-06** at limit **
  24  norm           .0000        4.1583        .11463E-06** at limit **
  25  Prefactor     .31776E-05    16.305       -.24875E-05** at limit **
  26  Normalizat    1.1314        .29869       -.17988E-04    .36976E-04
  27  Prefactor     .98220        .22342        .92114E-05    .18569E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.63425e-07
  Prefactor  = 27.1617
  Prefactor  = 2.4869e-08
  norm       = 8.85403e-08
  Prefactor  = 43.7517
  Prefactor  = 3.03357e-06
  norm       = 0.640789
  Prefactor  = 2.44249e-08
  Prefactor  = 9.07052e-08
  norm       = 8.88178e-10
  Prefactor  = 2.99246
  Prefactor  = 7.18314e-08
  Prefactor  = 11.4975
  norm       = 1.74361e-07
  norm       = 0
  norm       = 0.932804
  Prefactor  = 12.846
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.39808e-08
  Prefactor  = 0
  Prefactor  = 16.8299
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 3.17757e-06
  Normalizat = 1.13139
  Prefactor  = 0.982196
 **********
 **   18 **HESSE 
 **********

 FCN=   3644.021     FROM HESSE     STATUS=OK           534 CALLS     3400 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16342E-06    9.0657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.162        20.106        .19192E-03   -1.5604    
   3  Prefactor     .24869E-07    48.951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .88540E-07    9.9603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     43.752        39.482        .15117E-03   -1.5576    
   6  Prefactor     .30336E-05    26.757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .64079        1.7550        .65645E-03   -1.5692    
   8  Prefactor     .24425E-07    8.2695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .90705E-07    13.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .88818E-09    7.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.9925        25.421        .58624E-03   -1.5673    
  12  Prefactor     .71831E-07    183.97        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.497        10.422        .29519E-03   -1.5640    
  14  norm          .17436E-06    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.4416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .93280        .75098        .43512E-03   -1.5689    
  17  Prefactor     12.846        13.965        .27922E-03   -1.5636    
  18  Prefactor     .55511E-10    2.9376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.2554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23981E-07    17.671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        4.3816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.830        13.315        .24387E-03   -1.5626    
  23  norm          .55511E-10    5.5066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        4.1570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .31776E-05    28.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1314        .26652        .65789E-01   -.88750    
  27  Prefactor     .98220        .19634        .46044E-01   -.93325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78377e-07
Minuit parameter uncertainties:
  1  0.00243424
  2  20.1061
  3  0.00220675
  4  0.00187833
  5  39.4825
  6  0.0180188
  7  1.75502
  8  0.000898659
  9  0.00223067
  10  0.000157878
  11  17.4438
  12  0.0072711
  13  10.4219
  14  0.00350567
  15  1.84856e-06
  16  0.750978
  17  13.9652
  18  2.52881e-05
  19  2.96933e-06
  20  0.00130123
  21  2.16578e-05
  22  13.315
  23  3.28127e-05
  24  9.93435e-06
  25  0.0190758
  26  0.266842
  27  0.196485
Done.

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

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  7.183e-08  7.271e-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:  9.822e-01  1.965e-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:  1.131e+00  2.668e-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: 1.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.30e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641540/likelihoodResults_691632001_691891201_4FGL_J0806.5+4503_daily_bin1745.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) = 3644.02355854
delta logL = -0.00266868661492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3644.02090201
delta logL = -1.21572793432e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24710E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.1972       1.0000          .0000       10.000    
     3 'Normalizat'    1.1305       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98234       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=   3644.021     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      255 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.3027        .42118E-03** at limit **
   2  Index         2.4754        5.6940        .50000       -.15916E-10
   3  Normalizat    1.1314        .11492E-02    .65789E-01   -.18868E-03
   4  Prefactor     .98220        .86385E-03    .46046E-01   -.28496E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Index      = 2.47539
  Normalizat = 1.13139
  Prefactor  = 0.982195
 **********
 **   18 **HESSE 
 **********

 FCN=   3644.021     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      280 TOTAL
                     EDM=   .60E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    22.292        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4754        5.5465        .50000       -.52929    
   3  Normalizat    1.1314        .26110E-02    .29104E-03   -.88750    
   4  Prefactor     .98220        .19642E-02    .23182E-03   -.93325    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.99489e-13
Minuit parameter uncertainties:
  1  0.000296142
  2  55706.4
  3  0.002611
  4  0.00196421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641540': 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) = 3644.02088986
delta logL = 1.30057742354e-10

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  9.992e-10  2.961e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.475e+00  5.571e+04  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:  9.822e-01  1.964e-03  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:  1.131e+00  2.611e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/641540/cmap_HighResolution_691632001_691891201_4FGL_J0806.5+4503_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-02', job_status='DONE', photon_flux_upper_limit='1.66e-07', time_completed='2022-12-05 00:31:04.403826', job_id='641540', GAL2='0.98', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1670229064.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.30e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1745' AND source_name='4FGL J0806.5+4503' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:31:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 641540: <4FGL_J0806.5+4503_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0806.5+4503_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:20:15 2022
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:20:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:20:16 2022
Terminated at Mon Dec  5 00:31:05 2022
Results reported at Mon Dec  5 00:31:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0806.5+4503_daily_bin1745 121.628 45.0605 691632001 691891201 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 :                                   569.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            650 sec.

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

