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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin1752
RA = 120.246, Dec = 44.0181
tmin = 693446401, tmax = 693705601
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='257778', job_status='RUN', time_executed='2022-12-26 00:36:45.438273', time_epoch_executed='1672043805.44' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257778

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/257778/ft1_4FGL_J0800.9+4401_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/257778/ft2_4FGL_J0800.9+4401_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257778/ft1_4FGL_J0800.9+4401_daily_bin1752.fits outfile=/scratch/kocevski/257778/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1752.fits ra=120.246 dec=44.0181 rad=12.0 tmin=693446401.0 tmax=693705601.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.53
user 3.28
sys 0.23

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

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

Number of photons that the gtmktime cut: 740

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257778/ft1_filtered_4FGL_J0800.9+4401_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/257778/ft2_4FGL_J0800.9+4401_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/257778/ltcube_693446401_693705601_4FGL_J0800.9+4401_daily_bin1752.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/257778/ft2_4FGL_J0800.9+4401_daily_bin1752.fits
.....................!
real 15.18
user 14.72
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257778/ft1_filtered_4FGL_J0800.9+4401_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/257778/ft2_4FGL_J0800.9+4401_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/257778/ltcube_693446401_693705601_4FGL_J0800.9+4401_daily_bin1752.fits outfile=/scratch/kocevski/257778/expmap_693446401_693705601_4FGL_J0800.9+4401_daily_bin1752.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/257778/ltcube_693446401_693705601_4FGL_J0800.9+4401_daily_bin1752.fits
.....................!
real 193.38
user 185.91
sys 5.41

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/257778/ft1_filtered_4FGL_J0800.9+4401_daily_bin1752.fits scfile=/scratch/kocevski/257778/ft2_4FGL_J0800.9+4401_daily_bin1752.fits outfile=/scratch/kocevski/257778/cmap_693446401_693705601_4FGL_J0800.9+4401_daily_bin1752.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.74
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257778/ft1_filtered_4FGL_J0800.9+4401_daily_bin1752.fits scfile=/scratch/kocevski/257778/ft2_4FGL_J0800.9+4401_daily_bin1752.fits outfile=/scratch/kocevski/257778/cmap_HighResolution_693446401_693705601_4FGL_J0800.9+4401_daily_bin1752.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.63
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41495E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .53511E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.3734       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27533E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .28343E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .35075E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    75.008       1.0000          .0000       .10000E+07
     8 'norm      '    2.8855       1.0000          .0000       .10000E+07
     9 'Prefactor '    .69793       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.0367       1.0000          .0000       .10000E+07
    11 'norm      '    4.7973       1.0000          .0000       .10000E+07
    12 'norm      '    1.1627       1.0000          .0000       .10000E+07
    13 'Prefactor '    .96020E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.735       1.0000          .0000       .10000E+07
    15 'Prefactor '    22.267       1.0000          .0000       .10000E+07
    16 'norm      '    3.2229       1.0000          .0000       .10000E+07
    17 'norm      '    1.2134       1.0000          .0000       .10000E+07
    18 'norm      '    .28011E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38882E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4595       1.0000          .0000       .10000E+07
    21 'Prefactor '    .46789E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.9963       1.0000          .0000       .10000E+07
    23 'Prefactor '    .93175E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .39128E-05   1.0000          .0000       .10000E+07
    25 'norm      '    .47864E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    .76046       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0548       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=   7835.584     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     2394 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    2.3654        .66578E-07** at limit **
   2  norm          .48184E-07    1.9014       -.60878E-07** at limit **
   3  Prefactor     9.3699        5.7893       -.57923E-08    .33674E-02
   4  Prefactor     .12795E-06    3.8776       -.51268E-08** at limit **
   5  norm           .0000        8.8098       -.18625E-06** at limit **
   6  Prefactor     .12457E-06    3.7978       -.24617E-06** at limit **
   7  Prefactor     74.784        3.7837        .85807E-08    .43103E-01
   8  norm          2.8860        .95323       -.18856E-07   -.77834E-03
   9  Prefactor     .75096        .70670        .29203E-07   -.13673E-01
  10  Prefactor     5.0268        1.3606       -.32181E-07    .23889E-01
  11  norm          4.8005        2.1557       -.56296E-07    .48588E-02
  12  norm          1.1609        2.5030       -.10794E-06    .15212E-03
  13  Prefactor     .55511E-10    2.0545        .45099E-07** at limit **
  14  Prefactor     21.610        1.1348        .27578E-08   -.78192E-02
  15  Prefactor     22.278        6.0899        .64746E-07    .25145E-01
  16  norm          3.2220        3.3801       -.82220E-08    .22213E-03
  17  norm          1.2137        1.2432        .12117E-07    .52256E-03
  18  norm           .0000        .19724        .24145E-07** at limit **
  19  Prefactor     .11324E-07    53.744        .33612E-06** at limit **
  20  Prefactor     4.4597        2.8443        .32300E-06    .16389E-02
  21  Prefactor     .13323E-08    26.759       -.19245E-06** at limit **
  22  Prefactor     8.0058        6.4008       -.10177E-06   -.40575E-01
  23  Prefactor     .55511E-10    3.6998       -.34066E-07** at limit **
  24  norm           .0000        1.3833        .46332E-07** at limit **
  25  norm          .38469E-07    1.8945        .16652E-08** at limit **
  26  Normalizat    .76056        .19550        .12916E-05    .65118E-04
  27  Prefactor     1.0548        .14140        .13200E-05    .83900E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  norm       = 4.81837e-08
  Prefactor  = 9.36986
  Prefactor  = 1.27953e-07
  norm       = 0
  Prefactor  = 1.24567e-07
  Prefactor  = 74.7844
  norm       = 2.88597
  Prefactor  = 0.750957
  Prefactor  = 5.02681
  norm       = 4.80051
  norm       = 1.16086
  Prefactor  = 5.55112e-11
  Prefactor  = 21.6104
  Prefactor  = 22.2776
  norm       = 3.22202
  norm       = 1.21371
  norm       = 0
  Prefactor  = 1.13243e-08
  Prefactor  = 4.45974
  Prefactor  = 1.33227e-09
  Prefactor  = 8.0058
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 3.84692e-08
  Normalizat = 0.760558
  Prefactor  = 1.05482
 **********
 **   18 **HESSE 
 **********

 FCN=   7835.584     FROM HESSE     STATUS=OK           542 CALLS     2936 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    2.3641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .48184E-07    3.2599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.3699        5.8351        .32709E-03   -1.5647    
   4  Prefactor     .12795E-06    5.5866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        8.7298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12457E-06    5.4752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     74.784        34.542        .11547E-03   -1.5535    
   8  norm          2.8860        .95603        .59804E-03   -1.5674    
   9  Prefactor     .75096        45.671        .60876E-03   -1.5691    
  10  Prefactor     5.0268        18.451        .44782E-03   -1.5663    
  11  norm          4.8005        10.042        .45910E-03   -1.5664    
  12  norm          1.1609        2.8473        .10673E-02   -1.5686    
  13  Prefactor     .55511E-10    2.0615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.610        27.388        .21455E-03   -1.5615    
  15  Prefactor     22.278        6.1331        .21197E-03   -1.5614    
  16  norm          3.2220        3.4211        .56403E-03   -1.5672    
  17  norm          1.2137        1.2509        .10258E-02   -1.5686    
  18  norm           .0000        .19422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11324E-07    53.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4597        2.8593        .47658E-03   -1.5666    
  21  Prefactor     .13323E-08    26.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.0058        9.3986        .35433E-03   -1.5651    
  23  Prefactor     .55511E-10    3.7683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        1.3935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .38469E-07    3.2340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .76056        .17532        .71001E-01   -1.0155    
  27  Prefactor     1.0548        .12461        .39636E-01   -.90924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11413e-07
Minuit parameter uncertainties:
  1  3.69913e-05
  2  0.000792742
  3  5.83514
  4  0.00169108
  5  2.5254e-05
  6  0.00165177
  7  34.5426
  8  0.956028
  9  11.7129
  10  18.4513
  11  10.0422
  12  2.84726
  13  1.62621e-05
  14  27.3882
  15  6.13314
  16  3.42108
  17  1.25088
  18  7.33637e-07
  19  0.0015531
  20  2.85928
  21  0.000376257
  22  9.39864
  23  2.33724e-05
  24  8.00078e-06
  25  0.000705339
  26  0.175448
  27  0.124645
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  5.551e-11  1.626e-05  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.055e+00  1.246e-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:  7.606e-01  1.754e-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: 3.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/257778/likelihoodResults_693446401_693705601_4FGL_J0800.9+4401_daily_bin1752.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) = 7835.58507365
delta logL = -0.00058964663458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7835.58448487
delta logL = -8.72462806001e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21234E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .82579       1.0000          .0000       10.000    
     3 'Normalizat'    .76061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0548       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=   7835.584     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      270 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .75881E-02    .42118E-03** at limit **
   2  Index         2.3966        5.0434        .44052        .30969E-09
   3  Normalizat    .76056        .29740E-03    .71001E-01    .46811E-03
   4  Prefactor     1.0548        .21989E-03    .39638E-01    .72262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.39663
  Normalizat = 0.760558
  Prefactor  = 1.05482
 **********
 **   18 **HESSE 
 **********

 FCN=   7835.584     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      301 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .30363E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3966        6.7399        .50000       -.54764    
   3  Normalizat    .76056        .59347E-03    .31420E-03   -1.0155    
   4  Prefactor     1.0548        .43956E-03    .19916E-03   -.90924    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14964e-12
Minuit parameter uncertainties:
  1  4.13577e-06
  2  3671.46
  3  0.000593471
  4  0.00043956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257778': 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) = 7835.584484
delta logL = -1.79170456249e-10

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.665e-10  4.136e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.397e+00  3.671e+03  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.055e+00  4.396e-04  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:  7.606e-01  5.935e-04  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/257778/cmap_HighResolution_693446401_693705601_4FGL_J0800.9+4401_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-03', job_status='DONE', photon_flux_upper_limit='3.87e-08', time_completed='2022-12-26 00:51:06.882894', job_id='257778', GAL2='1.05', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1672044666.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-1.79e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1752' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:51:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 257778: <4FGL_J0800.9+4401_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin1752> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec 26 00:35:13 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:35:47 2022
Terminated at Mon Dec 26 00:51:07 2022
Results reported at Mon Dec 26 00:51:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1752 120.246 44.0181 693446401 693705601 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 :                                   860.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             315.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            954 sec.

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

