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


Performing analysis on: 4FGL_J0806.5+4503_daily_bin1713
RA = 121.628, Dec = 45.0605
tmin = 683337601, tmax = 683596801
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='63856', job_status='RUN', time_executed='2022-09-16 13:41:18.155974', time_epoch_executed='1663360878.16' WHERE source_name='4FGL J0806.5+4503' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63856

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63856/ft1_4FGL_J0806.5+4503_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63856/ft2_4FGL_J0806.5+4503_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63856/ft1_4FGL_J0806.5+4503_daily_bin1713.fits outfile=/scratch/kocevski/63856/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1713.fits ra=121.628 dec=45.0605 rad=12.0 tmin=683337601.0 tmax=683596801.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.52
user 3.28
sys 0.22

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

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

Number of photons that the gtmktime cut: 781

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/63856/ft1_filtered_4FGL_J0806.5+4503_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/63856/ft2_4FGL_J0806.5+4503_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/63856/ltcube_683337601_683596801_4FGL_J0806.5+4503_daily_bin1713.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/63856/ft2_4FGL_J0806.5+4503_daily_bin1713.fits
.....................!
real 14.44
user 14.04
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63856/ft1_filtered_4FGL_J0806.5+4503_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/63856/ft2_4FGL_J0806.5+4503_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/63856/ltcube_683337601_683596801_4FGL_J0806.5+4503_daily_bin1713.fits outfile=/scratch/kocevski/63856/expmap_683337601_683596801_4FGL_J0806.5+4503_daily_bin1713.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/63856/ltcube_683337601_683596801_4FGL_J0806.5+4503_daily_bin1713.fits
.....................!
real 192.77
user 186.12
sys 5.37

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/63856/ft1_filtered_4FGL_J0806.5+4503_daily_bin1713.fits scfile=/scratch/kocevski/63856/ft2_4FGL_J0806.5+4503_daily_bin1713.fits outfile=/scratch/kocevski/63856/cmap_683337601_683596801_4FGL_J0806.5+4503_daily_bin1713.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 1.77
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/63856/ft1_filtered_4FGL_J0806.5+4503_daily_bin1713.fits scfile=/scratch/kocevski/63856/ft2_4FGL_J0806.5+4503_daily_bin1713.fits outfile=/scratch/kocevski/63856/cmap_HighResolution_683337601_683596801_4FGL_J0806.5+4503_daily_bin1713.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32231       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28150E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    16.382       1.0000          .0000       .10000E+07
     4 'norm      '    .12441E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12014E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.552       1.0000          .0000       .10000E+07
     7 'norm      '    .41143       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.4983       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.913       1.0000          .0000       .10000E+07
    10 'norm      '    4.0905       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.9033       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.1615       1.0000          .0000       .10000E+07
    13 'Prefactor '    33.906       1.0000          .0000       .10000E+07
    14 'norm      '    1.0723       1.0000          .0000       .10000E+07
    15 'norm      '    5.6268       1.0000          .0000       .10000E+07
    16 'norm      '    .76315       1.0000          .0000       .10000E+07
    17 'Prefactor '    21.058       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.2098       1.0000          .0000       .10000E+07
    19 'Prefactor '    .57328       1.0000          .0000       .10000E+07
    20 'Prefactor '    18.669       1.0000          .0000       .10000E+07
    21 'Prefactor '    .98549E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .13101E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .94302E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .20201E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    29.656       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.4616       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .63615       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=   8514.998     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2394 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29553        7.9971       -.18043E-06   -.72810E-03
   2  Prefactor     .22371E-07    4.5891       -.12048E-05** at limit **
   3  Prefactor     16.567        14.677       -.19524E-05   -.38521E-01
   4  norm          .51903E-07    4.2629        .13203E-05** at limit **
   5  Prefactor     .11102E-09    3.2534       -.75869E-06** at limit **
   6  Prefactor     11.605        1.5083       -.16144E-06   -.18437E-01
   7  norm          .41275        .58115        .13795E-07    .21094E-02
   8  Prefactor     3.4959        2.9330       -.85144E-06   -.10819E-01
   9  Prefactor     18.898        7.1217       -.60738E-06   -.50568E-01
  10  norm          4.0948        2.5046       -.17927E-06    .28612E-02
  11  Prefactor     4.8579        7.7349       -.97307E-06    .71273E-02
  12  Prefactor     7.8363        38.048        .99876E-05   -.26485E-01
  13  Prefactor     33.971        7.8307       -.13155E-06    .35658E-02
  14  norm          1.0928        3.9055        .19930E-06    .11562E-02
  15  norm          5.6218        2.3189       -.94726E-07   -.72975E-03
  16  norm          .76129        .46524        .36770E-07    .59318E-02
  17  Prefactor     20.927        12.229       -.23526E-05   -.10906    
  18  Prefactor     9.2732        7.7038        .25280E-06   -.21275E-02
  19  Prefactor     .56975        4.5802        .11760E-05    .41686E-02
  20  Prefactor     19.838        24.915       -.49542E-06    .87005E-02
  21  Prefactor     .99920E-09    29.434       -.24929E-06** at limit **
  22  Prefactor     .11102E-08    3.7384        .89177E-06** at limit **
  23  norm          .10952E-06    2.0507       -.79286E-06** at limit **
  24  norm          .62172E-08    4.4069       -.53027E-06** at limit **
  25  Prefactor     30.800        23.295       -.29857E-05    .50015E-01
  26  Normalizat    1.4575        .22050       -.47167E-05    .19520E-03
  27  Prefactor     .63714        .14153        .64263E-05    .63319E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.295527
  Prefactor  = 2.2371e-08
  Prefactor  = 16.5672
  norm       = 5.19029e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 11.6049
  norm       = 0.412745
  Prefactor  = 3.49591
  Prefactor  = 18.8978
  norm       = 4.09479
  Prefactor  = 4.85794
  Prefactor  = 7.83629
  Prefactor  = 33.9707
  norm       = 1.0928
  norm       = 5.62175
  norm       = 0.761294
  Prefactor  = 20.9269
  Prefactor  = 9.27322
  Prefactor  = 0.569747
  Prefactor  = 19.8383
  Prefactor  = 9.99201e-10
  Prefactor  = 1.11022e-09
  norm       = 1.09524e-07
  norm       = 6.21725e-09
  Prefactor  = 30.8004
  Normalizat = 1.45752
  Prefactor  = 0.637142
 **********
 **   18 **HESSE 
 **********

 FCN=   8514.998     FROM HESSE     STATUS=OK           554 CALLS     2948 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29553        2.7699        .47168E-02   -1.5697    
   2  Prefactor     .22371E-07    5.7551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.567        15.757        .24718E-03   -1.5627    
   4  norm          .51903E-07    5.0776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    3.2538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.605        13.452        .29450E-03   -1.5640    
   7  norm          .41275        .58232        .88175E-04   -1.5695    
   8  Prefactor     3.4959        10.931        .54032E-03   -1.5671    
   9  Prefactor     18.898        17.059        .23002E-03   -1.5621    
  10  norm          4.0948        2.6099        .49824E-03   -1.5667    
  11  Prefactor     4.8579        8.2928        .45399E-03   -1.5664    
  12  Prefactor     7.8363        59.389        .40421E-03   -1.5652    
  13  Prefactor     33.971        7.9726        .17176E-03   -1.5591    
  14  norm          1.0928        3.9827        .11707E-02   -1.5687    
  15  norm          5.6218        2.3585        .42326E-03   -1.5661    
  16  norm          .76129        .46840        .55723E-03   -1.5691    
  17  Prefactor     20.927        22.348        .21798E-03   -1.5616    
  18  Prefactor     9.2732        7.7304        .33000E-03   -1.5647    
  19  Prefactor     .56975        6.5200        .71656E-03   -1.5693    
  20  Prefactor     19.838        36.033        .23153E-03   -1.5619    
  21  Prefactor     .99920E-09    29.440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .11102E-08    3.7358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10952E-06    5.5320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .62172E-08    4.4760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     30.800        32.968        .18366E-03   -1.5597    
  26  Normalizat    1.4575        .18914        .59707E-01   -.78979    
  27  Prefactor     .63714        .12253        .41545E-01   -1.0604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.38924e-07
Minuit parameter uncertainties:
  1  1.80952
  2  0.000717365
  3  15.7573
  4  0.00102694
  5  3.73717e-05
  6  13.4525
  7  0.582316
  8  10.9308
  9  17.0587
  10  2.60993
  11  8.29285
  12  43.1463
  13  7.97265
  14  3.98276
  15  2.35851
  16  0.468397
  17  22.3476
  18  7.73038
  19  3.85473
  20  36.0338
  21  0.0003401
  22  0.000129688
  23  0.00155697
  24  0.000333205
  25  32.9681
  26  0.189232
  27  0.122582
Done.

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

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  7.836e+00  4.315e+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:  6.371e-01  1.226e-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.458e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/63856/likelihoodResults_683337601_683596801_4FGL_J0806.5+4503_daily_bin1713.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) = 8514.99772268
delta logL = 2.91038304567e-11

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8514.99772268
delta logL = 5.63886715099e-11

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8363       1.0000          .0000       .10000E+07
     2 'Index     '    2.6069       1.0000          .0000       10.000    
     3 'Normalizat'    1.4575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63714       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=   8514.998     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      246 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8523        54.458        .14318E-04   -.29695E-03
   2  Index         2.6062        2.5975        .13871E-01    .15536E-04
   3  Normalizat    1.4575        .20345        .26405E-03    .25592E-02
   4  Prefactor     .63714        .13859        .26104E-03    .23428E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.85232
  Index      = 2.60622
  Normalizat = 1.45753
  Prefactor  = 0.637141
 **********
 **   18 **HESSE 
 **********

 FCN=   8514.998     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8523        51.214        .57274E-06   -1.5652    
   2  Index         2.6062        2.5274        .55485E-03   -.49924    
   3  Normalizat    1.4575        .20359        .52810E-04   -.78979    
   4  Prefactor     .63714        .13862        .52208E-04   -1.0604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0863e-09
Minuit parameter uncertainties:
  1  40.1077
  2  2.69319
  3  0.203707
  4  0.138692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63856': 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) = 8514.99772259
delta logL = 9.57388692768e-08

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  7.852e+00  4.011e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.606e+00  2.693e+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:  6.371e-01  1.387e-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.458e+00  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 121.628 45.060

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/63856/cmap_HighResolution_683337601_683596801_4FGL_J0806.5+4503_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', job_status='DONE', photon_flux_upper_limit='9.91e-08', time_completed='2022-09-16 13:56:11.060198', job_id='63856', GAL2='0.64', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1663361771.06', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='9.57e-08', ts2='0.05', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1713' AND source_name='4FGL J0806.5+4503' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:56:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 63856: <4FGL_J0806.5+4503_daily_bin1713> in cluster <slac> Done

Job <4FGL_J0806.5+4503_daily_bin1713> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:40:22 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:41:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:41:09 2022
Terminated at Fri Sep 16 13:56:11 2022
Results reported at Fri Sep 16 13:56:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0806.5+4503_daily_bin1713 121.628 45.0605 683337601 683596801 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 :                                   891.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            949 sec.

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

