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 73 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_J0800.9+4401_daily_bin1757
RA = 120.246, Dec = 44.0181
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='190351', job_status='RUN', time_executed='2023-01-10 00:32:40.476616', time_epoch_executed='1673339560.48' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/190351

Creating custom pfile directory:
/scratch/kocevski/190351/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/190351/ft1_4FGL_J0800.9+4401_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/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/190351/ft1_4FGL_J0800.9+4401_daily_bin1757.fits outfile=/scratch/kocevski/190351/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1757.fits ra=120.246 dec=44.0181 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.93
user 2.68
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/190351/ft2_4FGL_J0800.9+4401_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/190351/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/190351/ft1_filtered_4FGL_J0800.9+4401_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.34
sys 0.15

Number of photons that the gtmktime cut: 18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/190351/ft1_filtered_4FGL_J0800.9+4401_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/190351/ltcube_694742401_695001601_4FGL_J0800.9+4401_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/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits
.....................!
real 16.22
user 15.68
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/190351/ft1_filtered_4FGL_J0800.9+4401_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/190351/ltcube_694742401_695001601_4FGL_J0800.9+4401_daily_bin1757.fits outfile=/scratch/kocevski/190351/expmap_694742401_695001601_4FGL_J0800.9+4401_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/190351/ltcube_694742401_695001601_4FGL_J0800.9+4401_daily_bin1757.fits
.....................!
real 193.38
user 186.34
sys 6.11

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/190351/ft1_filtered_4FGL_J0800.9+4401_daily_bin1757.fits scfile=/scratch/kocevski/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits outfile=/scratch/kocevski/190351/cmap_694742401_695001601_4FGL_J0800.9+4401_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=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.59
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/190351/ft1_filtered_4FGL_J0800.9+4401_daily_bin1757.fits scfile=/scratch/kocevski/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits outfile=/scratch/kocevski/190351/cmap_HighResolution_694742401_695001601_4FGL_J0800.9+4401_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=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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/190351/ft1_filtered_4FGL_J0800.9+4401_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/190351/Model_4FGL_J0800.9+4401_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/190351/ft1_filtered_4FGL_J0800.9+4401_daily_bin1757.fits..................!
real 16.18
user 14.40
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/190351/ft1_filtered_4FGL_J0800.9+4401_daily_bin1757.fits', '/scratch/kocevski/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits', expMap='/scratch/kocevski/190351/expmap_694742401_695001601_4FGL_J0800.9+4401_daily_bin1757.fits', expCube='/scratch/kocevski/190351/ltcube_694742401_695001601_4FGL_J0800.9+4401_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/190351/Model_4FGL_J0800.9+4401_daily_bin1757.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/190351/ft1_filtered_4FGL_J0800.9+4401_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/190351/ft2_4FGL_J0800.9+4401_daily_bin1757.fits
Exposure map: /scratch/kocevski/190351/expmap_694742401_695001601_4FGL_J0800.9+4401_daily_bin1757.fits
Exposure cube: /scratch/kocevski/190351/ltcube_694742401_695001601_4FGL_J0800.9+4401_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/190351/Model_4FGL_J0800.9+4401_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) = 186.548705871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80692       1.0000          .0000       .10000E+07
     2 'norm      '    .11263E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17695       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15879       1.0000          .0000       .10000E+07
     5 'norm      '    .99987E+06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .99519E+06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .99999E+06   1.0000          .0000       .10000E+07
     8 'norm      '    .66311       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5033       1.0000          .0000       .10000E+07
    10 'Prefactor '    867.55       1.0000          .0000       .10000E+07
    11 'norm      '    .99965E+06   1.0000          .0000       .10000E+07
    12 'norm      '    161.24       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34591       1.0000          .0000       .10000E+07
    14 'Prefactor '    .91665       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14425E-03   1.0000          .0000       .10000E+07
    16 'norm      '    33.462       1.0000          .0000       .10000E+07
    17 'norm      '    .64554E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .27811E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .89943E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .12754E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    29.578       1.0000          .0000       .10000E+07
    22 'Prefactor '    .35717E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .21948E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .56677E-07   1.0000          .0000       .10000E+07
    25 'norm      '    .17679E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    .49430E-09   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=   186.5408     FROM MIGRAD    STATUS=CONVERGED    211 CALLS     3336 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18152E-07    292.59       -.27910E-06** at limit **
   2  norm          .44903E-06    137.38        .11283E-06** at limit **
   3  Prefactor     .17654E-01    171.68       -.67918E-06** at limit **
   4  Prefactor     .11605E-02    21.781        .11478E-06** at limit **
   5  norm          .99987E+06    23.450        .11549E-06   -.36267E-01
   6  Prefactor     .99519E+06    4.9966        .39320E-08   -.46332E-01
   7  Prefactor     .99999E+06    81.447        .10041E-05   -.20469E-01
   8  norm          .22204E-09    137.66        .32028E-07** at limit **
   9  Prefactor     .11143E-02    2566.2       -.14753E-05** at limit **
  10  Prefactor     866.12        35.065       -.66274E-07    .14181    
  11  norm          .99965E+06    16.506        .49193E-07   -.41945E-01
  12  norm          140.93        456.62       -.21574E-05   -.16240E-01
  13  Prefactor     .40892E-01    333.40        .21593E-06** at limit **
  14  Prefactor     .65478E-03    842.99       -.38648E-06** at limit **
  15  Prefactor     .12206E-05    158.06        .61435E-06** at limit **
  16  norm          34.206        42.894        .28209E-06   -.62764E-03
  17  norm          .55511E-10    14.070        .90230E-07** at limit **
  18  norm           .0000        3.0992        .19250E-08** at limit **
  19  Prefactor     .16653E-09    73.987       -.11927E-06** at limit **
  20  Prefactor      .0000        12.430        .14682E-07** at limit **
  21  Prefactor     28.171        100.02        .29793E-06   -.44903E-01
  22  Prefactor     .43299E-08    88.188       -.88117E-06** at limit **
  23  Prefactor      .0000        14.083       -.70814E-08** at limit **
  24  norm          .55511E-10    7.9074       -.81613E-07** at limit **
  25  norm           .0000        6.3118        .16026E-07** at limit **
  26  Normalizat    .10000E-01    .23527       -.28138E-05** at limit **
  27  Prefactor     .93647E-12    .58696       -.47980E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81521e-08
  norm       = 4.4903e-07
  Prefactor  = 0.0176538
  Prefactor  = 0.00116055
  norm       = 999873
  Prefactor  = 995186
  Prefactor  = 999993
  norm       = 2.22045e-10
  Prefactor  = 0.00111426
  Prefactor  = 866.124
  norm       = 999653
  norm       = 140.93
  Prefactor  = 0.0408919
  Prefactor  = 0.00065478
  Prefactor  = 1.22058e-06
  norm       = 34.206
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 28.1715
  Prefactor  = 4.32987e-09
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 0
  Normalizat = 0.01
  Prefactor  = 9.36473e-13
 **********
 **   18 **HESSE 
 **********

 FCN=   186.5408     FROM HESSE     STATUS=OK           520 CALLS     3856 TOTAL
                     EDM=   .17E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18152E-07    293.63        .52420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .44903E-06    137.99        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .17654E-01    11592.        .12201E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11605E-02    1313.4        .12561E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .99987E+06    .14758E+06    .88340E-04    1.5482    
   6  Prefactor     .99519E+06    .82250E+06    .14447E-04    1.4319    
   7  Prefactor     .99999E+06    63834.        .32973E-03    1.5655    
   8  norm          .22204E-09    137.88        .63755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11143E-02    2716.8        .87275E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     866.12        94993.        .33966E-04   -1.5119    
  11  norm          .99965E+06    .20596E+06    .53655E-04    1.5335    
  12  norm          140.93        467.83        .78760E-04   -1.5471    
  13  Prefactor     .40892E-01    5089.9        .96041E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65478E-03    1326.5        .44616E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12206E-05    162.17        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          34.206        43.365        .17289E-03   -1.5591    
  17  norm          .55511E-10    14.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        3.1220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16653E-09    74.688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        12.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     28.171        279.01        .18390E-03   -1.5602    
  22  Prefactor     .43299E-08    89.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        14.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    8.0334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        6.3848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .10000E-01    .23533        .93803E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .93647E-12    .47288        .14597       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.016935
Minuit parameter uncertainties:
  1  0.00461609
  2  0.0157439
  3  28.6656
  4  2.46975
  5  8894.94
  6  120179
  7  1364.37
  8  0.000344553
  9  3.48137
  10  18450
  11  17548.4
  12  467.95
  13  28.8783
  14  1.86437
  15  0.0281389
  16  43.3652
  17  5.44508e-05
  18  7.04366e-07
  19  0.000230426
  20  1.07757e-05
  21  177.327
  22  0.00124521
  23  4.22799e-06
  24  3.00718e-05
  25  7.19949e-06
  26  4.94471e-07
  27  1.34164e-06
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  4.089e-02  2.888e+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:  9.365e-13  1.342e-06  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  4.945e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 120.246 44.018
Photon Flux Upper Limit: 1.51e-05 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/190351/likelihoodResults_694742401_695001601_4FGL_J0800.9+4401_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): 102
logL (Free Index) = 186.540851505
delta logL = -2.64338223133e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 186.540849731
delta logL = -8.69486768806e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   186.5408     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      251 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86531E-06    .10118E+06    .31849E-02** at limit **
   2  Index         2.2084        8.6564        .50000       -.38703E-08
   3  Normalizat    .10000E-01    .61306E-02    .40514E-02** at limit **
   4  Prefactor     .55684E-10    .13387E-01    .53689E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.65308e-07
  Index      = 2.20841
  Normalizat = 0.01
  Prefactor  = 5.56843e-11
 **********
 **   18 **HESSE 
 **********

 FCN=   186.5408     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86531E-06    .65009E+06    .63698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2084        5.4812        .50000       -.59236    
   3  Normalizat    .10000E-01    .20603E-01    .81028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55684E-10    .44986E-01    .10738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.42303e-09
Minuit parameter uncertainties:
  1  1.07874
  2  27.1292
  3  4.07923e-07
  4  3.16783e-06
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/190351': 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) = 186.540844847
delta logL = 4.01468790301e-06

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  8.653e-07  1.079e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.208e+00  2.713e+01  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:  5.568e-11  3.168e-06  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  4.079e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 120.246 44.018

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/190351/cmap_HighResolution_694742401_695001601_4FGL_J0800.9+4401_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e+00', job_status='DONE', photon_flux_upper_limit='1.51e-05', time_completed='2023-01-10 00:38:35.018058', job_id='190351', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673339915.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.00', dlogl='4.01e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1757' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:38:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 190351: <4FGL_J0800.9+4401_daily_bin1757> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin1757> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 10 00:30:17 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:31:18 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:18 2023
Terminated at Tue Jan 10 00:38:35 2023
Results reported at Tue Jan 10 00:38:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1757 120.246 44.0181 694742401 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 :                                   355.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             464.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   437 sec.
    Turnaround time :                            498 sec.

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

