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


Performing analysis on: 4FGL_J0805.4+6147_daily_bin1712
RA = 121.356, Dec = 61.7937
tmin = 683078401, tmax = 683337601
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='63825', job_status='RUN', time_executed='2022-09-16 13:41:46.390787', time_epoch_executed='1663360906.39' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63825

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63825/ft1_4FGL_J0805.4+6147_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63825/ft1_4FGL_J0805.4+6147_daily_bin1712.fits outfile=/scratch/kocevski/63825/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1712.fits ra=121.356 dec=61.7937 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.86
user 4.56
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.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/63825/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.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.35
sys 0.16

Number of photons that the gtmktime cut: 829

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/63825/ltcube_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.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/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits
.....................!
real 16.77
user 16.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/63825/ltcube_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.fits outfile=/scratch/kocevski/63825/expmap_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.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/63825/ltcube_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.fits
.....................!
real 194.90
user 189.30
sys 4.41

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

Setting source of interest to:
4FGL J0805.4+6147 @ 121.356 61.7937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.fits scfile=/scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits outfile=/scratch/kocevski/63825/cmap_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.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.356 yref=61.7937 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.59
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.fits scfile=/scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits outfile=/scratch/kocevski/63825/cmap_HighResolution_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.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.356 yref=61.7937 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.81
user 0.44
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/63825/Model_4FGL_J0805.4+6147_daily_bin1712.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/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.fits.....................!
real 97.37
user 95.73
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.fits', '/scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits', expMap='/scratch/kocevski/63825/expmap_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.fits', expCube='/scratch/kocevski/63825/ltcube_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/63825/Model_4FGL_J0805.4+6147_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.4+6147'

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/63825/ft1_filtered_4FGL_J0805.4+6147_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/63825/ft2_4FGL_J0805.4+6147_daily_bin1712.fits
Exposure map: /scratch/kocevski/63825/expmap_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.fits
Exposure cube: /scratch/kocevski/63825/ltcube_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/63825/Model_4FGL_J0805.4+6147_daily_bin1712.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) = 8818.8765723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48673E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19358E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45418E-03   1.0000          .0000       .10000E+07
     5 'norm      '    2.4056       1.0000          .0000       .10000E+07
     6 'Prefactor '    .29687E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .64557       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.2347       1.0000          .0000       .10000E+07
     9 'norm      '    .83956       1.0000          .0000       .10000E+07
    10 'norm      '    .23759E-06   1.0000          .0000       .10000E+07
    11 'norm      '    1.3740       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10908E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.424       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.8587       1.0000          .0000       .10000E+07
    15 'norm      '    2.9863       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.4202       1.0000          .0000       .10000E+07
    17 'Prefactor '    31.637       1.0000          .0000       .10000E+07
    18 'Prefactor '    33.731       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21252       1.0000          .0000       .10000E+07
    20 'norm      '    1.1471       1.0000          .0000       .10000E+07
    21 'Prefactor '    .18648E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    10.007       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1584       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87689       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8818.864     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1985 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        25.432       -.19788E-05** at limit **
   2  Prefactor     .88818E-09    14.706       -.16170E-05** at limit **
   3  Prefactor     4.2364        9.9565        .30467E-05   -.49794E-02
   4  Prefactor     .55511E-10    4.8317       -.44682E-06** at limit **
   5  norm          2.4049        .67407        .16438E-07    .11222E-01
   6  Prefactor     .17208E-08    16.520       -.79649E-06** at limit **
   7  norm          .64507        .74055       -.30597E-06   -.98039E-03
   8  Prefactor     5.1372        1.9223        .17375E-06    .12027E-01
   9  norm          .83336        2.1857        .39583E-06   -.15370E-03
  10  norm           .0000        1.2056        .30522E-06** at limit **
  11  norm          1.3740        1.3210       -.35846E-06    .32810E-02
  12  Prefactor     .55511E-10    .63748        .66957E-07** at limit **
  13  Prefactor     10.397        2.2676       -.25903E-06    .20715E-03
  14  Prefactor     3.7501        6.2285        .10379E-06   -.51435E-02
  15  norm          2.9932        1.9535        .22854E-07    .32670E-03
  16  Prefactor     9.4193        5.6222        .11123E-05    .50193E-01
  17  Prefactor     31.457        39.432       -.46596E-05    .33979E-02
  18  Prefactor     33.662        1.4844       -.51244E-07   -.11521E-01
  19  Prefactor     .23315E-08    44.157        .27455E-05** at limit **
  20  norm          1.1460        .80930       -.18287E-06    .46922E-02
  21  Prefactor      .0000        12.193       -.84203E-06** at limit **
  22  Prefactor     10.022        6.2933        .52698E-06   -.44270E-01
  23  Normalizat    1.1595        .19895        .97334E-05    .11922E-03
  24  Prefactor     .87670        .13229       -.30843E-06    .11155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 8.88178e-10
  Prefactor  = 4.23642
  Prefactor  = 5.55112e-11
  norm       = 2.40495
  Prefactor  = 1.72085e-09
  norm       = 0.645071
  Prefactor  = 5.13721
  norm       = 0.833357
  norm       = 0
  norm       = 1.37402
  Prefactor  = 5.55112e-11
  Prefactor  = 10.3971
  Prefactor  = 3.7501
  norm       = 2.9932
  Prefactor  = 9.41933
  Prefactor  = 31.4572
  Prefactor  = 33.6618
  Prefactor  = 2.33147e-09
  norm       = 1.14598
  Prefactor  = 0
  Prefactor  = 10.0215
  Normalizat = 1.15947
  Prefactor  = 0.8767
 **********
 **   18 **HESSE 
 **********

 FCN=   8818.864     FROM HESSE     STATUS=OK           457 CALLS     2442 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        25.315        .15594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    14.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.2364        10.158        .48867E-03   -1.5667    
   4  Prefactor     .55511E-10    4.8219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4049        .67395        .65985E-03   -1.5677    
   6  Prefactor     .17208E-08    16.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .64507        .75258        .65241E-03   -1.5692    
   8  Prefactor     5.1372        17.319        .43910E-03   -1.5663    
   9  norm          .83336        2.2037        .50032E-03   -1.5690    
  10  norm           .0000        1.2063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3740        1.3350        .92921E-03   -1.5685    
  12  Prefactor     .55511E-10    .63470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.397        10.415        .31009E-03   -1.5643    
  14  Prefactor     3.7501        6.9968        .51348E-03   -1.5669    
  15  norm          2.9932        1.9593        .58721E-03   -1.5673    
  16  Prefactor     9.4193        8.0693        .32628E-03   -1.5647    
  17  Prefactor     31.457        39.683        .17781E-03   -1.5596    
  18  Prefactor     33.662        16.101        .17220E-03   -1.5592    
  19  Prefactor     .23315E-08    43.662        .11557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.1460        .83455        .10818E-02   -1.5687    
  21  Prefactor      .0000        4.8228        .72286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.022        8.3324        .31651E-03   -1.5645    
  23  Normalizat    1.1595        .17304        .62062E-01   -.87865    
  24  Prefactor     .87670        .11416        .44710E-01   -.96960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10109e-06
Minuit parameter uncertainties:
  1  1.8052e-05
  2  0.000230326
  3  10.1582
  4  2.89515e-05
  5  0.67395
  6  0.000339503
  7  0.75258
  8  17.3193
  9  2.20373
  10  7.42234e-06
  11  1.33499
  12  9.65457e-06
  13  10.4151
  14  6.99681
  15  1.95928
  16  8.06935
  17  39.6831
  18  16.101
  19  0.000639945
  20  0.834553
  21  1.73348e-05
  22  8.33236
  23  0.17313
  24  0.114192
Done.

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

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  8.334e-01  2.204e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  8.767e-01  1.142e-01  0.000e+00  1.000e+01 ( 1.000e+00)
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.159e+00  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 121.356 61.794
Photon Flux Upper Limit: 8.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/63825/likelihoodResults_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.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) = 8818.27075098
delta logL = 0.593082555244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8818.25580614
delta logL = 0.608027396353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63359       1.0000          .0000       .10000E+07
     2 'alpha     '    4.7279       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1028       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90143       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+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=   8818.256     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      251 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63385        2.5105        .65455E-05    .39281E-01
   2  alpha         4.7284        4.5320        .85474E-01    .18468E-04
   3  Normalizat    1.1029        .19471        .28065E-03    .60269E-03
   4  Prefactor     .90136        .13343        .21547E-03    .58128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.633847
  alpha      = 4.72836
  Normalizat = 1.10292
  Prefactor  = 0.901364
 **********
 **   18 **HESSE 
 **********

 FCN=   8818.256     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63385        1.6399        .26182E-06   -1.5692    
   2  alpha         4.7284        4.7446        .34190E-02    1.1003    
   3  Normalizat    1.1029        .19486        .56129E-04   -.89658    
   4  Prefactor     .90136        .13375        .43093E-04   -.96093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03121e-09
Minuit parameter uncertainties:
  1  1.63992
  2  2.52741
  3  0.19499
  4  0.133794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63825': 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) = 8818.25580544
delta logL = 0.608028101709

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  6.338e-01  1.640e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  4.728e+00  2.527e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  9.014e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.103e+00  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 121.356 61.794
Photon Index (Free Index): 4.73 +/- 2.53
Photon Flux (Free Index): 5.21e-08 +/- 4.89e-08
Energy Flux (Free Index): 7.27e-06 +/- 7.06e-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/63825/cmap_HighResolution_683078401_683337601_4FGL_J0805.4+6147_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-05', comment='SUCCESS', energy_flux2='7.27e-06', dlogl='6.08e-01', photon_flux2='5.21e-08', job_status='DONE', time_completed='2022-09-16 13:56:59.049163', photon_index_error2='2.53', photon_index2='4.73', ts='0.17', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='8.58e-08', energy_flux_error2='7.06e-06', EG='1.16', time_epoch_completed='1663361819.05', return_code='0', job_id='63825', GAL2='0.90', EG2='1.10', return_code2='0', photon_flux_error2='4.89e-08', ts2='1.48', photon_index='2.63' WHERE bin_id='1712' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:56:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 63825: <4FGL_J0805.4+6147_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1712> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:40:20 2022
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:40:44 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:44 2022
Terminated at Fri Sep 16 13:56:59 2022
Results reported at Fri Sep 16 13:56:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1712 121.356 61.7937 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.4+6147 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   911.52 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             355.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   975 sec.
    Turnaround time :                            999 sec.

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

