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


Performing analysis on: 4FGL_J0809.5+5341_daily_bin1774
RA = 122.379, Dec = 53.6876
tmin = 699148801, tmax = 699408001
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='677822', job_status='RUN', time_executed='2023-03-02 00:27:43.458313', time_epoch_executed='1677745663.46' WHERE source_name='4FGL J0809.5+5341' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677822

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677822/ft1_4FGL_J0809.5+5341_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677822/ft1_4FGL_J0809.5+5341_daily_bin1774.fits outfile=/scratch/kocevski/677822/ft1_filteredMKT_4FGL_J0809.5+5341_daily_bin1774.fits ra=122.379 dec=53.6876 rad=12.0 tmin=699148801.0 tmax=699408001.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.79
user 2.57
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.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/677822/ft1_filteredMKT_4FGL_J0809.5+5341_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 257

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/677822/ltcube_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.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/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits
.....................!
real 12.32
user 11.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/677822/ltcube_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.fits outfile=/scratch/kocevski/677822/expmap_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.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/677822/ltcube_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.fits
.....................!
real 190.68
user 185.11
sys 5.26

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

Setting source of interest to:
4FGL J0809.5+5341 @ 122.379 53.6876

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits scfile=/scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits outfile=/scratch/kocevski/677822/cmap_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.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.379 yref=53.6876 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits scfile=/scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits outfile=/scratch/kocevski/677822/cmap_HighResolution_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.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.379 yref=53.6876 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677822/Model_4FGL_J0809.5+5341_daily_bin1774.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/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits......................!
real 38.39
user 37.14
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits', '/scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits', expMap='/scratch/kocevski/677822/expmap_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.fits', expCube='/scratch/kocevski/677822/ltcube_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/677822/Model_4FGL_J0809.5+5341_daily_bin1774.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.5+5341'

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  2.091e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/677822/ft1_filtered_4FGL_J0809.5+5341_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/677822/ft2_4FGL_J0809.5+5341_daily_bin1774.fits
Exposure map: /scratch/kocevski/677822/expmap_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.fits
Exposure cube: /scratch/kocevski/677822/ltcube_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/677822/Model_4FGL_J0809.5+5341_daily_bin1774.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) = 2854.09485403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18630E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .38958E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87440E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .68065       1.0000          .0000       .10000E+07
     5 'Prefactor '    .49597E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .75267E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .32512E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29849E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .18433E-03   1.0000          .0000       .10000E+07
    10 'norm      '    3.4771       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45450E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .38209E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .47669E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .82826E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .13386E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.2743       1.0000          .0000       .10000E+07
    17 'Prefactor '    39.019       1.0000          .0000       .10000E+07
    18 'norm      '    .82544       1.0000          .0000       .10000E+07
    19 'norm      '    .25781E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .24810E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16194E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .54956E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    .11950E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    105.99       1.0000          .0000       .10000E+07
    25 'Prefactor '    .46543E-01   1.0000          .0000       .10000E+07
    26 'Prefactor '    .51911E-02   1.0000          .0000       .10000E+07
    27 'norm      '    .29913E-02   1.0000          .0000       .10000E+07
    28 'norm      '    .12803E-01   1.0000          .0000       .10000E+07
    29 'Prefactor '    .43391E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    42759.       1.0000          .0000       .10000E+07
    31 'Normalizat'    .31878       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2853.876     FROM MIGRAD    STATUS=CONVERGED    263 CALLS     4090 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.8738       -.21159E-06** at limit **
   2  norm          .55511E-10    2.5594       -.57757E-06** at limit **
   3  Prefactor      .0000        4.4560       -.23483E-07** at limit **
   4  Prefactor     .74244        11.897       -.23056E-06   -.82343E-02
   5  Prefactor     .12212E-06    13.218        .13507E-05** at limit **
   6  Prefactor     .81501E-06    6.7177        .98077E-06** at limit **
   7  norm          .42358E-03    130.41       -.57055E-05** at limit **
   8  Prefactor     .80436E-07    8.4230       -.20844E-06** at limit **
   9  Prefactor     .14530E-03    175.29        .64769E-06** at limit **
  10  norm          3.4769        1.4892       -.34374E-07    .98289E-04
  11  Prefactor     .10019E-05    6.4517       -.34812E-06** at limit **
  12  Prefactor     .60796E-06    9.7848       -.89555E-07** at limit **
  13  norm           .0000        2.5505        .42260E-06** at limit **
  14  Prefactor     .24236E-06    17.230        .15649E-05** at limit **
  15  Prefactor     .52180E-08    10.008        .18214E-06** at limit **
  16  norm          1.2766        2.5971       -.46199E-07    .85313E-03
  17  Prefactor     40.550        34.928       -.42325E-06    .41159E-01
  18  norm          .87040        6.4295        .45476E-07    .17110E-03
  19  norm          .32530E-07    8.4743        .42634E-06** at limit **
  20  Prefactor      .0000        1.8131        .26036E-06** at limit **
  21  Prefactor      .0000        6.6544        .50893E-06** at limit **
  22  norm           .0000        .80202        .56613E-07** at limit **
  23  Prefactor     .55511E-10    5.5008       -.32443E-06** at limit **
  24  Prefactor     105.27        60.773        .15519E-06    .30329    
  25  Prefactor     .55511E-10    35.498       -.45005E-06** at limit **
  26  Prefactor     .62395E-07    11.417       -.19303E-05** at limit **
  27  norm          .14949E-05    14.393       -.15125E-05** at limit **
  28  norm          .38303E-07    27.029        .40548E-07** at limit **
  29  Prefactor     .54713E-04    95.542       -.63565E-05** at limit **
  30  Prefactor     42759.        19.704       -.16838E-08   -2.3906    
  31  Normalizat    .31797        .30692        .15753E-04    .61455E-05
  32  Prefactor     1.0315        .20227        .31711E-05   -.47433E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.742441
  Prefactor  = 1.22125e-07
  Prefactor  = 8.15015e-07
  norm       = 0.00042358
  Prefactor  = 8.04357e-08
  Prefactor  = 0.000145303
  norm       = 3.47685
  Prefactor  = 1.00187e-06
  Prefactor  = 6.07958e-07
  norm       = 0
  Prefactor  = 2.42362e-07
  Prefactor  = 5.21805e-09
  norm       = 1.27663
  Prefactor  = 40.5502
  norm       = 0.870399
  norm       = 3.25295e-08
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 105.269
  Prefactor  = 5.55112e-11
  Prefactor  = 6.23945e-08
  norm       = 1.49486e-06
  norm       = 3.83027e-08
  Prefactor  = 5.47125e-05
  Prefactor  = 42759.2
  Normalizat = 0.317969
  Prefactor  = 1.03146
 **********
 **   18 **HESSE 
 **********

 FCN=   2853.876     FROM HESSE     STATUS=OK           711 CALLS     4801 TOTAL
                     EDM=   .15E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.8714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    2.5571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        4.4547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .74244        25.504        .62293E-03   -1.5691    
   5  Prefactor     .12212E-06    13.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .81501E-06    8.7382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .42358E-03    144.15        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .80436E-07    16.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .14530E-03    214.09        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4769        1.5004        .54204E-03   -1.5671    
  11  Prefactor     .10019E-05    8.6402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .60796E-06    15.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        2.5473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24236E-06    18.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .52180E-08    10.020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2766        2.6928        .98431E-03   -1.5685    
  17  Prefactor     40.550        74.999        .16011E-03   -1.5581    
  18  norm          .87040        6.5629        .51057E-03   -1.5689    
  19  norm          .32530E-07    8.4363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        .81691        .16750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        6.6582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .80177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    5.5020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     105.27        186.48        .97141E-04   -1.5503    
  25  Prefactor     .55511E-10    35.529        .15681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .62395E-07    25.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .14949E-05    24.266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .38303E-07    28.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .54713E-04    98.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     42759.        10328.        .55038E-05   -1.1542    
  31  Normalizat    .31797        .33348        .10122       -1.2178    
  32  Prefactor     1.0315        .20094        .41137E-01   -.91688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.014965
Minuit parameter uncertainties:
  1  1.16157e-05
  2  2.38152e-05
  3  3.84969e-06
  4  8.70301
  5  0.00259607
  6  0.00533736
  7  0.49421
  8  0.00230294
  9  0.352762
  10  1.50045
  11  0.00588436
  12  0.00615588
  13  4.31854e-06
  14  0.00425083
  15  0.000458495
  16  2.69276
  17  75.0005
  18  4.78011
  19  0.00104812
  20  3.39418e-06
  21  2.0017e-06
  22  1.60597e-06
  23  3.85347e-05
  24  186.486
  25  7.46248e-05
  26  0.00251637
  27  0.0120457
  28  0.00207325
  29  0.146582
  30  10332.5
  31  0.335589
  32  0.201085
Done.

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

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  8.704e-01  4.780e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.031e+00  2.011e-01  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  3.180e-01  3.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 122.379 53.688
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677822/likelihoodResults_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.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) = 2853.87300891
delta logL = 0.00276569006019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2853.87250599
delta logL = 0.00326860834457

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2853.872     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      253 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0382        7.4220        .26859E-04    .51851E-04
   2  alpha         1.9889        1.8825        .38022E-01    .25862E-04
   3  Normalizat    .31832        .30196        .44807E-03   -.40088E-05
   4  Prefactor     1.0311        .20170        .16858E-03   -.11802E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03819
  alpha      = 1.98891
  Normalizat = 0.318319
  Prefactor  = 1.03111
 **********
 **   18 **HESSE 
 **********

 FCN=   2853.872     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .38E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0382        6.9531        .10743E-05   -1.5688    
   2  alpha         1.9889        1.8392        .76043E-02   -.20589    
   3  Normalizat    .31832        .30193        .17923E-04   -1.2176    
   4  Prefactor     1.0311        .20166        .67432E-05   -.91699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75258e-13
Minuit parameter uncertainties:
  1  5.3735
  2  2.08108
  3  0.303484
  4  0.201812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677822': 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) = 2853.87249806
delta logL = 0.00327653994236

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  1.038e+00  5.374e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  1.989e+00  2.081e+00  0.000e+00  5.000e+00 ( 1.000e+00)
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.031e+00  2.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  3.183e-01  3.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 122.379 53.688

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/677822/cmap_HighResolution_699148801_699408001_4FGL_J0809.5+5341_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-05', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2023-03-02 00:38:14.452501', job_id='677822', GAL2='1.03', fit_tolerance='1e-08', EG2='0.32', EG='0.32', time_epoch_completed='1677746294.45', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.28e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1774' AND source_name='4FGL J0809.5+5341' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:38:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 677822: <4FGL_J0809.5+5341_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0809.5+5341_daily_bin1774> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Mar  2 00:25:20 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:25:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:25:22 2023
Terminated at Thu Mar  2 00:38:15 2023
Results reported at Thu Mar  2 00:38:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.5+5341_daily_bin1774 122.379 53.6876 699148801 699408001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0809.5+5341 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   633.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            775 sec.

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

