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


Performing analysis on: 4FGL_J0805.4+6147_daily_bin1750
RA = 121.356, Dec = 61.7937
tmin = 692928001, tmax = 693187201
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='3555', job_status='RUN', time_executed='2022-12-20 00:27:18.806928', time_epoch_executed='1671524838.81' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3555

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3555/ft1_4FGL_J0805.4+6147_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3555/ft2_4FGL_J0805.4+6147_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3555/ft1_4FGL_J0805.4+6147_daily_bin1750.fits outfile=/scratch/kocevski/3555/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1750.fits ra=121.356 dec=61.7937 rad=12.0 tmin=692928001.0 tmax=693187201.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.44
user 3.22
sys 0.21

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

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

Number of photons that the gtmktime cut: 811

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3555/ft1_filtered_4FGL_J0805.4+6147_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/3555/ft2_4FGL_J0805.4+6147_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/3555/ltcube_692928001_693187201_4FGL_J0805.4+6147_daily_bin1750.fits outfile=/scratch/kocevski/3555/expmap_692928001_693187201_4FGL_J0805.4+6147_daily_bin1750.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/3555/ltcube_692928001_693187201_4FGL_J0805.4+6147_daily_bin1750.fits
.....................!
real 192.44
user 186.43
sys 5.66

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/3555/ft1_filtered_4FGL_J0805.4+6147_daily_bin1750.fits scfile=/scratch/kocevski/3555/ft2_4FGL_J0805.4+6147_daily_bin1750.fits outfile=/scratch/kocevski/3555/cmap_692928001_693187201_4FGL_J0805.4+6147_daily_bin1750.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3555/ft1_filtered_4FGL_J0805.4+6147_daily_bin1750.fits scfile=/scratch/kocevski/3555/ft2_4FGL_J0805.4+6147_daily_bin1750.fits outfile=/scratch/kocevski/3555/cmap_HighResolution_692928001_693187201_4FGL_J0805.4+6147_daily_bin1750.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21937E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17319E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16065E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26511E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .93783       1.0000          .0000       .10000E+07
     6 'Prefactor '    23.603       1.0000          .0000       .10000E+07
     7 'norm      '    .36522       1.0000          .0000       .10000E+07
     8 'Prefactor '    .57313       1.0000          .0000       .10000E+07
     9 'norm      '    .62782       1.0000          .0000       .10000E+07
    10 'norm      '    4.3559       1.0000          .0000       .10000E+07
    11 'norm      '    2.1087       1.0000          .0000       .10000E+07
    12 'Prefactor '    .52292E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0179       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7336       1.0000          .0000       .10000E+07
    15 'norm      '    1.2301       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.4117       1.0000          .0000       .10000E+07
    17 'Prefactor '    24.679       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.8472       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.3485       1.0000          .0000       .10000E+07
    20 'norm      '    2.1693       1.0000          .0000       .10000E+07
    21 'Prefactor '    17.441       1.0000          .0000       .10000E+07
    22 'Prefactor '    6.2764       1.0000          .0000       .10000E+07
    23 'Normalizat'    .75821       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2479       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=   8729.058     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1947 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-09    30.011       -.32421E-06** at limit **
   2  Prefactor     .60507E-08    44.889        .10032E-05** at limit **
   3  Prefactor     .55511E-08    7.4518       -.12298E-05** at limit **
   4  Prefactor     .98255E-08    14.887        .29247E-06** at limit **
   5  norm          .93816        .48717       -.53827E-07    .73747E-02
   6  Prefactor     23.673        14.396       -.21013E-05    .14150    
   7  norm          .36479        .72212        .30060E-06    .44436E-02
   8  Prefactor     .52719        1.7487        .13812E-05   -.86095E-02
   9  norm          .63696        2.2321        .73743E-06    .21956E-03
  10  norm          4.3745        4.1895        .32799E-07   -.38236E-02
  11  norm          2.1039        1.7125        .12773E-06    .21528E-02
  12  Prefactor      .0000        .48351       -.33905E-07** at limit **
  13  Prefactor     1.7494        12.934       -.97615E-06   -.20234E-01
  14  Prefactor     1.8491        6.4434        .21791E-05    .44067E-02
  15  norm          1.2292        1.3793        .14963E-06   -.20748E-02
  16  Prefactor     6.3916        6.0818        .42764E-06   -.29842E-04
  17  Prefactor     24.376        35.084       -.25760E-05    .32689E-01
  18  Prefactor     3.9467        8.8063       -.10471E-05   -.13526E-01
  19  Prefactor     6.3932        1.3846       -.30028E-06   -.53822E-02
  20  norm          2.1694        .90407       -.32716E-07    .30404E-02
  21  Prefactor     17.575        9.0372       -.17115E-05   -.19822    
  22  Prefactor     6.2666        1.8977        .14101E-06    .17795E-01
  23  Normalizat    .75743        .19807       -.19843E-05    .47608E-04
  24  Prefactor     1.2483        .14208        .35306E-05   -.66711E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-10
  Prefactor  = 6.05072e-09
  Prefactor  = 5.55112e-09
  Prefactor  = 9.82547e-09
  norm       = 0.938161
  Prefactor  = 23.673
  norm       = 0.364794
  Prefactor  = 0.527192
  norm       = 0.636956
  norm       = 4.37446
  norm       = 2.10391
  Prefactor  = 0
  Prefactor  = 1.74936
  Prefactor  = 1.84906
  norm       = 1.22916
  Prefactor  = 6.39159
  Prefactor  = 24.3756
  Prefactor  = 3.94669
  Prefactor  = 6.39321
  norm       = 2.16942
  Prefactor  = 17.5749
  Prefactor  = 6.26662
  Normalizat = 0.757425
  Prefactor  = 1.2483
 **********
 **   18 **HESSE 
 **********

 FCN=   8729.058     FROM HESSE     STATUS=OK           459 CALLS     2406 TOTAL
                     EDM=   .79E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-09    29.903        .16912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .60507E-08    43.443        .17220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-08    7.4571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .98255E-08    14.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .93816        .48854        .43179E-03   -1.5689    
   6  Prefactor     23.673        20.046        .20588E-03   -1.5611    
   7  norm          .36479        .73736        .93632E-03   -1.5696    
   8  Prefactor     .52719        57.064        .71670E-03   -1.5693    
   9  norm          .63696        2.2450        .66772E-03   -1.5692    
  10  norm          4.3745        4.2147        .48237E-03   -1.5666    
  11  norm          2.1039        1.7201        .71020E-03   -1.5679    
  12  Prefactor      .0000        .48162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7494        14.588        .72829E-03   -1.5682    
  14  Prefactor     1.8491        6.6655        .79686E-03   -1.5681    
  15  norm          1.2292        1.4574        .10137E-02   -1.5686    
  16  Prefactor     6.3916        6.0901        .39614E-03   -1.5657    
  17  Prefactor     24.376        36.932        .20134E-03   -1.5609    
  18  Prefactor     3.9467        8.8610        .51427E-03   -1.5668    
  19  Prefactor     6.3932        14.259        .39813E-03   -1.5657    
  20  norm          2.1694        .93641        .69891E-03   -1.5679    
  21  Prefactor     17.575        11.763        .23955E-03   -1.5624    
  22  Prefactor     6.2666        10.548        .40044E-03   -1.5658    
  23  Normalizat    .75743        .18137        .74879E-01   -1.0167    
  24  Prefactor     1.2483        .12688        .33585E-01   -.84858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90872e-07
Minuit parameter uncertainties:
  1  0.000339725
  2  0.00102633
  3  0.000406918
  4  0.000765636
  5  0.488541
  6  20.0463
  7  0.737361
  8  10.9698
  9  2.24497
  10  4.21472
  11  1.72008
  12  2.75989e-06
  13  10.1035
  14  6.66557
  15  1.45745
  16  6.09015
  17  36.9319
  18  8.86105
  19  14.2588
  20  0.936415
  21  11.7626
  22  10.5479
  23  0.181514
  24  0.126916
Done.

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

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  6.370e-01  2.245e+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:  1.248e+00  1.269e-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:  7.574e-01  1.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/3555/likelihoodResults_692928001_693187201_4FGL_J0805.4+6147_daily_bin1750.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) = 8728.93685503
delta logL = 0.121636634853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8728.91638788
delta logL = 0.142103785243

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0174       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8595       1.0000          .0000       5.0000    
     3 'Normalizat'    .76359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2423       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=   8728.916     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0179        2.3529        .39088E-02    .13858E-01
   2  alpha         1.8596        1.0773        .43004       -.47035E-04
   3  Normalizat    .76357        .16806        .74595E-01    .31711E-04
   4  Prefactor     1.2423        .12603        .33701E-01   -.12933E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.01792
  alpha      = 1.85959
  Normalizat = 0.763572
  Prefactor  = 1.24228
 **********
 **   18 **HESSE 
 **********

 FCN=   8728.916     FROM HESSE     STATUS=OK            35 CALLS      250 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0179        1.9954        .17800E-03   -1.5688    
   2  alpha         1.8596        1.1237        .35981E-01   -.25905    
   3  Normalizat    .76357        .18789        .33017E-03   -1.0143    
   4  Prefactor     1.2423        .14108        .19761E-03   -.85040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29391e-11
Minuit parameter uncertainties:
  1  1.99545
  2  1.16872
  3  0.188047
  4  0.141118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3555': 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) = 8728.91638784
delta logL = 0.142103827533

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.018e+00  1.995e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  1.860e+00  1.169e+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:  1.242e+00  1.411e-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:  7.636e-01  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/3555/cmap_HighResolution_692928001_693187201_4FGL_J0805.4+6147_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-05', job_status='DONE', photon_flux_upper_limit='8.53e-08', time_completed='2022-12-20 00:41:50.421639', job_id='3555', GAL2='1.24', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1671525710.42', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.42e-01', ts2='0.38', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1750' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:41:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 3555: <4FGL_J0805.4+6147_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 00:25:17 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:25:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:25:18 2022
Terminated at Tue Dec 20 00:41:51 2022
Results reported at Tue Dec 20 00:41:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1750 121.356 61.7937 692928001 693187201 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 :                                   873.46 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             348.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            994 sec.

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

