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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1714
RA = 121.3, Dec = -1.181
tmin = 683596801, tmax = 683856001
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='63811', job_status='RUN', time_executed='2022-09-16 13:44:38.877854', time_epoch_executed='1663361078.88' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63811/ft1_4FGL_J0805.2-0110_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63811/ft1_4FGL_J0805.2-0110_daily_bin1714.fits outfile=/scratch/kocevski/63811/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1714.fits ra=121.3 dec=-1.181 rad=12.0 tmin=683596801.0 tmax=683856001.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.54
user 3.28
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.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/63811/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 964

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/63811/ltcube_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.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/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits
.....................!
real 15.10
user 14.56
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/63811/ltcube_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.fits outfile=/scratch/kocevski/63811/expmap_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.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/63811/ltcube_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.fits
.....................!
real 192.25
user 186.70
sys 4.89

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J0805.2-0110 @ 121.3 -1.181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits scfile=/scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits outfile=/scratch/kocevski/63811/cmap_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.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.3 yref=-1.181 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.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits scfile=/scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits outfile=/scratch/kocevski/63811/cmap_HighResolution_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.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.3 yref=-1.181 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.61
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/63811/Model_4FGL_J0805.2-0110_daily_bin1714.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/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits.....................!
real 128.61
user 126.55
sys 1.69

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits', '/scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits', expMap='/scratch/kocevski/63811/expmap_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.fits', expCube='/scratch/kocevski/63811/ltcube_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/63811/Model_4FGL_J0805.2-0110_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.2-0110'

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  3.803e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/63811/ft1_filtered_4FGL_J0805.2-0110_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/63811/ft2_4FGL_J0805.2-0110_daily_bin1714.fits
Exposure map: /scratch/kocevski/63811/expmap_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.fits
Exposure cube: /scratch/kocevski/63811/ltcube_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/63811/Model_4FGL_J0805.2-0110_daily_bin1714.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) = 10241.3377836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23893E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    21.914       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34114E-01   1.0000          .0000       .10000E+07
     4 'norm      '    7.1519       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11921E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .87683E-04   1.0000          .0000       .10000E+07
     7 'norm      '    3.0870       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.6744       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.6626       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55733E-01   1.0000          .0000       .10000E+07
    11 'norm      '    10.811       1.0000          .0000       .10000E+07
    12 'norm      '    .47962E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42254E-03   1.0000          .0000       .10000E+07
    14 'norm      '    6.7320       1.0000          .0000       .10000E+07
    15 'norm      '    6.6871       1.0000          .0000       .10000E+07
    16 'norm      '    2.9777       1.0000          .0000       .10000E+07
    17 'Prefactor '    .19408E-03   1.0000          .0000       .10000E+07
    18 'norm      '    5.7234       1.0000          .0000       .10000E+07
    19 'Prefactor '    8.8766       1.0000          .0000       .10000E+07
    20 'norm      '    .36769       1.0000          .0000       .10000E+07
    21 'norm      '    11.699       1.0000          .0000       .10000E+07
    22 'Normalizat'    .76569       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0850       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10241.30     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1458 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48850E-08    17.206       -.10669E-05** at limit **
   2  Prefactor     21.884        1.5785       -.19611E-06    .61795E-01
   3  Prefactor     .79936E-07    28.791        .61791E-05** at limit **
   4  norm          7.1531        1.9913       -.12776E-07    .17580E-01
   5  Prefactor     .15155E-07    13.945        .58936E-06** at limit **
   6  norm          .33307E-09    6.1412       -.34164E-06** at limit **
   7  norm          3.0861        2.2674        .10217E-08   -.27917E-02
   8  Prefactor     1.7581        6.5926       -.31052E-05   -.12000E-01
   9  Prefactor     1.7245        6.3887       -.17309E-06    .69825E-02
  10  Prefactor     .95235E-06    3.3330        .23249E-05** at limit **
  11  norm          10.774        2.6960        .50907E-06   -.49588E-01
  12  norm          .55511E-10    1.4522        .35327E-06** at limit **
  13  Prefactor     .10492E-07    3.8214        .96929E-07** at limit **
  14  norm          6.7327        1.3736        .20425E-07    .20634E-01
  15  norm          6.7466        1.0965       -.12154E-06    .10379E-01
  16  norm          2.9783        3.0627       -.14978E-06    .13906E-01
  17  Prefactor     .17208E-08    3.4937       -.30396E-06** at limit **
  18  norm          5.7233        1.9161        .29090E-06   -.31405E-01
  19  Prefactor     8.8737        1.0506        .70629E-07   -.91812E-02
  20  norm          .36722        .46512        .54660E-07    .29180E-02
  21  norm          11.657        3.7390        .95220E-06    .88106E-02
  22  Normalizat    .76557        .17897        .21034E-05    .47688E-03
  23  Prefactor     1.0850        .97223E-01    .72762E-06    .53367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.88498e-09
  Prefactor  = 21.8844
  Prefactor  = 7.99361e-08
  norm       = 7.15308
  Prefactor  = 1.51545e-08
  norm       = 3.33067e-10
  norm       = 3.08608
  Prefactor  = 1.75812
  Prefactor  = 1.72451
  Prefactor  = 9.52349e-07
  norm       = 10.7737
  norm       = 5.55112e-11
  Prefactor  = 1.04916e-08
  norm       = 6.7327
  norm       = 6.74657
  norm       = 2.97825
  Prefactor  = 1.72085e-09
  norm       = 5.72327
  Prefactor  = 8.87374
  norm       = 0.367222
  norm       = 11.6566
  Normalizat = 0.765568
  Prefactor  = 1.08497
 **********
 **   18 **HESSE 
 **********

 FCN=   10241.30     FROM HESSE     STATUS=OK           426 CALLS     1884 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48850E-08    17.245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.884        12.740        .21368E-03   -1.5614    
   3  Prefactor     .79936E-07    30.579        .16241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.1531        1.9906        .37485E-03   -1.5654    
   5  Prefactor     .15155E-07    14.049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .33307E-09    6.1370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0861        2.2655        .57699E-03   -1.5673    
   8  Prefactor     1.7581        7.9117        .81413E-03   -1.5681    
   9  Prefactor     1.7245        7.1199        .81775E-03   -1.5682    
  10  Prefactor     .95235E-06    54.468        .15319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.774        10.086        .30446E-03   -1.5642    
  12  norm          .55511E-10    1.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10492E-07    3.8945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.7327        1.3778        .38649E-03   -1.5656    
  15  norm          6.7466        13.480        .38780E-03   -1.5656    
  16  norm          2.9783        3.0940        .58811E-03   -1.5673    
  17  Prefactor     .17208E-08    3.5367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.7233        14.998        .41961E-03   -1.5660    
  19  Prefactor     8.8737        10.186        .33618E-03   -1.5648    
  20  norm          .36722        .60464        .17976E-02   -1.5696    
  21  norm          11.657        7.1738        .29264E-03   -1.5640    
  22  Normalizat    .76557        .17392        .86606E-01   -1.0136    
  23  Prefactor     1.0850        .91421E-01    .38186E-01   -.89948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3193e-07
Minuit parameter uncertainties:
  1  0.000579884
  2  12.7399
  3  0.00312644
  4  1.99057
  5  0.000922886
  6  8.73109e-05
  7  2.26548
  8  7.45915
  9  7.00808
  10  0.0144048
  11  10.0855
  12  1.74172e-05
  13  0.000404808
  14  1.37776
  15  13.4801
  16  3.09395
  17  0.00015606
  18  14.998
  19  10.1855
  20  0.604639
  21  7.17376
  22  0.174047
  23  0.0914344
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.077e+01  1.009e+01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.085e+00  9.143e-02  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  7.656e-01  1.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 121.300 -1.181
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 3.84e-08 +/- 3.59e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.15e-05

TS (Fixed Index): 1.83
Ra Dec: 121.300 -1.181
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/63811/likelihoodResults_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.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) = 10239.7426606
delta logL = 1.55425982668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10239.7411893
delta logL = 1.5557310667

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0900       1.0000          .0000       .10000E+07
     2 'alpha     '    3.6541       1.0000          .0000       5.0000    
     3 'Normalizat'    .69641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1050       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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=   10239.74     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      275 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0901        8.7570        .12647E-04   -.23013E-02
   2  alpha         3.6541        1.0387        .16690E-01   -.11419E-04
   3  Normalizat    .69635        .18144        .40026E-03    .44082E-04
   4  Prefactor     1.1051        .97359E-01    .17759E-03    .97306E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.09013
  alpha      = 3.65408
  Normalizat = 0.696347
  Prefactor  = 1.10506
 **********
 **   18 **HESSE 
 **********

 FCN=   10239.74     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0901        6.7440        .50587E-06   -1.5659    
   2  alpha         3.6541        .81241        .66761E-03    .47983    
   3  Normalizat    .69635        .18159        .16010E-04   -1.0404    
   4  Prefactor     1.1051        .97338E-01    .35518E-04   -.89305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73865e-11
Minuit parameter uncertainties:
  1  6.744
  2  0.831775
  3  0.181748
  4  0.0973536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63811': 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) = 10239.7411893
delta logL = 1.55573114809

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  6.090e+00  6.744e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  3.654e+00  8.318e-01  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  1.330e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.105e+00  9.735e-02  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  6.963e-01  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.23
Ra Dec: 121.300 -1.181
Photon Index (Free Index): 3.65 +/- 0.83
Photon Flux (Free Index): 9.91e-08 +/- 5.55e-08
Energy Flux (Free Index): 1.67e-05 +/- 9.16e-06

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/63811/cmap_HighResolution_683596801_683856001_4FGL_J0805.2-0110_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', comment='SUCCESS', photon_flux='3.84e-08', energy_flux2='1.67e-05', photon_flux_error='3.59e-08', dlogl='1.56e+00', energy_flux='1.23e-05', photon_flux2='9.91e-08', job_status='DONE', time_completed='2022-09-16 13:56:50.584014', photon_index_error2='0.83', photon_index2='3.65', ts='1.83', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='9.16e-06', EG='0.77', time_epoch_completed='1663361810.58', return_code='0', job_id='63811', GAL2='1.11', EG2='0.70', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='5.55e-08', ts2='5.23', photon_index='2.35' WHERE bin_id='1714' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:56:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 63811: <4FGL_J0805.2-0110_daily_bin1714> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1714> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:40:18 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:40:41 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:40:41 2022
Terminated at Fri Sep 16 13:56:51 2022
Results reported at Fri Sep 16 13:56:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1714 121.3 -1.181 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.2-0110 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   732.59 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             304.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            993 sec.

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

