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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin1709
RA = 120.246, Dec = 44.0181
tmin = 682300801, tmax = 682560001
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='60850', job_status='RUN', time_executed='2022-09-16 13:31:17.705902', time_epoch_executed='1663360277.71' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/60850

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/60850/ft1_4FGL_J0800.9+4401_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/60850/ft2_4FGL_J0800.9+4401_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/60850/ft1_4FGL_J0800.9+4401_daily_bin1709.fits outfile=/scratch/kocevski/60850/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1709.fits ra=120.246 dec=44.0181 rad=12.0 tmin=682300801.0 tmax=682560001.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 3.78
user 3.51
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/60850/ft2_4FGL_J0800.9+4401_daily_bin1709.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/60850/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/60850/ft1_filtered_4FGL_J0800.9+4401_daily_bin1709.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.50
user 0.36
sys 0.13

Number of photons that the gtmktime cut: 707

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/60850/ft1_filtered_4FGL_J0800.9+4401_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/60850/ft2_4FGL_J0800.9+4401_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/60850/ltcube_682300801_682560001_4FGL_J0800.9+4401_daily_bin1709.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/60850/ft2_4FGL_J0800.9+4401_daily_bin1709.fits
.....................!
real 14.63
user 14.21
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/60850/ft1_filtered_4FGL_J0800.9+4401_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/60850/ft2_4FGL_J0800.9+4401_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/60850/ltcube_682300801_682560001_4FGL_J0800.9+4401_daily_bin1709.fits outfile=/scratch/kocevski/60850/expmap_682300801_682560001_4FGL_J0800.9+4401_daily_bin1709.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/60850/ltcube_682300801_682560001_4FGL_J0800.9+4401_daily_bin1709.fits
.....................!
real 192.40
user 186.55
sys 5.51

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/60850/ft1_filtered_4FGL_J0800.9+4401_daily_bin1709.fits scfile=/scratch/kocevski/60850/ft2_4FGL_J0800.9+4401_daily_bin1709.fits outfile=/scratch/kocevski/60850/cmap_682300801_682560001_4FGL_J0800.9+4401_daily_bin1709.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/60850/ft1_filtered_4FGL_J0800.9+4401_daily_bin1709.fits scfile=/scratch/kocevski/60850/ft2_4FGL_J0800.9+4401_daily_bin1709.fits outfile=/scratch/kocevski/60850/cmap_HighResolution_682300801_682560001_4FGL_J0800.9+4401_daily_bin1709.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11459E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .16276E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.2038       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40669E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .84837E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.538       1.0000          .0000       .10000E+07
     7 'Prefactor '    22.908       1.0000          .0000       .10000E+07
     8 'norm      '    .49738E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2170       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14232E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .11158E-01   1.0000          .0000       .10000E+07
    12 'norm      '    1.6734       1.0000          .0000       .10000E+07
    13 'Prefactor '    .65004E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    35.990       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.4785       1.0000          .0000       .10000E+07
    16 'norm      '    .20178E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.5321       1.0000          .0000       .10000E+07
    18 'norm      '    2.0087       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6766       1.0000          .0000       .10000E+07
    20 'Prefactor '    .69610E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    31.020       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61916E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    10.197       1.0000          .0000       .10000E+07
    24 'norm      '    4.3784       1.0000          .0000       .10000E+07
    25 'norm      '    2.5869       1.0000          .0000       .10000E+07
    26 'Normalizat'    .96999       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .93298       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=   7568.545     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2420 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.0908        .10203E-05** at limit **
   2  norm          .11102E-09    5.4098        .64617E-06** at limit **
   3  Prefactor     2.2465        4.8114       -.49563E-07   -.12772E-02
   4  Prefactor     .36082E-08    41.355       -.29824E-05** at limit **
   5  norm          .55511E-10    12.555       -.71478E-06** at limit **
   6  Prefactor     11.561        3.8004       -.40637E-06    .54898E-02
   7  Prefactor     23.100        1.3567        .72766E-07   -.10153E-01
   8  norm          .55511E-10    .44743       -.88905E-07** at limit **
   9  Prefactor     3.2039        7.3041       -.20750E-06   -.48344E-02
  10  Prefactor     .13878E-08    20.060       -.27371E-06** at limit **
  11  norm           .0000        7.4028       -.71410E-06** at limit **
  12  norm          1.6728        2.1815       -.12402E-06   -.10136E-01
  13  Prefactor     .10547E-08    9.3507        .82143E-06** at limit **
  14  Prefactor     36.562        40.195        .95267E-06    .49983E-03
  15  Prefactor     5.4562        4.1838        .37887E-07    .24183E-02
  16  norm          .16653E-09    2.8297        .16550E-06** at limit **
  17  norm          1.5324        1.0662        .27837E-07    .24141E-02
  18  norm          2.0090        .64879        .21292E-07    .13688E-01
  19  Prefactor     3.6505        2.2395       -.10751E-06    .22146E-02
  20  Prefactor     .33307E-09    1.1916       -.25059E-06** at limit **
  21  Prefactor     30.967        2.1057        .10293E-06   -.30817E-01
  22  Prefactor      .0000        4.0534       -.12837E-05** at limit **
  23  Prefactor     10.187        6.6830       -.19620E-06   -.46147E-02
  24  norm          4.3617        6.3215       -.11775E-06    .10582E-03
  25  norm          2.6108        4.8461        .16063E-06    .19530E-02
  26  Normalizat    .96984        .19015       -.49671E-05   -.44804E-03
  27  Prefactor     .93283        .13443        .18587E-05   -.41757E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 2.24649
  Prefactor  = 3.60822e-09
  norm       = 5.55112e-11
  Prefactor  = 11.5607
  Prefactor  = 23.0999
  norm       = 5.55112e-11
  Prefactor  = 3.20393
  Prefactor  = 1.38778e-09
  norm       = 0
  norm       = 1.67278
  Prefactor  = 1.05471e-09
  Prefactor  = 36.5615
  Prefactor  = 5.45625
  norm       = 1.66533e-10
  norm       = 1.53238
  norm       = 2.009
  Prefactor  = 3.65051
  Prefactor  = 3.33067e-10
  Prefactor  = 30.9674
  Prefactor  = 0
  Prefactor  = 10.187
  norm       = 4.36168
  norm       = 2.61084
  Normalizat = 0.969842
  Prefactor  = 0.932833
 **********
 **   18 **HESSE 
 **********

 FCN=   7568.545     FROM HESSE     STATUS=OK           548 CALLS     2968 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.3931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    5.4904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2465        4.8870        .69274E-03   -1.5678    
   4  Prefactor     .36082E-08    10.716        .88306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-10    12.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.561        10.249        .29468E-03   -1.5640    
   7  Prefactor     23.100        20.822        .20898E-03   -1.5612    
   8  norm          .55511E-10    .42755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2039        7.3816        .56457E-03   -1.5672    
  10  Prefactor     .13878E-08    19.985        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.3988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6728        2.2139        .81444E-03   -1.5682    
  13  Prefactor     .10547E-08    9.3439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     36.562        40.218        .16671E-03   -1.5587    
  15  Prefactor     5.4562        4.2187        .42904E-03   -1.5661    
  16  norm          .16653E-09    2.7948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5324        1.0670        .86182E-04   -1.5683    
  18  norm          2.0090        .65850        .73022E-03   -1.5680    
  19  Prefactor     3.6505        11.194        .52652E-03   -1.5670    
  20  Prefactor     .33307E-09    1.1893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     30.967        25.023        .17957E-03   -1.5597    
  22  Prefactor      .0000        4.2835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.187        6.6880        .31353E-03   -1.5644    
  24  norm          4.3617        6.3629        .48110E-03   -1.5666    
  25  norm          2.6108        4.8938        .63420E-03   -1.5676    
  26  Normalizat    .96984        .16992        .45790E-01   -.94048    
  27  Prefactor     .93283        .11824        .45424E-01   -.95003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08205e-07
Minuit parameter uncertainties:
  1  4.30977e-06
  2  5.51148e-05
  3  4.88704
  4  0.000392563
  5  3.88187e-05
  6  10.249
  7  20.822
  8  9.47383e-06
  9  7.38162
  10  0.000334144
  11  1.09134e-05
  12  2.21386
  13  0.000199197
  14  40.2182
  15  4.21869
  16  4.62556e-05
  17  1.06703
  18  0.658503
  19  11.1945
  20  4.13103e-05
  21  25.0233
  22  2.17356e-05
  23  6.68805
  24  6.36288
  25  4.89383
  26  0.170018
  27  0.118272
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.055e-09  1.992e-04  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.328e-01  1.183e-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:  9.698e-01  1.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 120.246 44.018
Photon Flux Upper Limit: 6.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/60850/likelihoodResults_682300801_682560001_4FGL_J0800.9+4401_daily_bin1709.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) = 7568.60047048
delta logL = -0.0557806676188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7568.2742401
delta logL = 0.270449710102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95768E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.1996       1.0000          .0000       10.000    
     3 'Normalizat'    .93212       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94710       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.

 FCN=   7568.274     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      245 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95397E-01    1.6460        .82319E-03** at limit **
   2  Index         4.2013        2.2875        .11695        .17711E-03
   3  Normalizat    .93206        .26741E-01    .45311E-01    .54399E-05
   4  Prefactor     .94716        .19357E-01    .45602E-01   -.56004E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0953974
  Index      = 4.20132
  Normalizat = 0.93206
  Prefactor  = 0.947156
 **********
 **   18 **HESSE 
 **********

 FCN=   7568.274     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      278 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95397E-01    9.3851        .36371E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2013        7.0355        .68308E-02   -.16042    
   3  Normalizat    .93206        .15085        .28172E-03   -.95343    
   4  Prefactor     .94716        .10667        .20137E-03   -.94512    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.57377e-06
Minuit parameter uncertainties:
  1  1.89242
  2  8.0908
  3  0.150922
  4  0.10669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/60850': 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) = 7568.27423976
delta logL = 0.270450052787

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  9.540e-02  1.892e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  4.201e+00  8.091e+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:  9.472e-01  1.067e-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:  9.321e-01  1.509e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/60850/cmap_HighResolution_682300801_682560001_4FGL_J0800.9+4401_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-03', job_status='DONE', photon_flux_upper_limit='6.48e-08', time_completed='2022-09-16 13:45:24.854412', job_id='60850', GAL2='0.95', fit_tolerance='1e-08', EG2='0.93', EG='0.97', time_epoch_completed='1663361124.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.70e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1709' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:45:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 60850: <4FGL_J0800.9+4401_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin1709> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 13:30:15 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:30:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:30:33 2022
Terminated at Fri Sep 16 13:45:25 2022
Results reported at Fri Sep 16 13:45:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1709 120.246 44.0181 682300801 682560001 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 :                                   849.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            910 sec.

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

