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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin1765
RA = 120.246, Dec = 44.0181
tmin = 696816001, tmax = 697075201
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='629831', job_status='RUN', time_executed='2023-02-03 00:42:32.660643', time_epoch_executed='1675413752.66' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629831

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629831/ft1_4FGL_J0800.9+4401_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629831/ft2_4FGL_J0800.9+4401_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629831/ft1_4FGL_J0800.9+4401_daily_bin1765.fits outfile=/scratch/kocevski/629831/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1765.fits ra=120.246 dec=44.0181 rad=12.0 tmin=696816001.0 tmax=697075201.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.67
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/629831/ft2_4FGL_J0800.9+4401_daily_bin1765.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/629831/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/629831/ft1_filtered_4FGL_J0800.9+4401_daily_bin1765.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.54
user 0.35
sys 0.18

Number of photons that the gtmktime cut: 739

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/629831/ft1_filtered_4FGL_J0800.9+4401_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/629831/ft2_4FGL_J0800.9+4401_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/629831/ltcube_696816001_697075201_4FGL_J0800.9+4401_daily_bin1765.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/629831/ft2_4FGL_J0800.9+4401_daily_bin1765.fits
.....................!
real 16.05
user 15.58
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629831/ft1_filtered_4FGL_J0800.9+4401_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/629831/ft2_4FGL_J0800.9+4401_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/629831/ltcube_696816001_697075201_4FGL_J0800.9+4401_daily_bin1765.fits outfile=/scratch/kocevski/629831/expmap_696816001_697075201_4FGL_J0800.9+4401_daily_bin1765.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/629831/ltcube_696816001_697075201_4FGL_J0800.9+4401_daily_bin1765.fits
.....................!
real 192.26
user 186.11
sys 5.55

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/629831/ft1_filtered_4FGL_J0800.9+4401_daily_bin1765.fits scfile=/scratch/kocevski/629831/ft2_4FGL_J0800.9+4401_daily_bin1765.fits outfile=/scratch/kocevski/629831/cmap_696816001_697075201_4FGL_J0800.9+4401_daily_bin1765.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.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629831/ft1_filtered_4FGL_J0800.9+4401_daily_bin1765.fits scfile=/scratch/kocevski/629831/ft2_4FGL_J0800.9+4401_daily_bin1765.fits outfile=/scratch/kocevski/629831/cmap_HighResolution_696816001_697075201_4FGL_J0800.9+4401_daily_bin1765.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.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84624       1.0000          .0000       .10000E+07
     2 'norm      '    5.1709       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19218       1.0000          .0000       .10000E+07
     4 'Prefactor '    .73572E-04   1.0000          .0000       .10000E+07
     5 'norm      '    1.5836       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.890       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.242       1.0000          .0000       .10000E+07
     8 'norm      '    7.2717       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17052E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.1412       1.0000          .0000       .10000E+07
    11 'norm      '    4.3665       1.0000          .0000       .10000E+07
    12 'norm      '    .16970E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14773E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26624E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.819       1.0000          .0000       .10000E+07
    16 'norm      '    1.4736       1.0000          .0000       .10000E+07
    17 'norm      '    3.7409       1.0000          .0000       .10000E+07
    18 'norm      '    .50470       1.0000          .0000       .10000E+07
    19 'Prefactor '    .19732E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.2069       1.0000          .0000       .10000E+07
    21 'Prefactor '    .71431E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .92258E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    9.1839       1.0000          .0000       .10000E+07
    24 'norm      '    6.5243       1.0000          .0000       .10000E+07
    25 'norm      '    .48714       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .92755       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=   8060.353     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1840 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84308        2.3992       -.15932E-06   -.10812E-01
   2  norm          5.1790        4.6425       -.14738E-07   -.35640E-02
   3  Prefactor     .15127        .63750       -.15574E-07** at limit **
   4  Prefactor     .25535E-08    3.3149       -.27592E-06** at limit **
   5  norm          1.5479        3.1228        .16243E-06    .32771E-01
   6  Prefactor     12.916        1.8963       -.28274E-07    .39711E-02
   7  Prefactor     15.039        6.4179       -.17469E-06    .47121E-01
   8  norm          7.2729        1.5509       -.47217E-07   -.27332E-02
   9  Prefactor     .98699E-07    3.7128        .21446E-06** at limit **
  10  Prefactor     7.8070        1.2844        .17609E-07   -.52633E-02
  11  norm          4.1202        2.1229       -.50948E-07    .58691E-02
  12  norm           .0000        1.1933        .36273E-08** at limit **
  13  Prefactor     .14994E-06    3.3667        .16977E-06** at limit **
  14  Prefactor     .14772E-06    24.301       -.90917E-06** at limit **
  15  Prefactor     18.747        7.5499        .52719E-07   -.17008E-01
  16  norm          1.4808        4.1058        .40023E-06    .76738E-03
  17  norm          3.7366        1.9700       -.52331E-07   -.16432E-02
  18  norm          .50499        .38468        .14501E-07   -.11825E-02
  19  Prefactor     .85876E-07    5.7671       -.11792E-07** at limit **
  20  Prefactor     4.1998        2.9545        .22459E-07    .21972E-02
  21  Prefactor     .71776E-07    4.0899       -.32874E-06** at limit **
  22  Prefactor     .21483E-07    10.473       -.73865E-07** at limit **
  23  Prefactor     9.1760        5.2041       -.14044E-06   -.11492E-01
  24  norm          6.5625        6.0896       -.12620E-06    .67198E-02
  25  norm          .52753        6.6253       -.48811E-06   -.22764E-03
  26  Normalizat    1.1787        .21411        .33206E-05    .11045E-03
  27  Prefactor     .92810        .14507        .62537E-06    .11001E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.843075
  norm       = 5.17904
  Prefactor  = 0.15127
  Prefactor  = 2.55351e-09
  norm       = 1.54792
  Prefactor  = 12.9159
  Prefactor  = 15.039
  norm       = 7.27291
  Prefactor  = 9.86988e-08
  Prefactor  = 7.80703
  norm       = 4.12024
  norm       = 0
  Prefactor  = 1.49936e-07
  Prefactor  = 1.47715e-07
  Prefactor  = 18.7465
  norm       = 1.48078
  norm       = 3.73663
  norm       = 0.504994
  Prefactor  = 8.58758e-08
  Prefactor  = 4.19984
  Prefactor  = 7.17759e-08
  Prefactor  = 2.14828e-08
  Prefactor  = 9.176
  norm       = 6.56252
  norm       = 0.527528
  Normalizat = 1.17872
  Prefactor  = 0.928096
 **********
 **   18 **HESSE 
 **********

 FCN=   8060.353     FROM HESSE     STATUS=OK           556 CALLS     2396 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84308        4.5417        .49550E-03   -1.5690    
   2  norm          5.1790        4.9678        .44185E-03   -1.5662    
   3  Prefactor     .15127        2.8683        .89063E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .25535E-08    7.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5479        8.7595        .84343E-03   -1.5683    
   6  Prefactor     12.916        12.947        .27874E-03   -1.5636    
   7  Prefactor     15.039        23.986        .24825E-03   -1.5630    
   8  norm          7.2729        1.5566        .37172E-03   -1.5654    
   9  Prefactor     .98699E-07    4.8915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.8070        17.348        .35114E-03   -1.5652    
  11  norm          4.1202        14.002        .48177E-03   -1.5667    
  12  norm           .0000        1.1952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14994E-06    5.0872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14772E-06    26.116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.747        7.5856        .23060E-03   -1.5621    
  16  norm          1.4808        4.1754        .88460E-03   -1.5684    
  17  norm          3.7366        1.9833        .52179E-03   -1.5669    
  18  norm          .50499        .38718        .78238E-03   -1.5694    
  19  Prefactor     .85876E-07    7.0687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.1998        2.9699        .49108E-03   -1.5667    
  21  Prefactor     .71776E-07    8.1827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .21483E-07    10.867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.1760        8.7108        .33047E-03   -1.5647    
  24  norm          6.5625        6.1449        .39266E-03   -1.5657    
  25  norm          .52753        6.9657        .80013E-03   -1.5693    
  26  Normalizat    1.1787        .19140        .67663E-01   -.87263    
  27  Prefactor     .92810        .12990        .45355E-01   -.95166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40821e-06
Minuit parameter uncertainties:
  1  3.91359
  2  4.96784
  3  1.3174
  4  0.000284894
  5  7.36453
  6  12.9467
  7  23.9865
  8  1.5566
  9  0.00138956
  10  17.3477
  11  14.0018
  12  5.10224e-06
  13  0.00174664
  14  0.00392846
  15  7.58562
  16  4.17545
  17  1.98331
  18  0.387177
  19  0.00155848
  20  2.96993
  21  0.00153257
  22  0.000966497
  23  8.71081
  24  6.1449
  25  3.83385
  26  0.191509
  27  0.129939
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.499e-07  1.747e-03  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.281e-01  1.299e-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.179e+00  1.915e-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.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/629831/likelihoodResults_696816001_697075201_4FGL_J0800.9+4401_daily_bin1765.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) = 8060.36904701
delta logL = -0.0162851327605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8060.35276187
delta logL = 6.70479494147e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78160E-07   1.0000          .0000       .10000E+07
     2 'Index     '    2.3703       1.0000          .0000       10.000    
     3 'Normalizat'    1.1787       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92810       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8060.353     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      227 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .24173        .28063E-02** at limit **
   2  Index         3.6492        1.1452        .83871E-04     .0000    
   3  Normalizat    1.1787        1.1141       -.35854E-05   -.45803E-04
   4  Prefactor     .92810        1.2716        .30127E-05    .38921E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.64917
  Normalizat = 1.17872
  Prefactor  = 0.928097
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8060.353     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .24173        .28063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4710        2.2170        .83871E-04   -.27357    
   3  Normalizat    1.1787        1.1141       -.35854E-05   -.87263    
   4  Prefactor     .92810        1.2716        .30127E-05   -.95166    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.62112e-11
Minuit parameter uncertainties:
  1  1.67918e-06
  2  1.15632
  3  1.13779
  4  1.31625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629831': 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): 101
logL (Free Index) = 8060.35276186
delta logL = 1.47074388224e-08

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  1.679e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  3.649e+00  1.156e+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.281e-01  1.316e+00  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.179e+00  1.138e+00  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/629831/cmap_HighResolution_696816001_697075201_4FGL_J0800.9+4401_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2023-02-03 00:55:48.280035', job_id='629831', GAL2='0.93', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1675414548.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.47e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1765' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:55:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 629831: <4FGL_J0800.9+4401_daily_bin1765> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 00:40:15 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:40:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:40:33 2023
Terminated at Fri Feb  3 00:55:49 2023
Results reported at Fri Feb  3 00:55:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1765 120.246 44.0181 696816001 697075201 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 :                                   795.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            934 sec.

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

