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


Performing analysis on: 4FGL_J0809.3+4053_daily_bin1757
RA = 122.33, Dec = 40.8954
tmin = 694742401, tmax = 695001601
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='190374', job_status='RUN', time_executed='2023-01-10 00:34:56.473243', time_epoch_executed='1673339696.47' WHERE source_name='4FGL J0809.3+4053' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/190374

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/190374/ft1_4FGL_J0809.3+4053_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/190374/ft1_4FGL_J0809.3+4053_daily_bin1757.fits outfile=/scratch/kocevski/190374/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin1757.fits ra=122.33 dec=40.8954 rad=12.0 tmin=694742401.0 tmax=695001601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.90
user 2.69
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.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/190374/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.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.16

Number of photons that the gtmktime cut: 26

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/190374/ltcube_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.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/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits
.....................!
real 14.27
user 13.84
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/190374/ltcube_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.fits outfile=/scratch/kocevski/190374/expmap_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.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/190374/ltcube_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.fits
.....................!
real 191.54
user 185.36
sys 5.55

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

Setting source of interest to:
4FGL J0809.3+4053 @ 122.33 40.8954

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.fits scfile=/scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits outfile=/scratch/kocevski/190374/cmap_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.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.33 yref=40.8954 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.fits scfile=/scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits outfile=/scratch/kocevski/190374/cmap_HighResolution_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.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.33 yref=40.8954 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/190374/Model_4FGL_J0809.3+4053_daily_bin1757.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/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.fits..........................!
real 15.96
user 14.62
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.fits', '/scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits', expMap='/scratch/kocevski/190374/expmap_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.fits', expCube='/scratch/kocevski/190374/ltcube_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/190374/Model_4FGL_J0809.3+4053_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.3+4053'

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  1.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.588e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.589e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/190374/ft1_filtered_4FGL_J0809.3+4053_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/190374/ft2_4FGL_J0809.3+4053_daily_bin1757.fits
Exposure map: /scratch/kocevski/190374/expmap_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.fits
Exposure cube: /scratch/kocevski/190374/ltcube_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/190374/Model_4FGL_J0809.3+4053_daily_bin1757.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) = 329.485878027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 329.173508411

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9761       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6816       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.249       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2383       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.9096       1.0000          .0000       .10000E+07
     6 'norm      '    9.9159       1.0000          .0000       .10000E+07
     7 'norm      '    .88005       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.6683       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9278       1.0000          .0000       .10000E+07
    10 'Prefactor '    .58020E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .24450E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .48289E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .80755       1.0000          .0000       .10000E+07
    14 'Prefactor '    .32138E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21132E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.320       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.999       1.0000          .0000       .10000E+07
    18 'norm      '    .61570E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .91518E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    20.807       1.0000          .0000       .10000E+07
    21 'Normalizat'    .41907       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   307.1043     FROM MIGRAD    STATUS=CONVERGED    868 CALLS     2393 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E+07    .20111E+06    .85455E-04** at limit **
   2  Prefactor     .10000E+07    .81489E+06    .36962E-04** at limit **
   3  Prefactor     .10000E+07    99907.        .10437E-03** at limit **
   4  Prefactor     .10286E-06    2759.8        .16828E-05** at limit **
   5  Prefactor     .17373E-04    37778.       -.41531E-04** at limit **
   6  norm          .10000E+07    .62645E+06   -.10578E-03** at limit **
   7  norm          .32974E-07    464.47        .21902E-05** at limit **
   8  Prefactor     .55511E-10    925.54        .10340E-04** at limit **
   9  Prefactor     .31325E-06    727.02       -.45075E-05** at limit **
  10  Prefactor     .19817E-07    127.08        .14296E-05** at limit **
  11  norm           .0000        12.482        .19198E-08** at limit **
  12  norm           .0000        2.7279        .41067E-09** at limit **
  13  Prefactor     .15365E-06    683.96       -.30697E-05** at limit **
  14  Prefactor      .0000        65.793       -.16021E-06** at limit **
  15  Prefactor      .0000        12.035        .99274E-09** at limit **
  16  Prefactor     .17208E-08    96.773        .84996E-06** at limit **
  17  Prefactor     .55511E-10    29.499       -.29329E-07** at limit **
  18  norm           .0000        6.2456       -.10983E-09** at limit **
  19  Prefactor     .98810E-08    63.398        .26158E-07** at limit **
  20  Prefactor     16.664        12.205       -.11412E-07    .43185E-02
  21  Normalizat    .10000E-01    1.3632        .68063E-04** at limit **
  22  Prefactor     .78798        .33842        .13045E-04    .73837E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1e+06
  Prefactor  = 1e+06
  Prefactor  = 1e+06
  Prefactor  = 1.02862e-07
  Prefactor  = 1.73727e-05
  norm       = 1e+06
  norm       = 3.29736e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 3.13249e-07
  Prefactor  = 1.98175e-08
  norm       = 0
  norm       = 0
  Prefactor  = 1.53655e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.72085e-09
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 9.88098e-09
  Prefactor  = 16.6635
  Normalizat = 0.01
  Prefactor  = 0.787981
 **********
 **   18 **HESSE 
 **********

 FCN=   307.1043     FROM HESSE     STATUS=OK           380 CALLS     2773 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E+07    .20420E+06    .58828E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E+07    .82763E+06    .81197E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E+07    .10221E+06    .31274E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10286E-06    2914.1        .68673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17373E-04    41370.        .38143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E+07    .63368E+06    .31797E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .32974E-07    557.67        .47149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    1009.6        .62365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .31325E-06    834.42        .45284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19817E-07    129.20        .15234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        12.575        .16760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.7145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .15365E-06    745.15        .52374E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        65.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        12.178        .16963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17208E-08    95.912        .31165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    27.599        .18261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        6.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .98810E-08    62.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.664        12.294        .21929E-03   -1.5626    
  21  Normalizat    .10000E-01    1.1159        .15864       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .78798        .40402        .42464E-01   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14109e-09
Minuit parameter uncertainties:
  1  6.04178
  2  10.152
  3  3.46315
  4  0.0346402
  5  1.70744
  6  1.66169
  7  0.00857765
  8  0.000425535
  9  0.0323389
  10  0.00319959
  11  1.38298e-06
  12  7.29182e-08
  13  0.0214017
  14  2.75772e-05
  15  4.6937e-08
  16  0.000811504
  17  5.60878e-05
  18  1.18972e-08
  19  0.00156886
  20  12.2941
  21  3.47984e-05
  22  0.40555
Done.

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

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  1.982e-08  3.200e-03  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.588e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.589e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  7.880e-01  4.056e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  1.000e-02  3.480e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.330 40.895
Photon Flux Upper Limit: 5.59e-06 ph cm-2 s-1
Energy Flux Upper Limit: 4.37e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/190374/likelihoodResults_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.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) = 307.107995234
delta logL = -0.00369339683209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 307.104302454
delta logL = -6.1674910512e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68862E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.7207       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78771       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   307.1043     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      259 TOTAL
                     EDM=   .84E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    28.456        .42118E-03** at limit **
   2  Index         1.1819        5.2054        .50000       -.22737E-11
   3  Normalizat    .10000E-01    .63591E-03    .15791    ** at limit **
   4  Prefactor     .78798        .93064E-02    .43557E-01    .50054E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.18195
  Normalizat = 0.01
  Prefactor  = 0.78798
 **********
 **   18 **HESSE 
 **********

 FCN=   307.1043     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      286 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    141.87        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1819        5.2700        .50000       -.86889    
   3  Normalizat    .10000E-01    .58469E-02    .98143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .78798        .20807E-01    .21245E-03   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.20874e-12
Minuit parameter uncertainties:
  1  0.000210003
  2  825906
  3  2.38196e-07
  4  0.0208068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/190374': 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): 102
logL (Free Index) = 307.104301837
delta logL = 1.85025328392e-10

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  2.100e-04  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  1.182e+00  8.259e+05  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.589e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  7.880e-01  2.081e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  1.000e-02  2.382e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.330 40.895

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/190374/cmap_HighResolution_694742401_695001601_4FGL_J0809.3+4053_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-01', job_status='DONE', photon_flux_upper_limit='5.59e-06', time_completed='2023-01-10 00:40:38.945690', job_id='190374', GAL2='0.79', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673340038.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.85e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1757' AND source_name='4FGL J0809.3+4053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:40:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 190374: <4FGL_J0809.3+4053_daily_bin1757> in cluster <slac> Done

Job <4FGL_J0809.3+4053_daily_bin1757> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 10 00:30:19 2023
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:31:44 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:31:44 2023
Terminated at Tue Jan 10 00:40:39 2023
Results reported at Tue Jan 10 00:40:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.3+4053_daily_bin1757 122.33 40.8954 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0809.3+4053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   344.55 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             180.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   535 sec.
    Turnaround time :                            620 sec.

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

