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


Performing analysis on: 4FGL_J0806.5+4503_daily_bin1755
RA = 121.628, Dec = 45.0605
tmin = 694224001, tmax = 694483201
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='819010', job_status='RUN', time_executed='2023-01-04 00:49:57.471538', time_epoch_executed='1672822197.47' WHERE source_name='4FGL J0806.5+4503' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819010

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819010/ft1_4FGL_J0806.5+4503_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819010/ft2_4FGL_J0806.5+4503_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819010/ft1_4FGL_J0806.5+4503_daily_bin1755.fits outfile=/scratch/kocevski/819010/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1755.fits ra=121.628 dec=45.0605 rad=12.0 tmin=694224001.0 tmax=694483201.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.04
user 2.82
sys 0.19

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

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

Number of photons that the gtmktime cut: 16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/819010/ft1_filtered_4FGL_J0806.5+4503_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/819010/ft2_4FGL_J0806.5+4503_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/819010/ltcube_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.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/819010/ft2_4FGL_J0806.5+4503_daily_bin1755.fits
.....................!
real 17.60
user 17.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819010/ft1_filtered_4FGL_J0806.5+4503_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/819010/ft2_4FGL_J0806.5+4503_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/819010/ltcube_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.fits outfile=/scratch/kocevski/819010/expmap_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.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/819010/ltcube_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.fits
.....................!
real 195.75
user 189.56
sys 5.67

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/819010/ft1_filtered_4FGL_J0806.5+4503_daily_bin1755.fits scfile=/scratch/kocevski/819010/ft2_4FGL_J0806.5+4503_daily_bin1755.fits outfile=/scratch/kocevski/819010/cmap_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/819010/ft1_filtered_4FGL_J0806.5+4503_daily_bin1755.fits scfile=/scratch/kocevski/819010/ft2_4FGL_J0806.5+4503_daily_bin1755.fits outfile=/scratch/kocevski/819010/cmap_HighResolution_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/819010/ft1_filtered_4FGL_J0806.5+4503_daily_bin1755.fits', '/scratch/kocevski/819010/ft2_4FGL_J0806.5+4503_daily_bin1755.fits', expMap='/scratch/kocevski/819010/expmap_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.fits', expCube='/scratch/kocevski/819010/ltcube_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/819010/Model_4FGL_J0806.5+4503_daily_bin1755.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/819010/ft1_filtered_4FGL_J0806.5+4503_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/819010/ft2_4FGL_J0806.5+4503_daily_bin1755.fits
Exposure map: /scratch/kocevski/819010/expmap_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.fits
Exposure cube: /scratch/kocevski/819010/ltcube_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/819010/Model_4FGL_J0806.5+4503_daily_bin1755.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 216.639128494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 214.408901878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.017       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13681E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6599       1.0000          .0000       .10000E+07
     4 'norm      '    .62270E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .88609       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8145       1.0000          .0000       .10000E+07
     7 'norm      '    3.3399       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14403E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7618       1.0000          .0000       .10000E+07
    10 'norm      '    .21225E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89956       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.2937       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1948       1.0000          .0000       .10000E+07
    14 'norm      '    .10692E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .49219E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.9284       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.6819       1.0000          .0000       .10000E+07
    18 'Prefactor '    60.333       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.3012       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.9223       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.7193       1.0000          .0000       .10000E+07
    22 'Prefactor '    2.5666       1.0000          .0000       .10000E+07
    23 'norm      '    6.0639       1.0000          .0000       .10000E+07
    24 'norm      '    6.4366       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.9228       1.0000          .0000       .10000E+07
    26 'Normalizat'    .10005E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    .77917       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=   178.8158     FROM MIGRAD    STATUS=CONVERGED    756 CALLS     1084 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.675        12.916        .24252E-03   -.29227E-01
   2  Prefactor      .0000        12.746        .42118E-03** at limit **
   3  Prefactor     .55511E-10    33.002        .38860E-03** at limit **
   4  norm           .0000        13.832        .42118E-03** at limit **
   5  Prefactor     .12768E-07    903.37        .46727E-03** at limit **
   6  Prefactor      .0000        53.430        .35846E-03** at limit **
   7  norm          .96410        2.2465        .55357E-03   -8.2788    
   8  Prefactor      .0000        40.314        .42118E-03** at limit **
   9  Prefactor      .0000        204.68        .52029E-03** at limit **
  10  norm           .0000        13.110        .42118E-03** at limit **
  11  Prefactor      .0000        441.33        .45791E-03** at limit **
  12  Prefactor     .42355E-07    5731.0        .39988E-03** at limit **
  13  Prefactor     .10000E+07    .82786E+06    .10401E-01** at limit **
  14  norm           .0000        13.212        .42118E-03** at limit **
  15  norm           .0000        10.476        .42118E-03** at limit **
  16  norm          .10000E+07    .10768E+06    .74772E-02** at limit **
  17  Prefactor     .10000E+07    .71926E+06    .62194E-02** at limit **
  18  Prefactor     17.154        56.211        .12875E-03    .37120E-02
  19  Prefactor     1.3012        1.1044         .0000         .0000    
  20  Prefactor     .10000E+07    .28108E-01    .50379E-04** at limit **
  21  Prefactor     .10000E+07    .16037        .10741E-03** at limit **
  22  Prefactor     .16653E-08    .10141       -.39958E-06** at limit **
  23  norm          .10000E+07    .41512E-01   -.10867E-04** at limit **
  24  norm          .10000E+07    .39078E-01   -.24142E-04** at limit **
  25  Prefactor     .10000E+07    .14025        .57713E-04** at limit **
  26  Normalizat    .10000E-01    .25591       -.11574E-04** at limit **
  27  Prefactor     .25489        .66338       -.69667E-06    .16047E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.6755
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 1.27676e-08
  Prefactor  = 0
  norm       = 0.964103
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.2355e-08
  Prefactor  = 1e+06
  norm       = 0
  norm       = 0
  norm       = 1e+06
  Prefactor  = 1e+06
  Prefactor  = 17.1544
  Prefactor  = 1.30123
  Prefactor  = 1e+06
  Prefactor  = 1e+06
  Prefactor  = 1.66533e-09
  norm       = 1e+06
  norm       = 1e+06
  Prefactor  = 1e+06
  Normalizat = 0.01
  Prefactor  = 0.25489
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   178.8158     FROM HESSE     STATUS=FAILED        47 CALLS     1131 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.675        12.916        .24252E-03   -1.5634    
   2  Prefactor      .0000        12.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    33.002        .38860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        13.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12768E-07    903.37        .46727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        53.430        .35846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .96410        2.2465        .55357E-03   -1.5728    
   8  Prefactor      .0000        40.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        204.68        .52029E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        13.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        441.33        .45791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .42355E-07    5731.0        .39988E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E+07    .82786E+06    .10401E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        13.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        10.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E+07    .10768E+06    .74772E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E+07    .71926E+06    .62194E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.154        56.211        .12875E-03   -1.5625    
  19  Prefactor     63072.        63070.         .0000       -1.5685    
  20  Prefactor     .10000E+07    .28108E-01    .50379E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E+07    .16037        .10741E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .16653E-08    .10141       -.39958E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E+07    .41512E-01   -.10867E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E+07    .39078E-01   -.24142E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E+07    .14025        .57713E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .10000E-01    .25591       -.11574E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .25489        .66338       -.69667E-06   -1.2501    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.12174e-10
Minuit parameter uncertainties:
  1  12.9158
  2  1.08958e-05
  3  9.47784e-05
  4  4.89205e-06
  5  0.00679839
  6  3.43931e-05
  7  2.2465
  8  5.90167e-05
  9  0.000145026
  10  4.86903e-06
  11  5.27838e-05
  12  0.0311817
  13  6.46632
  14  1.11059e-05
  15  3.17115e-06
  16  2.08916
  17  3.58959
  18  56.2127
  19  1.10437
  20  0.00247864
  21  0.000786998
  22  2.58456e-05
  23  0.000216597
  24  0.000336497
  25  0.00398047
  26  2.41532e-06
  27  0.684722
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 178.815784981

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  4.236e-08  3.118e-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:  2.549e-01  6.847e-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.000e-02  2.415e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 121.628 45.060
Photon Flux Upper Limit: 3.31e-05 ph cm-2 s-1
Energy Flux Upper Limit: 2.59e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/819010/likelihoodResults_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.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) = 178.81586812
delta logL = -8.31385214042e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 178.815786807
delta logL = -1.82599700338e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10931E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.3160       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .25489       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=   178.8158     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      303 TOTAL
                     EDM=   .15E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25535E-08    175.91        .84235E-03** at limit **
   2  Index         2.3482        6.1594        .50000        .42633E-12
   3  Normalizat    .10000E-01    .29734E-04    .58047E-02** at limit **
   4  Prefactor     .25489        .13897E-02    .15983E-03   -.14863E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55351e-09
  Index      = 2.3482
  Normalizat = 0.01
  Prefactor  = 0.254889
 **********
 **   18 **HESSE 
 **********

 FCN=   178.8158     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      328 TOTAL
                     EDM=   .73E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25535E-08    879.98        .16847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3482        5.5365        .50000       -.55903    
   3  Normalizat    .10000E-01    .14885E-03    .11609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .25489        .31089E-02    .31967E-04   -1.2501    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.28786e-14
Minuit parameter uncertainties:
  1  0.00299352
  2  449815
  3  2.80387e-08
  4  0.00310888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819010': 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) = 178.815784981
delta logL = 3.75166564481e-12

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  2.554e-09  2.994e-03  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.348e+00  4.498e+05  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:  2.549e-01  3.109e-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.000e-02  2.804e-08  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/819010/cmap_HighResolution_694224001_694483201_4FGL_J0806.5+4503_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.59e+00', job_status='DONE', photon_flux_upper_limit='3.31e-05', time_completed='2023-01-04 00:55:41.468574', job_id='819010', GAL2='0.25', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1672822541.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.25', dlogl='3.75e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1755' AND source_name='4FGL J0806.5+4503' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:55:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 819010: <4FGL_J0806.5+4503_daily_bin1755> in cluster <slac> Done

Job <4FGL_J0806.5+4503_daily_bin1755> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Jan  4 00:45:29 2023
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:45:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:45:53 2023
Terminated at Wed Jan  4 00:55:42 2023
Results reported at Wed Jan  4 00:55:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0806.5+4503_daily_bin1755 121.628 45.0605 694224001 694483201 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 :                                   346.54 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            613 sec.

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

