aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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: Dan/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 209 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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_grnumber of points = 17306
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0809.3+4053_weekly_bin573
RA = 122.33, Dec = 40.8954
tmin = 585532801, tmax = 586137601
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 souDone.


Performing analysis on: 4FGL_J0809.3+4053_weekly_bin573
RA = 122.33, Dec = 40.8954
tmin = 585532801, tmax = 586137601
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='463629', job_status='RUN', time_executed='2021-07-12 02:01:25.025762', time_epoch_executed='1626080485.03' WHERE source_name='4FGL J0809.3+4053' and cadence='weekly' and bin_id='573'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/463629

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/463629/ft1_4FGL_J0809.3+4053_weekly_bin573.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/463629/ft1_4FGL_J0809.3+4053_weekly_bin573.fits outfile=/scratch/kocevski/463629/ft1_filteredMKT_4FGL_J0809.3+4053_weekly_bin573.fits ra=122.33 dec=40.8954 rad=12.0 tmin=585532801.0 tmax=586137601.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 8.37
user 4.47
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.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/463629/ft1_filteredMKT_4FGL_J0809.3+4053_weekly_bin573.fits evtable="EVENTS" outfile="/scratch/kocevski/463629/ft1_filtered_4FGL_J0809.3+4053_weekly_bin573.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 6.11
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/463629/ft1_filtered_4FGL_J0809.3+4053_weekly_bin573.fits" evtable="EVENTS" scfile=/scratch/kocevski/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.fits sctable="SC_DATA" outfile=/scratch/kocevski/463629/ltcube_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.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/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.fits
.....................!
real 33.84
user 29.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/463629/ft1_filtered_4FGL_J0809.3+4053_weekly_bin573.fits evtable="EVENTS" scfile=/scratch/kocevski/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.fits sctable="SC_DATA" expcube=/scratch/kocevski/463629/ltcube_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.fits outfile=/scratch/kocevski/463629/expmap_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.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/463629/ltcube_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.fits
.....................!
real 178.79
user 153.49
sys 4.47

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/463629/ft1_filtered_4FGL_J0809.3+4053_weekly_bin573.fits scfile=/scratch/kocevski/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.fits outfile=/scratch/kocevski/463629/cmap_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.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 2.62
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/463629/ft1_filtered_4FGL_J0809.3+4053_weekly_bin573.fits scfile=/scratch/kocevski/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.fits outfile=/scratch/kocevski/463629/cmap_HighResolution_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.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 2.45
user 0.37
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/463629/ft1_filtered_4FGL_J0809.3+4053_weekly_bin573.fits', '/scratch/kocevski/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.fits', expMap='/scratch/kocevski/463629/expmap_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.fits', expCube='/scratch/kocevski/463629/ltcube_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/463629/Model_4FGL_J0809.3+4053_weekly_bin573.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  1.000e-04  1.000e+04 ( 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/463629/ft1_filtered_4FGL_J0809.3+4053_weekly_bin573.fits
Spacecraft file(s): /scratch/kocevski/463629/ft2_4FGL_J0809.3+4053_weekly_bin573.fits
Exposure map: /scratch/kocevski/463629/expmap_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.fits
Exposure cube: /scratch/kocevski/463629/ltcube_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/463629/Model_4FGL_J0809.3+4053_weekly_bin573.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) = 3092.05877993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    48.080       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26143E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.662       1.0000         .10000E-03   10000.    
     6 'norm      '    132.55       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10384E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18792E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.1767       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4632       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14959E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.112       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.0853       1.0000         .10000E-03   10000.    
    18 'norm      '    20.146       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    70.386       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.6928       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .51966       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.6953       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3092.045     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2503 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          48.060        44.393       -.20831E-04    .17102E-04
   2  Prefactor     .10000E-03    36.352        .22186E-04** at limit **
   3  Prefactor     .10000E-03    82.321       -.10194E-04** at limit **
   4  Prefactor     .10000E-03    6.8543        .67722E-06** at limit **
   5  Prefactor     23.659        43.546       -.36925E-05   -.34610E-05
   6  norm          132.57        67.045        .18212E-04    .76764E-05
   7  norm          .10000E-03    2.0380        .23501E-06** at limit **
   8  Prefactor     .10000E-03    20.118        .52509E-05** at limit **
   9  Prefactor     .10000E-03    47.927       -.39902E-05** at limit **
  10  Prefactor     .10000E-03    10.038       -.72365E-07** at limit **
  11  norm          3.1760        2.5560       -.12465E-06    .82804E-04
  12  norm          1.4631        1.0254       -.22171E-06    .26458E-03
  13  Prefactor     .10000E-03    26.889       -.44400E-05** at limit **
  14  Prefactor     .10000E-03    25.155       -.85032E-05** at limit **
  15  Prefactor     .10000E-03    4.1179       -.55486E-06** at limit **
  16  Prefactor     22.123        43.872        .17227E-04    .65741E-04
  17  Prefactor     8.0856        10.796       -.12464E-05    .68003E-05
  18  norm          20.152        9.3314       -.78007E-07    .33134E-04
  19  Prefactor     .10000E-03    .98852        .15598E-06** at limit **
  20  Prefactor     70.390        71.868        .44236E-05    .14773E-04
  21  Prefactor     1.6929        3.3017       -.10233E-05   -.24958E-03
  22  Normalizat    .51886        .34574       -.94923E-05    .53430E-04
  23  Prefactor     1.6961        .28578        .37045E-05   -.18319E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 48.0598
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.6588
  norm       = 132.573
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 3.17604
  norm       = 1.46307
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 22.1231
  Prefactor  = 8.08563
  norm       = 20.1523
  Prefactor  = 0.0001
  Prefactor  = 70.3904
  Prefactor  = 1.69294
  Normalizat = 0.518863
  Prefactor  = 1.69606
 **********
 **   18 **HESSE 
 **********

 FCN=   3092.045     FROM HESSE     STATUS=OK           370 CALLS     2873 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          48.060        44.382        .57829E-04   -1.4320    
   2  Prefactor     .10000E-03    36.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    82.671        .21447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.8605        .14220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.659        43.457        .82346E-04   -1.4735    
   6  norm          132.57        66.935        .17488E-03   -1.3400    
   7  norm          .10000E-03    2.0498        .77515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    47.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    47.158        .32296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.1760        2.5603        .76835E-04   -1.5352    
  12  norm          1.4631        .99906        .43936E-04   -1.5466    
  13  Prefactor     .10000E-03    26.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.622        .21187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.123        43.683        .85179E-04   -1.4767    
  17  Prefactor     8.0856        10.778        .14100E-03   -1.5139    
  18  norm          20.152        9.2946        .89235E-04   -1.4810    
  19  Prefactor     .10000E-03    .99412        .53971E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     70.390        71.717        .47848E-04   -1.4028    
  21  Prefactor     1.6929        3.2561        .13450E-03   -1.5448    
  22  Normalizat    .51886        .36224        .43022E-03   -1.1155    
  23  Prefactor     1.6961        .31113        .22283E-03   -.72187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22202e-10
Minuit parameter uncertainties:
  1  44.4122
  2  5.89815e-05
  3  0.000263121
  4  1.53754e-05
  5  43.5156
  6  66.9734
  7  6.87657e-06
  8  9.59508e-05
  9  5.71897e-05
  10  0.000892742
  11  2.56042
  12  0.99907
  13  1.1855e-05
  14  0.000129469
  15  0.000322474
  16  43.7464
  17  10.7801
  18  9.29525
  19  1.66939e-06
  20  71.8056
  21  3.25642
  22  0.363906
  23  0.311492
Done.

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

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  8.927e-04  1.000e-04  1.000e+04 ( 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:  1.696e+00  3.115e-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:  5.189e-01  3.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.330 40.895
Photon Flux Upper Limit: 2.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/463629/likelihoodResults_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.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): 102
logL (Free Index) = 3092.04528964
delta logL = -0.000100564822787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3092.04518944
delta logL = -3.74106093659e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54172E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7021       1.0000          .0000       10.000    
     3 'Normalizat'    .51887       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6961       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=   3091.938     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      290 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57672        101.04        .10559E-01   -.10898E-02
   2  Index         4.3290        6.8703        .22884        .43256E-04
   3  Normalizat    .47516        .17178        .10124       -.72767E-04
   4  Prefactor     1.7136        .11180        .50189E-01   -.34995E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.576717
  Index      = 4.32905
  Normalizat = 0.475162
  Prefactor  = 1.71357
 **********
 **   18 **HESSE 
 **********

 FCN=   3091.938     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      321 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57672        140.73        .90388E-04   -1.5860    
   2  Index         4.3290        7.0214        .85791E-02   -.13460    
   3  Normalizat    .47516        .34364        .44867E-03   -1.1358    
   4  Prefactor     1.7136        .30417        .22185E-03   -.71721    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.15292e-09
Minuit parameter uncertainties:
  1  18.0597
  2  18.5662
  3  0.34518
  4  0.304498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/463629': 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) = 3091.93809598
delta logL = 0.107093094182

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  5.767e-01  1.806e+01  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  4.329e+00  1.857e+01  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:  1.714e+00  3.045e-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:  4.752e-01  3.452e-01  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/463629/cmap_HighResolution_585532801_586137601_4FGL_J0809.3+4053_weekly_bin573.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-02', job_status='DONE', photon_flux_upper_limit='2.57e-07', time_completed='2021-07-12 02:10:34.806625', job_id='463629', GAL2='1.71', fit_tolerance='1e-08', EG2='0.48', EG='0.52', time_epoch_completed='1626081034.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.70', dlogl='1.07e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='573' AND source_name='4FGL J0809.3+4053' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Mon Jul 12 02:10:34 PDT 2021

r <slac> at Mon Jul 12 01:23:53 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 12 01:53:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 12 01:53:32 2021
Terminated at Mon Jul 12 02:07:20 2021
Results reported at Mon Jul 12 02:07:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.3+4053_weekly_bin573 122.33 40.8954 585532801 586137601 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 :                                   555.00 sec.
    Max Memory :                                 620 MB
    Average Memory :                             206.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            2607 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 463629: <4FGL_J0809.3+4053_weekly_bin573> in cluster <slac> Done

Job <4FGL_J0809.3+4053_weekly_bin573> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Mon Jul 12 01:23:24 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 12 01:50:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 12 01:50:17 2021
Terminated at Mon Jul 12 02:10:41 2021
Results reported at Mon Jul 12 02:10:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.3+4053_weekly_bin573 122.33 40.8954 585532801 586137601 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 :                                   460.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             155.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1223 sec.
    Turnaround time :                            2837 sec.

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

