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


Performing analysis on: 4FGL_J0805.4+6147_daily_bin1779
RA = 121.356, Dec = 61.7937
tmin = 700444801, tmax = 700704001
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='12709', job_status='RUN', time_executed='2023-03-17 00:50:52.113790', time_epoch_executed='1679039452.11' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12709

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12709/ft1_4FGL_J0805.4+6147_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12709/ft2_4FGL_J0805.4+6147_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12709/ft1_4FGL_J0805.4+6147_daily_bin1779.fits outfile=/scratch/kocevski/12709/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1779.fits ra=121.356 dec=61.7937 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.39
user 5.15
sys 0.21

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

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

Number of photons that the gtmktime cut: 911

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12709/ft1_filtered_4FGL_J0805.4+6147_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/12709/ft2_4FGL_J0805.4+6147_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/12709/ltcube_700444801_700704001_4FGL_J0805.4+6147_daily_bin1779.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/12709/ft2_4FGL_J0805.4+6147_daily_bin1779.fits
.....................!
real 11.77
user 11.45
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12709/ft1_filtered_4FGL_J0805.4+6147_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/12709/ft2_4FGL_J0805.4+6147_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/12709/ltcube_700444801_700704001_4FGL_J0805.4+6147_daily_bin1779.fits outfile=/scratch/kocevski/12709/expmap_700444801_700704001_4FGL_J0805.4+6147_daily_bin1779.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/12709/ltcube_700444801_700704001_4FGL_J0805.4+6147_daily_bin1779.fits
.....................!
real 190.38
user 184.99
sys 5.09

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/12709/ft1_filtered_4FGL_J0805.4+6147_daily_bin1779.fits scfile=/scratch/kocevski/12709/ft2_4FGL_J0805.4+6147_daily_bin1779.fits outfile=/scratch/kocevski/12709/cmap_700444801_700704001_4FGL_J0805.4+6147_daily_bin1779.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12709/ft1_filtered_4FGL_J0805.4+6147_daily_bin1779.fits scfile=/scratch/kocevski/12709/ft2_4FGL_J0805.4+6147_daily_bin1779.fits outfile=/scratch/kocevski/12709/cmap_HighResolution_700444801_700704001_4FGL_J0805.4+6147_daily_bin1779.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2269       1.0000          .0000       .10000E+07
     2 'Prefactor '    .75181E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .65199E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.7077       1.0000          .0000       .10000E+07
     5 'norm      '    2.6146       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.0837       1.0000          .0000       .10000E+07
     7 'norm      '    8.6542       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15833E-03   1.0000          .0000       .10000E+07
     9 'norm      '    4.4550       1.0000          .0000       .10000E+07
    10 'norm      '    .24465E-02   1.0000          .0000       .10000E+07
    11 'norm      '    2.1905       1.0000          .0000       .10000E+07
    12 'Prefactor '    .23204E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .26199E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.5788       1.0000          .0000       .10000E+07
    15 'norm      '    8.8987       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.9224       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13297E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    11.858       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25959E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .65049       1.0000          .0000       .10000E+07
    21 'Prefactor '    .45784E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .36454E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .96962       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87342       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=   9534.936     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1527 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40935        551.67       -.24894E-05    .17244E-03
   2  Prefactor     .23481E-07    4.1999        .12391E-06** at limit **
   3  Prefactor     .16653E-09    2.5820       -.33697E-06** at limit **
   4  Prefactor     7.7095        1.5867       -.14377E-08   -.83056E-01
   5  norm          2.6143        .71870        .10478E-08    .21738E-02
   6  Prefactor     3.0707        1.3231        .13429E-07   -.31716E-02
   7  norm          8.6526        1.3490        .67393E-08    .18161E-02
   8  Prefactor     .13323E-07    10.792        .15363E-06** at limit **
   9  norm          4.4514        2.4984       -.39122E-07   -.24540E-03
  10  norm          .10325E-06    1.0830       -.17533E-07** at limit **
  11  norm          2.1887        1.5381       -.17653E-07   -.44272E-03
  12  Prefactor      .0000        .35070       -.72127E-07** at limit **
  13  Prefactor     .55511E-10    3.3941        .79054E-07** at limit **
  14  Prefactor     8.6814        6.4103       -.18555E-06   -.44687E-02
  15  norm          8.8954        2.4352        .22356E-08    .47671E-03
  16  Prefactor     1.9021        3.2215        .44527E-07    .31231E-03
  17  Prefactor     .55511E-09    6.0272        .27850E-06** at limit **
  18  Prefactor     11.793        2.2502       -.10475E-07    .24945E-01
  19  Prefactor     .17208E-08    9.4729       -.22940E-06** at limit **
  20  norm          .65091        .47975       -.14786E-07   -.16096E-02
  21  Prefactor     .11102E-09    2.8370       -.11897E-06** at limit **
  22  Prefactor     .51070E-08    2.8464        .15844E-06** at limit **
  23  Normalizat    .96944        .18594        .32214E-05    .56325E-04
  24  Prefactor     .87376        .12466       -.58912E-06    .75326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.40935
  Prefactor  = 2.34812e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 7.7095
  norm       = 2.61429
  Prefactor  = 3.07068
  norm       = 8.65258
  Prefactor  = 1.33227e-08
  norm       = 4.45143
  norm       = 1.03251e-07
  norm       = 2.18867
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 8.68145
  norm       = 8.89543
  Prefactor  = 1.90206
  Prefactor  = 5.55112e-10
  Prefactor  = 11.793
  Prefactor  = 1.72085e-09
  norm       = 0.650911
  Prefactor  = 1.11022e-10
  Prefactor  = 5.10703e-09
  Normalizat = 0.969437
  Prefactor  = 0.873755
 **********
 **   18 **HESSE 
 **********

 FCN=   9534.936     FROM HESSE     STATUS=OK           461 CALLS     1988 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40935        26.573        .14843E-01   -1.5695    
   2  Prefactor     .23481E-07    6.9769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    2.5949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7095        8.8400        .36096E-03   -1.5652    
   5  norm          2.6143        .71940        .63055E-03   -1.5676    
   6  Prefactor     3.0707        19.703        .57731E-03   -1.5673    
   7  norm          8.6526        1.3635        .34050E-03   -1.5649    
   8  Prefactor     .13323E-07    11.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4514        2.4990        .47683E-03   -1.5666    
  10  norm          .10325E-06    2.2673        .53048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1887        1.5705        .69509E-03   -1.5678    
  12  Prefactor      .0000        .34976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    3.4072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.6814        6.5043        .34200E-03   -1.5649    
  15  norm          8.8954        2.4298        .33576E-03   -1.5648    
  16  Prefactor     1.9021        3.2448        .74908E-03   -1.5680    
  17  Prefactor     .55511E-09    6.2405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.793        11.770        .29066E-03   -1.5639    
  19  Prefactor     .17208E-08    10.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .65091        .48434        .64822E-03   -1.5692    
  21  Prefactor     .11102E-09    2.8514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .51070E-08    7.0638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96944        .16225        .65838E-01   -.94061    
  24  Prefactor     .87376        .10843        .44665E-01   -.97064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34666e-08
Minuit parameter uncertainties:
  1  6.59634
  2  0.000809555
  3  4.21792e-05
  4  8.83999
  5  0.719397
  6  15.5565
  7  1.36348
  8  0.000769826
  9  2.49897
  10  0.000967612
  11  1.57046
  12  1.77179e-06
  13  2.20793e-05
  14  6.50432
  15  2.42976
  16  3.24481
  17  0.000115439
  18  11.77
  19  0.000262674
  20  0.484343
  21  3.96726e-05
  22  0.000378871
  23  0.162336
  24  0.108458
Done.

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

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  4.451e+00  2.499e+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.738e-01  1.085e-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:  9.694e-01  1.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.01
Ra Dec: 121.356 61.794
Photon Index (Fixed Index): 2.63 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 3.59e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 8.40e-06

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) = 9534.68803158
delta logL = 0.248106147192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9534.684666
delta logL = 0.251471735215

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6605       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1734       1.0000          .0000       5.0000    
     3 'Normalizat'    .99253       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86100       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=   9534.685     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6599        3.2745        .46594E-03    .35099E-02
   2  alpha         2.1730        .63785        .41604       -.32155E-04
   3  Normalizat    .99259        .15552        .46073E-01    .23047E-04
   4  Prefactor     .86097        .11062        .44506E-01    .13365E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.65992
  alpha      = 2.173
  Normalizat = 0.99259
  Prefactor  = 0.860966
 **********
 **   18 **HESSE 
 **********

 FCN=   9534.685     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6599        2.6740        .11394E-04   -1.5665    
   2  alpha         2.1730        .60325        .19664E-01   -.13118    
   3  Normalizat    .99259        .17710        .28792E-03   -.93279    
   4  Prefactor     .86097        .12469        .21770E-03   -.97519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00092e-09
Minuit parameter uncertainties:
  1  2.67404
  2  0.609372
  3  0.177202
  4  0.124735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12709': 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) = 9534.68466573
delta logL = 0.251472004278

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  4.660e+00  2.674e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.173e+00  6.094e-01  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:  8.610e-01  1.247e-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:  9.926e-01  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.45
Ra Dec: 121.356 61.794
Photon Index (Free Index): 2.17 +/- 0.61
Photon Flux (Free Index): 5.22e-08 +/- 3.52e-08
Energy Flux (Free Index): 1.66e-05 +/- 9.66e-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/12709/cmap_HighResolution_700444801_700704001_4FGL_J0805.4+6147_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.66e-05', photon_flux_error='3.59e-08', dlogl='2.51e-01', energy_flux='1.50e-05', photon_flux2='5.22e-08', job_status='DONE', time_completed='2023-03-17 01:03:39.607731', photon_index_error2='0.61', photon_index2='2.17', ts='5.01', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.97', time_epoch_completed='1679040219.61', return_code='0', job_id='12709', GAL2='0.86', EG2='0.99', return_code2='0', energy_flux_error='8.40e-06', photon_flux_error2='3.52e-08', ts2='5.45', photon_index='2.63' WHERE bin_id='1779' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:03:39 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 12709: <4FGL_J0805.4+6147_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 00:50:20 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 00:50:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 00:50:22 2023
Terminated at Fri Mar 17 01:03:40 2023
Results reported at Fri Mar 17 01:03:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1779 121.356 61.7937 700444801 700704001 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 :                                   769.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             372.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            800 sec.

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

