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


Performing analysis on: 4FGL_J0805.4+6147_daily_bin1774
RA = 121.356, Dec = 61.7937
tmin = 699148801, tmax = 699408001
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='673332', job_status='RUN', time_executed='2023-03-02 00:08:14.724042', time_epoch_executed='1677744494.72' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673332

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673332/ft1_4FGL_J0805.4+6147_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673332/ft1_4FGL_J0805.4+6147_daily_bin1774.fits outfile=/scratch/kocevski/673332/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1774.fits ra=121.356 dec=61.7937 rad=12.0 tmin=699148801.0 tmax=699408001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.90
user 2.60
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.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/673332/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/673332/ft1_filtered_4FGL_J0805.4+6147_daily_bin1774.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.55
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 606

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/673332/ft1_filtered_4FGL_J0805.4+6147_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/673332/ltcube_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.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/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.fits
.....................!
real 12.49
user 12.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673332/ft1_filtered_4FGL_J0805.4+6147_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/673332/ltcube_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.fits outfile=/scratch/kocevski/673332/expmap_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.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/673332/ltcube_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.fits
.....................!
real 190.55
user 185.35
sys 4.65

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/673332/ft1_filtered_4FGL_J0805.4+6147_daily_bin1774.fits scfile=/scratch/kocevski/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.fits outfile=/scratch/kocevski/673332/cmap_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/673332/ft1_filtered_4FGL_J0805.4+6147_daily_bin1774.fits scfile=/scratch/kocevski/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.fits outfile=/scratch/kocevski/673332/cmap_HighResolution_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.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 0.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/673332/ft1_filtered_4FGL_J0805.4+6147_daily_bin1774.fits', '/scratch/kocevski/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.fits', expMap='/scratch/kocevski/673332/expmap_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.fits', expCube='/scratch/kocevski/673332/ltcube_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/673332/Model_4FGL_J0805.4+6147_daily_bin1774.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/673332/ft1_filtered_4FGL_J0805.4+6147_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/673332/ft2_4FGL_J0805.4+6147_daily_bin1774.fits
Exposure map: /scratch/kocevski/673332/expmap_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.fits
Exposure cube: /scratch/kocevski/673332/ltcube_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/673332/Model_4FGL_J0805.4+6147_daily_bin1774.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) = 6488.83376465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55009E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.4087       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13559E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .94225E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.6942       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16368E-02   1.0000          .0000       .10000E+07
     7 'norm      '    3.5788       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22533E-02   1.0000          .0000       .10000E+07
     9 'norm      '    1.7052       1.0000          .0000       .10000E+07
    10 'norm      '    2.3352       1.0000          .0000       .10000E+07
    11 'norm      '    .28327E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .43465E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15497E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16137E-02   1.0000          .0000       .10000E+07
    15 'norm      '    20.313       1.0000          .0000       .10000E+07
    16 'Prefactor '    .28079       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21411E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    954.74       1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0370       1.0000          .0000       .10000E+07
    20 'norm      '    44.550       1.0000          .0000       .10000E+07
    21 'Prefactor '    .23300E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .45960E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1588       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78354       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=   6488.815     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2631 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13767E-07    7.3665       -.11376E-06** at limit **
   2  Prefactor     2.0163        33.705       -.45401E-05   -.94546E-02
   3  Prefactor      .0000        4.0739       -.11027E-05** at limit **
   4  Prefactor     .33196E-07    6.8676        .59996E-06** at limit **
   5  norm          1.6937        .54302        .15147E-06   -.10351E-01
   6  Prefactor     .52680E-07    4.8290       -.16573E-05** at limit **
   7  norm          3.5754        1.5366        .13648E-06    .11265E-01
   8  Prefactor     .47262E-06    3.1816       -.65075E-06** at limit **
   9  norm          1.7027        3.1229       -.45147E-07   -.18388E-02
  10  norm          2.3353        5.9978        .19792E-06    .13720E-02
  11  norm          .48128E-07    1.9666       -.10408E-06** at limit **
  12  Prefactor      .0000        1.1425        .62270E-07** at limit **
  13  Prefactor     .35788E-06    6.1044        .27003E-05** at limit **
  14  Prefactor     .77272E-07    4.7502       -.16222E-05** at limit **
  15  norm          20.286        3.6454       -.42010E-06   -.13853E-02
  16  Prefactor     .49122E-06    2.8338        .18920E-05** at limit **
  17  Prefactor     .15404E-06    3.4127        .96493E-06** at limit **
  18  Prefactor     954.67        10.944       -.17784E-06    .95499    
  19  Prefactor     8.4791        18.607        .24854E-05    .17775E-01
  20  norm          44.081        4.6427       -.22376E-06   -.33571E-01
  21  Prefactor     .14599E-07    6.6708        .18045E-05** at limit **
  22  Prefactor     .72720E-08    7.5104       -.11617E-06** at limit **
  23  Normalizat    1.1598        .26165        .89222E-05    .81402E-04
  24  Prefactor     .78349        .16066        .41345E-06    .11166E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37668e-08
  Prefactor  = 2.01632
  Prefactor  = 0
  Prefactor  = 3.31957e-08
  norm       = 1.69371
  Prefactor  = 5.26801e-08
  norm       = 3.57541
  Prefactor  = 4.72622e-07
  norm       = 1.70269
  norm       = 2.33531
  norm       = 4.81282e-08
  Prefactor  = 0
  Prefactor  = 3.5788e-07
  Prefactor  = 7.72715e-08
  norm       = 20.2858
  Prefactor  = 4.91218e-07
  Prefactor  = 1.54043e-07
  Prefactor  = 954.667
  Prefactor  = 8.47905
  norm       = 44.0808
  Prefactor  = 1.45994e-08
  Prefactor  = 7.27196e-09
  Normalizat = 1.15984
  Prefactor  = 0.783494
 **********
 **   18 **HESSE 
 **********

 FCN=   6488.815     FROM HESSE     STATUS=OK           447 CALLS     3078 TOTAL
                     EDM=   .44E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13767E-07    16.533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0163        76.570        .65939E-03   -1.5680    
   3  Prefactor      .0000        4.1151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33196E-07    6.9629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6937        .54717        .73116E-03   -1.5682    
   6  Prefactor     .52680E-07    12.436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5754        1.5291        .53395E-03   -1.5670    
   8  Prefactor     .47262E-06    11.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7027        3.1698        .80499E-03   -1.5682    
  10  norm          2.3353        6.1060        .67075E-03   -1.5677    
  11  norm          .48128E-07    18.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .55262        .22361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .35788E-06    9.4642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .77272E-07    12.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          20.286        3.8463        .22195E-03   -1.5618    
  16  Prefactor     .49122E-06    56.234        .10485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15404E-06    10.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     954.67        676.13        .32379E-04   -1.5090    
  19  Prefactor     8.4791        27.226        .35343E-03   -1.5650    
  20  norm          44.081        22.381        .14984E-03   -1.5575    
  21  Prefactor     .14599E-07    6.7101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .72720E-08    16.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1598        .22709        .68556E-01   -.87853    
  24  Prefactor     .78349        .13786        .43503E-01   -1.0034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000437982
Minuit parameter uncertainties:
  1  0.000953241
  2  24.851
  3  5.69193e-06
  4  0.000961865
  5  0.547172
  6  0.00161914
  7  1.52908
  8  0.00458021
  9  3.16979
  10  6.10599
  11  0.0018736
  12  6.44701e-07
  13  0.00368071
  14  0.00196579
  15  3.84628
  16  0.0105119
  17  0.00250318
  18  676.188
  19  27.2269
  20  22.3812
  21  0.000626531
  22  0.000692754
  23  0.227281
  24  0.137919
Done.

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

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.703e+00  3.170e+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:  7.835e-01  1.379e-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.160e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.44
Ra Dec: 121.356 61.794
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.52e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/673332/likelihoodResults_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.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) = 6488.72772183
delta logL = 0.0868025869349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6488.72330456
delta logL = 0.0912198611331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7961       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5637       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79493       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.

 FCN=   6488.723     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      236 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7938        126.98        .77991E-03   -.18676E-02
   2  alpha         3.5630        3.9004        .47278       -.10082E-04
   3  Normalizat    1.1327        .86922E-01    .69262E-01   -.71149E-03
   4  Prefactor     .79474        .55285E-01    .43651E-01   -.41974E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.79381
  alpha      = 3.56301
  Normalizat = 1.13268
  Prefactor  = 0.794736
 **********
 **   18 **HESSE 
 **********

 FCN=   6488.723     FROM HESSE     STATUS=OK            29 CALLS      265 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7938        3.3797        .14913E-04   -1.5681    
   2  alpha         3.5630        3.8166        .60144E-01    .43919    
   3  Normalizat    1.1327        .26358        .30645E-03   -.88709    
   4  Prefactor     .79474        .16268        .22744E-03   -.99923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46411e-09
Minuit parameter uncertainties:
  1  3.37975
  2  2.53027
  3  0.263892
  4  0.16278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673332': 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) = 6488.72330338
delta logL = 0.0912210334636

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.794e+00  3.380e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  3.563e+00  2.530e+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:  7.947e-01  1.628e-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.133e+00  2.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
Ra Dec: 121.356 61.794

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/673332/cmap_HighResolution_699148801_699408001_4FGL_J0805.4+6147_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.52e-05', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2023-03-02 00:21:29.133078', job_id='673332', GAL2='0.79', fit_tolerance='1e-08', EG2='1.13', EG='1.16', time_epoch_completed='1677745289.13', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='9.12e-02', ts2='0.64', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1774' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:21:29 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 673332: <4FGL_J0805.4+6147_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1774> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Mar  2 00:05:58 2023
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:07:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:07:16 2023
Terminated at Thu Mar  2 00:21:29 2023
Results reported at Thu Mar  2 00:21:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1774 121.356 61.7937 699148801 699408001 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 :                                   788.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            931 sec.

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

