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


Performing analysis on: 4FGL_J0809.8+0507_daily_bin1709
RA = 122.453, Dec = 5.1313
tmin = 682300801, tmax = 682560001
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='65308', job_status='RUN', time_executed='2022-09-16 13:46:59.690059', time_epoch_executed='1663361219.69' WHERE source_name='4FGL J0809.8+0507' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/65308

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/65308/ft1_4FGL_J0809.8+0507_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/65308/ft1_4FGL_J0809.8+0507_daily_bin1709.fits outfile=/scratch/kocevski/65308/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin1709.fits ra=122.453 dec=5.1313 rad=12.0 tmin=682300801.0 tmax=682560001.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.12
user 2.87
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.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/65308/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.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.45
user 0.31
sys 0.14

Number of photons that the gtmktime cut: 726

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/65308/ltcube_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.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/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits
.....................!
real 13.10
user 12.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/65308/ltcube_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.fits outfile=/scratch/kocevski/65308/expmap_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.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/65308/ltcube_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.fits
.....................!
real 156.29
user 151.00
sys 4.58

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

Setting source of interest to:
4FGL J0809.8+0507 @ 122.453 5.1313

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.fits scfile=/scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits outfile=/scratch/kocevski/65308/cmap_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.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=122.453 yref=5.1313 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.49
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.fits scfile=/scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits outfile=/scratch/kocevski/65308/cmap_HighResolution_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.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=122.453 yref=5.1313 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.51
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/65308/Model_4FGL_J0809.8+0507_daily_bin1709.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/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.fits.....................!
real 80.03
user 78.80
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.fits', '/scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits', expMap='/scratch/kocevski/65308/expmap_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.fits', expCube='/scratch/kocevski/65308/ltcube_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/65308/Model_4FGL_J0809.8+0507_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.8+0507'

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  4.437e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/65308/ft1_filtered_4FGL_J0809.8+0507_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/65308/ft2_4FGL_J0809.8+0507_daily_bin1709.fits
Exposure map: /scratch/kocevski/65308/expmap_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.fits
Exposure cube: /scratch/kocevski/65308/ltcube_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/65308/Model_4FGL_J0809.8+0507_daily_bin1709.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) = 8021.83309585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    .42438E-02   1.0000          .0000       .10000E+07
     3 'norm      '    11.491       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16073E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.149       1.0000          .0000       .10000E+07
     6 'norm      '    .39848E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.7737       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.8044       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27381       1.0000          .0000       .10000E+07
    10 'norm      '    1.4858       1.0000          .0000       .10000E+07
    11 'norm      '    .58500       1.0000          .0000       .10000E+07
    12 'norm      '    17.188       1.0000          .0000       .10000E+07
    13 'norm      '    .86541       1.0000          .0000       .10000E+07
    14 'Prefactor '    .48517E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .16814E-06   1.0000          .0000       .10000E+07
    16 'norm      '    14.500       1.0000          .0000       .10000E+07
    17 'Prefactor '    27.881       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5623       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .81652       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8021.821     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1432 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.523        3.2590       -.41943E-06    .32161    
   2  Prefactor     .20700E-06    36.434        .52048E-05** at limit **
   3  norm          11.492        2.7882       -.70636E-06    .26710E-02
   4  Prefactor     .16653E-09    10.591        .52704E-06** at limit **
   5  Prefactor     10.151        4.1144       -.71146E-07   -.49007E-03
   6  norm          .49960E-09    8.1384       -.33149E-05** at limit **
   7  Prefactor     1.7312        17.600        .49001E-05    .59949E-02
   8  Prefactor     7.7767        5.6673       -.22438E-06    .25955E-02
   9  Prefactor     .12190E-05    88.709        .21592E-04** at limit **
  10  norm          1.3783        7.1196       -.24515E-05   -.52526E-03
  11  norm          .58683        1.9917        .72633E-06   -.48433E-02
  12  norm          17.371        1.8113       -.45837E-06    .46175E-01
  13  norm          .86069        .71763        .66792E-06    .78795E-02
  14  Prefactor     .13156E-07    48.107       -.12727E-04** at limit **
  15  norm           .0000        4.0003        .20009E-05** at limit **
  16  norm          14.482        7.8365       -.14418E-05   -.66562E-02
  17  Prefactor     27.961        1.1915        .94641E-07   -.42642E-01
  18  Normalizat    1.5625        .23859        .42498E-04    .15330E-03
  19  Prefactor     .81673        .15686       -.35614E-05    .19796E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.5228
  Prefactor  = 2.07001e-07
  norm       = 11.4916
  Prefactor  = 1.66533e-10
  Prefactor  = 10.1508
  norm       = 4.996e-10
  Prefactor  = 1.73124
  Prefactor  = 7.77673
  Prefactor  = 1.21902e-06
  norm       = 1.37832
  norm       = 0.586826
  norm       = 17.3712
  norm       = 0.860693
  Prefactor  = 1.31561e-08
  norm       = 0
  norm       = 14.4822
  Prefactor  = 27.9609
  Normalizat = 1.56255
  Prefactor  = 0.816729
 **********
 **   18 **HESSE 
 **********

 FCN=   8021.821     FROM HESSE     STATUS=OK           320 CALLS     1752 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.523        39.292        .14037E-03   -1.5566    
   2  Prefactor     .20700E-06    36.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.492        2.7922        .29528E-03   -1.5640    
   4  Prefactor     .16653E-09    10.588        .17310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.151        4.1249        .31428E-03   -1.5644    
   6  norm          .49960E-09    8.1310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7312        17.574        .78585E-03   -1.5682    
   8  Prefactor     7.7767        5.6793        .35870E-03   -1.5652    
   9  Prefactor     .12190E-05    88.021        .10587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3783        7.2910        .87963E-03   -1.5684    
  11  norm          .58683        2.0073        .70583E-03   -1.5693    
  12  norm          17.371        25.621        .24131E-03   -1.5625    
  13  norm          .86069        4.8347        .48181E-03   -1.5689    
  14  Prefactor     .13156E-07    12.534        .10674E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .64855        .22179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.482        7.8593        .26277E-03   -1.5632    
  17  Prefactor     27.961        37.630        .18942E-03   -1.5602    
  18  Normalizat    1.5625        .21336        .64774E-01   -.76036    
  19  Prefactor     .81673        .13532        .43932E-01   -.99115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30422e-06
Minuit parameter uncertainties:
  1  39.292
  2  0.00550916
  3  2.79225
  4  8.012e-05
  5  4.12488
  6  0.000125962
  7  11.0319
  8  5.67935
  9  0.0207175
  10  6.34015
  11  2.00731
  12  25.6209
  13  4.07979
  14  0.000812417
  15  8.33131e-06
  16  7.85935
  17  37.6307
  18  0.213488
  19  0.135371
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  1.737e+01  2.562e+01  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  8.167e-01  1.354e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.563e+00  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.59
Ra Dec: 122.453 5.131
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/65308/likelihoodResults_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.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) = 8021.8149705
delta logL = 0.00581287562454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8021.81315245
delta logL = 0.00763092497891

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.886       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0935       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5564       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81995       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8021.813     FROM MIGRAD    STATUS=FAILED        91 CALLS      266 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.892        31.129        .10041E-04    .14153E-03
   2  alpha         3.0917        3.7201        .61265E-01    .13625E-03
   3  Normalizat    1.5568        .24133        .28694E-03    .43227E-04
   4  Prefactor     .81967        .15622        .24991E-03   -.10927E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8021.813     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      338 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.892        31.129        .23049E-04   -1.5628    
   2  alpha         3.0917        3.7201        .32748E-02    .23896    
   3  Normalizat    1.5568        .24133        .24233E-03   -.76195    
   4  Prefactor     .81967        .15622        .33117E-03   -.99007    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8021.813     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      366 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.892        27.959        .40163E-06   -.96416E-04
   2  alpha         3.0917        1.9887        .12253E-01    .79978E-06
   3  Normalizat    1.5568        .24098        .11477E-04   -.17829E-05
   4  Prefactor     .81968        .15584        .99965E-05   -.13647E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.8924
  alpha      = 3.09173
  Normalizat = 1.55679
  Prefactor  = 0.819676
 **********
 **   18 **HESSE 
 **********

 FCN=   8021.813     FROM HESSE     STATUS=OK            25 CALLS      391 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.892        27.430        .37261E-06   -1.5628    
   2  alpha         3.0917        1.9617        .49012E-03    .23896    
   3  Normalizat    1.5568        .24072        .22955E-05   -.76195    
   4  Prefactor     .81968        .15568        .19993E-05   -.99007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14775e-12
Minuit parameter uncertainties:
  1  27.4299
  2  2.28357
  3  0.240902
  4  0.155764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/65308': 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) = 8021.81315081
delta logL = 0.00763256455139

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  1.589e+01  2.743e+01  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  3.092e+00  2.284e+00  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  8.197e-01  1.558e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.557e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.59
Ra Dec: 122.453 5.131

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/65308/cmap_HighResolution_682300801_682560001_4FGL_J0809.8+0507_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2022-09-16 13:55:32.659368', job_id='65308', GAL2='0.82', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1663361732.66', return_code2='0', ts='0.59', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.63e-03', ts2='0.61', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='1709' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:55:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 65308: <4FGL_J0809.8+0507_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0809.8+0507_daily_bin1709> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:45:17 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:46:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:46:18 2022
Terminated at Fri Sep 16 13:55:33 2022
Results reported at Fri Sep 16 13:55:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.8+0507_daily_bin1709 122.453 5.1313 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0809.8+0507 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   514.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             385.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            616 sec.

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

