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


Performing analysis on: 4FGL_J0805.4+6147_daily_bin1746
RA = 121.356, Dec = 61.7937
tmin = 691891201, tmax = 692150401
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='717821', job_status='RUN', time_executed='2022-12-08 00:26:51.404520', time_epoch_executed='1670488011.4' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/717821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/717821/ft1_4FGL_J0805.4+6147_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/717821/ft2_4FGL_J0805.4+6147_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/717821/ft1_4FGL_J0805.4+6147_daily_bin1746.fits outfile=/scratch/kocevski/717821/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1746.fits ra=121.356 dec=61.7937 rad=12.0 tmin=691891201.0 tmax=692150401.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.72
user 4.49
sys 0.21

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

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

Number of photons that the gtmktime cut: 745

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/717821/ft1_filtered_4FGL_J0805.4+6147_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/717821/ft2_4FGL_J0805.4+6147_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/717821/ltcube_691891201_692150401_4FGL_J0805.4+6147_daily_bin1746.fits outfile=/scratch/kocevski/717821/expmap_691891201_692150401_4FGL_J0805.4+6147_daily_bin1746.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/717821/ltcube_691891201_692150401_4FGL_J0805.4+6147_daily_bin1746.fits
.....................!
real 190.23
user 184.85
sys 4.96

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/717821/ft1_filtered_4FGL_J0805.4+6147_daily_bin1746.fits scfile=/scratch/kocevski/717821/ft2_4FGL_J0805.4+6147_daily_bin1746.fits outfile=/scratch/kocevski/717821/cmap_691891201_692150401_4FGL_J0805.4+6147_daily_bin1746.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.54
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35047E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .66915E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40553E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21125E-03   1.0000          .0000       .10000E+07
     5 'norm      '    3.9673       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11704E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .24480E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7899       1.0000          .0000       .10000E+07
     9 'norm      '    .22847E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .10512E-03   1.0000          .0000       .10000E+07
    11 'norm      '    2.3532       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9136       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24457E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7669       1.0000          .0000       .10000E+07
    15 'norm      '    2.9912       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7087       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12261E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .65000E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    12.484       1.0000          .0000       .10000E+07
    20 'norm      '    1.9561       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5871       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84562E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0020       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94997       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=   8044.108     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1941 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    53.290       -.29761E-05** at limit **
   2  Prefactor      .0000        18.346        .90264E-06** at limit **
   3  Prefactor     .11102E-08    6.1178       -.11898E-05** at limit **
   4  Prefactor     .88818E-09    4.3912        .78381E-06** at limit **
   5  norm          3.9675        .90306        .15315E-06   -.66749E-02
   6  Prefactor     .17208E-07    3.7721       -.65564E-06** at limit **
   7  norm           .0000        .29514        .78823E-07** at limit **
   8  Prefactor     9.8055        1.3310        .13357E-06   -.17437E-01
   9  norm          .14361E-06    2.3726        .19950E-06** at limit **
  10  norm          .49960E-09    2.6049        .27115E-06** at limit **
  11  norm          2.3509        1.6923       -.20761E-07   -.63635E-04
  12  Prefactor     1.9124        1.3163       -.15261E-07   -.41707E-03
  13  Prefactor     .71609E-08    10.196       -.20600E-05** at limit **
  14  Prefactor     6.8366        5.3930       -.49913E-06   -.30175E-03
  15  norm          3.0656        2.7135       -.24281E-06    .23755E-02
  16  Prefactor     7.7272        6.4711       -.38957E-06    .24978E-03
  17  Prefactor     .23870E-08    3.9069       -.70727E-06** at limit **
  18  Prefactor     .77716E-09    3.6494       -.23103E-05** at limit **
  19  Prefactor     11.121        26.755        .49233E-05    .21015E-03
  20  norm          1.9557        .85726        .34412E-07   -.52490E-02
  21  Prefactor     5.5901        7.9658       -.21554E-05   -.53211E-03
  22  Prefactor     .22204E-09    3.6523        .31020E-05** at limit **
  23  Normalizat    1.0018        .20185       -.80697E-05    .11600E-03
  24  Prefactor     .95014        .13899        .25159E-05    .11518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  Prefactor  = 1.11022e-09
  Prefactor  = 8.88178e-10
  norm       = 3.9675
  Prefactor  = 1.72085e-08
  norm       = 0
  Prefactor  = 9.80553
  norm       = 1.43607e-07
  norm       = 4.996e-10
  norm       = 2.35093
  Prefactor  = 1.91241
  Prefactor  = 7.16094e-09
  Prefactor  = 6.83658
  norm       = 3.06556
  Prefactor  = 7.72719
  Prefactor  = 2.38698e-09
  Prefactor  = 7.77156e-10
  Prefactor  = 11.1209
  norm       = 1.95566
  Prefactor  = 5.59015
  Prefactor  = 2.22045e-10
  Normalizat = 1.00183
  Prefactor  = 0.950138
 **********
 **   18 **HESSE 
 **********

 FCN=   8044.108     FROM HESSE     STATUS=OK           445 CALLS     2386 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    53.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        18.274        .14921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-08    6.1980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88818E-09    4.4159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.9675        .90324        .50616E-03   -1.5668    
   6  Prefactor     .17208E-07    8.5059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .29217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.8055        16.958        .32002E-03   -1.5645    
   9  norm          .14361E-06    2.1336        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .49960E-09    2.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.3509        1.6937        .66790E-03   -1.5677    
  12  Prefactor     1.9124        1.3419        .75110E-03   -1.5680    
  13  Prefactor     .71609E-08    11.146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.8366        5.3841        .38548E-03   -1.5656    
  15  norm          3.0656        2.7409        .58670E-03   -1.5673    
  16  Prefactor     7.7272        6.4732        .36094E-03   -1.5652    
  17  Prefactor     .23870E-08    8.4670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .77716E-09    3.6805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.121        26.939        .28326E-03   -1.5641    
  20  norm          1.9557        .85988        .74154E-03   -1.5680    
  21  Prefactor     5.5901        7.9754        .42478E-03   -1.5661    
  22  Prefactor     .22204E-09    3.6545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0018        .17879        .46192E-01   -.92969    
  24  Prefactor     .95014        .12111        .45639E-01   -.94410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69897e-08
Minuit parameter uncertainties:
  1  0.000583006
  2  4.05941e-05
  3  0.000164648
  4  0.000123771
  5  0.903236
  6  0.000764577
  7  3.21542e-06
  8  16.9581
  9  0.00110714
  10  7.15138e-05
  11  1.69371
  12  1.34191
  13  0.000564213
  14  5.38409
  15  2.74088
  16  6.4732
  17  0.000285616
  18  0.00010692
  19  26.9394
  20  0.859885
  21  7.97546
  22  5.9387e-05
  23  0.178892
  24  0.121145
Done.

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

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.436e-07  1.107e-03  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:  9.501e-01  1.211e-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.002e+00  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/717821/likelihoodResults_691891201_692150401_4FGL_J0805.4+6147_daily_bin1746.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) = 8044.19881058
delta logL = -0.0912185137395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8043.29206034
delta logL = 0.815531724871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55681       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .91809       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98596       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=   8043.292     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      218 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55641        1.0692        .73189E-03    .17809E-01
   2  alpha         5.0000        4.2532        .46290    ** at limit **
   3  Normalizat    .91802        .17832        .67542E-01    .41647E-04
   4  Prefactor     .98600        .12113        .46091E-01   -.33696E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.556406
  alpha      = 5
  Normalizat = 0.918023
  Prefactor  = 0.985997
 **********
 **   18 **HESSE 
 **********

 FCN=   8043.292     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55641        .49599        .55268E-05   -1.5693    
   2  alpha         5.0000        3.1090        .80008E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .91802        .20250        .29879E-03   -.95830    
   4  Prefactor     .98600        .14117        .20678E-03   -.93198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.29201e-12
Minuit parameter uncertainties:
  1  0.495985
  2  1.15976e-06
  3  0.20267
  4  0.141219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/717821': 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) = 8043.2920584
delta logL = 0.815533663949

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  5.564e-01  4.960e-01  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  5.000e+00  1.160e-06  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.860e-01  1.412e-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.180e-01  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.77
Ra Dec: 121.356 61.794
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.96e-08 +/- 5.29e-08
Energy Flux (Free Index): 8.10e-06 +/- 7.20e-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/717821/cmap_HighResolution_691891201_692150401_4FGL_J0805.4+6147_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', comment='SUCCESS', energy_flux2='8.10e-06', dlogl='8.16e-01', photon_flux2='5.96e-08', job_status='DONE', time_completed='2022-12-08 00:41:16.208963', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='9.31e-08', energy_flux_error2='7.20e-06', EG='1.00', time_epoch_completed='1670488876.21', return_code='0', job_id='717821', GAL2='0.99', EG2='0.92', return_code2='0', photon_flux_error2='5.29e-08', ts2='1.77', photon_index='2.63' WHERE bin_id='1746' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:41:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 717821: <4FGL_J0805.4+6147_daily_bin1746> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 00:25:18 2022
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:25:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:25:19 2022
Terminated at Thu Dec  8 00:41:16 2022
Results reported at Thu Dec  8 00:41:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1746 121.356 61.7937 691891201 692150401 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 :                                   866.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            958 sec.

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

