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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin1744
RA = 120.246, Dec = 44.0181
tmin = 691372801, tmax = 691632001
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='570741', job_status='RUN', time_executed='2022-12-02 00:27:24.438196', time_epoch_executed='1669969644.44' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570741

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570741/ft1_4FGL_J0800.9+4401_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570741/ft2_4FGL_J0800.9+4401_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570741/ft1_4FGL_J0800.9+4401_daily_bin1744.fits outfile=/scratch/kocevski/570741/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1744.fits ra=120.246 dec=44.0181 rad=12.0 tmin=691372801.0 tmax=691632001.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.52
user 2.34
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/570741/ft2_4FGL_J0800.9+4401_daily_bin1744.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/570741/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/570741/ft1_filtered_4FGL_J0800.9+4401_daily_bin1744.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 495

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570741/ft1_filtered_4FGL_J0800.9+4401_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/570741/ft2_4FGL_J0800.9+4401_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/570741/ltcube_691372801_691632001_4FGL_J0800.9+4401_daily_bin1744.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/570741/ft2_4FGL_J0800.9+4401_daily_bin1744.fits
.....................!
real 12.81
user 12.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570741/ft1_filtered_4FGL_J0800.9+4401_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/570741/ft2_4FGL_J0800.9+4401_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/570741/ltcube_691372801_691632001_4FGL_J0800.9+4401_daily_bin1744.fits outfile=/scratch/kocevski/570741/expmap_691372801_691632001_4FGL_J0800.9+4401_daily_bin1744.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/570741/ltcube_691372801_691632001_4FGL_J0800.9+4401_daily_bin1744.fits
.....................!
real 192.35
user 187.67
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/570741/ft1_filtered_4FGL_J0800.9+4401_daily_bin1744.fits scfile=/scratch/kocevski/570741/ft2_4FGL_J0800.9+4401_daily_bin1744.fits outfile=/scratch/kocevski/570741/cmap_691372801_691632001_4FGL_J0800.9+4401_daily_bin1744.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570741/ft1_filtered_4FGL_J0800.9+4401_daily_bin1744.fits scfile=/scratch/kocevski/570741/ft2_4FGL_J0800.9+4401_daily_bin1744.fits outfile=/scratch/kocevski/570741/cmap_HighResolution_691372801_691632001_4FGL_J0800.9+4401_daily_bin1744.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85502E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.0290       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13605E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    14.008       1.0000          .0000       .10000E+07
     5 'norm      '    .27405E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .84827E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17911E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .44964E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96929E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    19.080       1.0000          .0000       .10000E+07
    11 'norm      '    .24735E-04   1.0000          .0000       .10000E+07
    12 'norm      '    1.5181       1.0000          .0000       .10000E+07
    13 'Prefactor '    16.954       1.0000          .0000       .10000E+07
    14 'Prefactor '    .71856E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    22.779       1.0000          .0000       .10000E+07
    16 'norm      '    .13102E-04   1.0000          .0000       .10000E+07
    17 'norm      '    4.8321       1.0000          .0000       .10000E+07
    18 'norm      '    .81695       1.0000          .0000       .10000E+07
    19 'Prefactor '    .20123E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4293       1.0000          .0000       .10000E+07
    21 'Prefactor '    .36645E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    25.963       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
    24 'norm      '    1.4637       1.0000          .0000       .10000E+07
    25 'norm      '    9.5286       1.0000          .0000       .10000E+07
    26 'Normalizat'    .84725       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1923       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=   5523.539     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     2316 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    2.7337        .39099E-07** at limit **
   2  norm          4.0587        6.1124       -.68213E-07    .17288E-02
   3  Prefactor     .78604E-07    2.3621       -.21868E-07** at limit **
   4  Prefactor     14.056        13.569        .30264E-07   -.11727    
   5  norm          .19984E-07    3.0895        .16071E-06** at limit **
   6  Prefactor     .99920E-09    1.6753       -.10286E-07** at limit **
   7  Prefactor     .76794E-06    13.302        .11713E-06** at limit **
   8  norm          .55511E-10    .29468        .42454E-07** at limit **
   9  Prefactor     .70499E-08    1.7356       -.13357E-07** at limit **
  10  Prefactor     19.084        1.2804       -.85172E-10    .69871E-02
  11  norm          .10825E-07    2.6436       -.28015E-07** at limit **
  12  norm          1.5205        3.1383        .81357E-07    .39429E-02
  13  Prefactor     16.998        1.1772        .37118E-08   -.19175E-03
  14  Prefactor     .14988E-08    1.6742        .14964E-07** at limit **
  15  Prefactor     22.784        1.1365        .50298E-08   -.16797E-02
  16  norm          .62395E-07    2.2735        .60118E-07** at limit **
  17  norm          4.8334        2.2418       -.14962E-07   -.44631E-02
  18  norm          .81763        .56970       -.99764E-08   -.69331E-02
  19  Prefactor     .21855E-06    5.3243        .29390E-07** at limit **
  20  Prefactor     4.4277        3.5487       -.78216E-09   -.48889E-03
  21  Prefactor     .83572E-06    11.566        .13369E-06** at limit **
  22  Prefactor     26.044        1.0911        .52603E-09   -.14209E-02
  23  Prefactor     1.8382        6.7937       -.21751E-06    .15172E-01
  24  norm          1.4706        4.5936       -.15079E-06   -.20210E-02
  25  norm          9.5225        6.7457       -.73468E-07   -.65299E-01
  26  Normalizat    .84706        .25466       -.18627E-05   -.63483E-04
  27  Prefactor     1.1922        .18759        .15811E-05    .73713E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 4.05871
  Prefactor  = 7.86038e-08
  Prefactor  = 14.0564
  norm       = 1.9984e-08
  Prefactor  = 9.99201e-10
  Prefactor  = 7.67941e-07
  norm       = 5.55112e-11
  Prefactor  = 7.04992e-09
  Prefactor  = 19.0843
  norm       = 1.08247e-08
  norm       = 1.52053
  Prefactor  = 16.9977
  Prefactor  = 1.4988e-09
  Prefactor  = 22.7838
  norm       = 6.23945e-08
  norm       = 4.83339
  norm       = 0.817626
  Prefactor  = 2.18547e-07
  Prefactor  = 4.42767
  Prefactor  = 8.3572e-07
  Prefactor  = 26.0436
  Prefactor  = 1.83817
  norm       = 1.47062
  norm       = 9.5225
  Normalizat = 0.847056
  Prefactor  = 1.19222
 **********
 **   18 **HESSE 
 **********

 FCN=   5523.539     FROM HESSE     STATUS=OK           542 CALLS     2858 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.7585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.0587        6.3114        .50214E-03   -1.5668    
   3  Prefactor     .78604E-07    5.7210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.056        31.203        .26736E-03   -1.5633    
   5  norm          .19984E-07    3.2414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99920E-09    5.7884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .76794E-06    14.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    .29365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .70499E-08    5.7685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.084        29.418        .22901E-03   -1.5621    
  11  norm          .10825E-07    4.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5205        3.1809        .86707E-03   -1.5683    
  13  Prefactor     16.998        14.552        .24297E-03   -1.5626    
  14  Prefactor     .14988E-08    32.853        .14757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.784        8.9594        .20958E-03   -1.5612    
  16  norm          .62395E-07    4.0450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.8334        2.2448        .45740E-03   -1.5664    
  18  norm          .81763        .57761        .51680E-03   -1.5690    
  19  Prefactor     .21855E-06    6.2637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4277        3.5879        .47825E-03   -1.5666    
  21  Prefactor     .83572E-06    12.364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     26.044        14.843        .19630E-03   -1.5606    
  23  Prefactor     1.8382        6.9309        .76653E-03   -1.5681    
  24  norm          1.4706        4.6562        .88868E-03   -1.5684    
  25  norm          9.5225        7.0593        .32440E-03   -1.5646    
  26  Normalizat    .84706        .23665        .77286E-01   -.98346    
  27  Prefactor     1.1922        .16911        .34816E-01   -.86571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19406e-06
Minuit parameter uncertainties:
  1  2.63521e-05
  2  6.31144
  3  0.0013413
  4  31.2033
  5  0.000509048
  6  0.000152275
  7  0.00656316
  8  6.98339e-06
  9  0.000403878
  10  29.4182
  11  0.000420357
  12  3.18093
  13  14.5518
  14  0.000447485
  15  8.95942
  16  0.00100472
  17  2.24484
  18  0.577612
  19  0.00234012
  20  3.58787
  21  0.00642888
  22  14.8434
  23  6.93094
  24  4.65617
  25  7.05934
  26  0.236944
  27  0.169183
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.700e+01  1.455e+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:  1.192e+00  1.692e-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:  8.471e-01  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 120.246 44.018
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 5.99e-08 +/- 5.12e-08
Energy Flux (Fixed Index): 2.83e-05 +/- 2.43e-05

TS (Fixed Index): 2.33
Ra Dec: 120.246 44.018
Photon Flux Upper Limit: 1.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/570741/likelihoodResults_691372801_691632001_4FGL_J0800.9+4401_daily_bin1744.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5523.53319324
delta logL = 0.00626897844086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5523.52804346
delta logL = 0.0114187542586

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.251       1.0000          .0000       .10000E+07
     2 'Index     '    2.2641       1.0000          .0000       10.000    
     3 'Normalizat'    .84272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1942       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=   5523.528     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      215 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.261        356.30        .25621E-03    .31416E-03
   2  Index         2.2637        6.1264        .12355        .10460E-03
   3  Normalizat    .84269        .11894        .77459E-01    .20502E-04
   4  Prefactor     1.1942        .70749E-01    .34770E-01   -.40975E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2613
  Index      = 2.26367
  Normalizat = 0.842687
  Prefactor  = 1.19422
 **********
 **   18 **HESSE 
 **********

 FCN=   5523.528     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.261        18.593        .10248E-04   -1.5630    
   2  Index         2.2637        .66021        .62527E-02   -.57909    
   3  Normalizat    .84269        .25196        .34287E-03   -.98504    
   4  Prefactor     1.1942        .18724        .21753E-03   -.86509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28752e-12
Minuit parameter uncertainties:
  1  18.593
  2  0.662976
  3  0.25231
  4  0.187347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570741': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5523.5280431
delta logL = 0.0114191197372

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.526e+01  1.859e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.264e+00  6.630e-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:  1.194e+00  1.873e-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:  8.427e-01  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.36
Ra Dec: 120.246 44.018
Photon Index (Free Index): 2.26 +/- 0.66
Photon Flux (Free Index): 6.43e-08 +/- 5.80e-08
Energy Flux (Free Index): 2.58e-05 +/- 2.77e-05

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/570741/cmap_HighResolution_691372801_691632001_4FGL_J0800.9+4401_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', comment='SUCCESS', photon_flux='5.99e-08', energy_flux2='2.58e-05', photon_flux_error='5.12e-08', dlogl='1.14e-02', energy_flux='2.83e-05', photon_flux2='6.43e-08', job_status='DONE', time_completed='2022-12-02 00:38:23.551324', photon_index_error2='0.66', photon_index2='2.26', ts='2.33', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='2.77e-05', EG='0.85', time_epoch_completed='1669970303.55', return_code='0', job_id='570741', GAL2='1.19', EG2='0.84', return_code2='0', energy_flux_error='2.43e-05', photon_flux_error2='5.80e-08', ts2='2.36', photon_index='2.17' WHERE bin_id='1744' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 00:38:23 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 570741: <4FGL_J0800.9+4401_daily_bin1744> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 00:25:16 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:25:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:25:17 2022
Terminated at Fri Dec  2 00:38:24 2022
Results reported at Fri Dec  2 00:38:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1744 120.246 44.0181 691372801 691632001 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 :                                   661.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            788 sec.

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

