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


Performing analysis on: 4FGL_J0800.9+4401_weekly_bin753
RA = 120.246, Dec = 44.0181
tmin = 694396801, 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='228254', job_status='RUN', time_executed='2023-01-10 02:47:11.144807', time_epoch_executed='1673347631.14' WHERE source_name='4FGL J0800.9+4401' and cadence='weekly' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/228254

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=694396801.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>=694396801.0 && nMetStart<695001601.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/228254/ft1_4FGL_J0800.9+4401_weekly_bin753.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/228254/ft1_4FGL_J0800.9+4401_weekly_bin753.fits outfile=/scratch/kocevski/228254/ft1_filteredMKT_4FGL_J0800.9+4401_weekly_bin753.fits ra=120.246 dec=44.0181 rad=12.0 tmin=694396801.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 6.19
user 5.89
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.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/228254/ft1_filteredMKT_4FGL_J0800.9+4401_weekly_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.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.57
user 0.40
sys 0.16

Number of photons that the gtmktime cut: 37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/228254/ltcube_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.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/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits
.....................!
real 34.41
user 33.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/228254/ltcube_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.fits outfile=/scratch/kocevski/228254/expmap_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.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/228254/ltcube_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.fits
.....................!
real 191.36
user 186.62
sys 4.35

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

Setting source of interest to:
4FGL J0800.9+4401 @ 120.246 44.0181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.fits scfile=/scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits outfile=/scratch/kocevski/228254/cmap_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.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=120.246 yref=44.0181 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.60
user 0.44
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.fits scfile=/scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits outfile=/scratch/kocevski/228254/cmap_HighResolution_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.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=120.246 yref=44.0181 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.60
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/228254/Model_4FGL_J0800.9+4401_weekly_bin753.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/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.fits.....................................!
real 18.07
user 16.73
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.fits', '/scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits', expMap='/scratch/kocevski/228254/expmap_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.fits', expCube='/scratch/kocevski/228254/ltcube_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/228254/Model_4FGL_J0800.9+4401_weekly_bin753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0800.9+4401'

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.350e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/228254/ft1_filtered_4FGL_J0800.9+4401_weekly_bin753.fits
Spacecraft file(s): /scratch/kocevski/228254/ft2_4FGL_J0800.9+4401_weekly_bin753.fits
Exposure map: /scratch/kocevski/228254/expmap_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.fits
Exposure cube: /scratch/kocevski/228254/ltcube_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/228254/Model_4FGL_J0800.9+4401_weekly_bin753.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33307E-09   1.0000          .0000       .10000E+07
     2 'norm      '    .27645E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .38078E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.064       1.0000          .0000       .10000E+07
     5 'norm      '    2.0732       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31405E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    50.086       1.0000          .0000       .10000E+07
     8 'norm      '    1.8576       1.0000          .0000       .10000E+07
     9 'Prefactor '    .78392E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11580E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
    12 'norm      '    .16098E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .51113E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2690.8       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10193E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .68053E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .26930E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .44409E-09   1.0000          .0000       .10000E+07
    19 'Prefactor '    .17660E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.5134       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13952E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .56785E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    18.511       1.0000          .0000       .10000E+07
    24 'norm      '    .46453E-03   1.0000          .0000       .10000E+07
    25 'norm      '    1.8960       1.0000          .0000       .10000E+07
    26 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    .61916       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   447.7107     FROM MIGRAD    STATUS=CONVERGED    226 CALLS     3712 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    6.4517       -.43745E-07** at limit **
   2  norm           .0000        9.5685       -.27943E-07** at limit **
   3  Prefactor     .77815E-05    104.21        .44979E-06** at limit **
   4  Prefactor     27.110        2.3413       -.12640E-07    .15106E-01
   5  norm          2.1445        127.33       -.17854E-05    .13030E-01
   6  Prefactor     .17604E-03    51.841       -.25768E-06** at limit **
   7  Prefactor     50.003        5.4104       -.38786E-07   -.99131E-02
   8  norm          1.8575        3.8135       -.36167E-07    .15556E-03
   9  Prefactor     .10024E-03    129.18        .46866E-07** at limit **
  10  Prefactor     .61870E-02    672.18        .17931E-05** at limit **
  11  norm          .10000E+07    1.8374       -.70385E-07   -.56594E-02
  12  norm          .55511E-10    23.365       -.10172E-07** at limit **
  13  Prefactor     .41605E-01    566.62        .17161E-05** at limit **
  14  Prefactor     2690.8        1.1194       -.46431E-09   -.15284E-01
  15  Prefactor     .66654E-03    132.25        .25541E-06** at limit **
  16  norm           .0000        43.362       -.27886E-06** at limit **
  17  norm          .22760E-08    27.781       -.25561E-07** at limit **
  18  norm           .0000        3.3293       -.21135E-07** at limit **
  19  Prefactor     .11865E-03    91.123        .25391E-06** at limit **
  20  Prefactor     9.4872        23.770       -.17637E-06    .85863E-02
  21  Prefactor     .33464E-03    141.79        .10315E-07** at limit **
  22  Prefactor     .49531E-04    84.979       -.40607E-06** at limit **
  23  Prefactor     18.522        22.286       -.12730E-06    .19441E-02
  24  norm          .65750E-05    34.762       -.22264E-06** at limit **
  25  norm          1.8720        29.084        .30210E-06    .16942E-02
  26  Normalizat    .10000E-01    1.6265        .23797E-05** at limit **
  27  Prefactor     .61898        .23375        .41441E-05    .48084E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 7.7815e-06
  Prefactor  = 27.1099
  norm       = 2.14451
  Prefactor  = 0.000176041
  Prefactor  = 50.0025
  norm       = 1.85755
  Prefactor  = 0.00010024
  Prefactor  = 0.00618697
  norm       = 999999
  norm       = 5.55112e-11
  Prefactor  = 0.0416049
  Prefactor  = 2690.81
  Prefactor  = 0.00066654
  norm       = 0
  norm       = 2.27596e-09
  norm       = 0
  Prefactor  = 0.000118649
  Prefactor  = 9.48716
  Prefactor  = 0.00033464
  Prefactor  = 4.95314e-05
  Prefactor  = 18.5222
  norm       = 6.57496e-06
  norm       = 1.87196
  Normalizat = 0.01
  Prefactor  = 0.618984
 **********
 **   18 **HESSE 
 **********

 FCN=   447.7107     FROM HESSE     STATUS=OK           538 CALLS     4250 TOTAL
                     EDM=   .45E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    6.4374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        9.5496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .77815E-05    106.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.110        82.832        .19226E-03   -1.5604    
   5  norm          2.1445        151.60        .71711E-03   -1.5679    
   6  Prefactor     .17604E-03    140.29        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     50.003        350.88        .14131E-03   -1.5567    
   8  norm          1.8575        3.9231        .76437E-03   -1.5681    
   9  Prefactor     .10024E-03    387.78        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .61870E-02    993.68        .42118E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E+07    81700.        .42118E-03    1.5689    
  12  norm          .55511E-10    23.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .41605E-01    1934.1        .42118E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2690.8        3197.6        .19304E-04   -1.4670    
  15  Prefactor     .66654E-03    424.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        176.48        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .22760E-08    27.776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        3.3251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11865E-03    120.12        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4872        24.437        .32467E-03   -1.5646    
  21  Prefactor     .33464E-03    377.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .49531E-04    172.32        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     18.522        22.508        .23251E-03   -1.5622    
  24  norm          .65750E-05    184.49        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.8720        34.362        .75519E-03   -1.5681    
  26  Normalizat    .10000E-01    1.1665        .17890       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .61898        .28329        .41315E-01   -1.0679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53856e-05
Minuit parameter uncertainties:
  1  3.6371e-05
  2  1.44769e-06
  3  0.0575607
  4  82.8356
  5  36.062
  6  0.314306
  7  264.935
  8  3.92314
  9  0.394338
  10  4.95981
  11  551.398
  12  7.65723e-05
  13  17.9465
  14  3199.65
  15  1.06369
  16  5.44503e-05
  17  0.000503509
  18  1.39658e-05
  19  0.238771
  20  24.4376
  21  0.711323
  22  0.184781
  23  22.5079
  24  0.0696583
  25  16.0405
  26  3.79767e-06
  27  0.283948
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  4.160e-02  1.795e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  6.190e-01  2.839e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.000e-02  3.798e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 120.246 44.018
Photon Flux Upper Limit: 8.91e-06 ph cm-2 s-1
Energy Flux Upper Limit: 6.78e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/228254/likelihoodResults_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.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) = 447.710672565
delta logL = -2.39499991039e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 447.710662215
delta logL = 7.95551284227e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23553E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.1578       1.0000          .0000       10.000    
     3 'Normalizat'    .10007E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61903       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   444.9846     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      267 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.923        49.365        .43476E-05   -.35278E-02
   2  Index         4.6968        1.1980       -.94882E-04   -.19621E-03
   3  Normalizat    .10000E-01    .20309        .27446E-04** at limit **
   4  Prefactor     .46637        .17903        .13260E-04    .49882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9233
  Index      = 4.69679
  Normalizat = 0.01
  Prefactor  = 0.466374
 **********
 **   18 **HESSE 
 **********

 FCN=   444.9846     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      302 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.923        261.64        .42118E-03   -1.5626    
   2  Index         4.6968        3.0030        .24953E-01   -.60679E-01
   3  Normalizat    .10000E-01    .14159        .13302       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .46637        .16293        .41313E-01   -1.1355    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.78401e-11
Minuit parameter uncertainties:
  1  133.089
  2  3.22226
  3  6.82179e-07
  4  0.163093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/228254': 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) = 444.984568773
delta logL = 2.72610139698

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.692e+01  1.331e+02  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  4.697e+00  3.222e+00  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  4.664e-01  1.631e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.000e-02  6.822e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.15
Ra Dec: 120.246 44.018
Photon Index (Free Index): 4.70 +/- 3.22
Photon Flux (Free Index): 2.08e-05 +/- 1.09e-05
Energy Flux (Free Index): 2.85e-03 +/- 1.40e-03

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/228254/cmap_HighResolution_694396801_695001601_4FGL_J0800.9+4401_weekly_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-01', comment='SUCCESS', energy_flux2='2.85e-03', dlogl='2.73e+00', photon_flux2='2.08e-05', job_status='DONE', time_completed='2023-01-10 02:54:08.280122', photon_index_error2='3.22', photon_index2='4.70', ts='-0.00', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', photon_flux_upper_limit='8.91e-06', energy_flux_error2='1.40e-03', EG='0.01', time_epoch_completed='1673348048.28', return_code='0', job_id='228254', GAL2='0.47', EG2='0.01', return_code2='102', photon_flux_error2='1.09e-05', ts2='6.15', photon_index='2.17' WHERE bin_id='753' AND source_name='4FGL J0800.9+4401' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:54:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 228254: <4FGL_J0800.9+4401_weekly_bin753> in cluster <slac> Done

Job <4FGL_J0800.9+4401_weekly_bin753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jan 10 02:40:31 2023
Job was executed on host(s) <bullet0176>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:44:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:44:17 2023
Terminated at Tue Jan 10 02:54:09 2023
Results reported at Tue Jan 10 02:54:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_weekly_bin753 120.246 44.0181 694396801 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0800.9+4401 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   418.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            818 sec.

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

