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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1779
RA = 120.888, Dec = 20.7678
tmin = 700444801, tmax = 700704001
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='12700', job_status='RUN', time_executed='2023-03-17 00:51:19.209865', time_epoch_executed='1679039479.21' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12700

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12700/ft1_4FGL_J0803.5+2046_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12700/ft1_4FGL_J0803.5+2046_daily_bin1779.fits outfile=/scratch/kocevski/12700/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1779.fits ra=120.888 dec=20.7678 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.27
user 5.01
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.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/12700/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.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.32
sys 0.16

Number of photons that the gtmktime cut: 470

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/12700/ltcube_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.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/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits
.....................!
real 11.76
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/12700/ltcube_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.fits outfile=/scratch/kocevski/12700/expmap_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.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/12700/ltcube_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.fits
.....................!
real 190.04
user 185.09
sys 4.61

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J0803.5+2046 @ 120.888 20.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.fits scfile=/scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits outfile=/scratch/kocevski/12700/cmap_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.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.888 yref=20.7678 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.fits scfile=/scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits outfile=/scratch/kocevski/12700/cmap_HighResolution_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.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.888 yref=20.7678 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/12700/Model_4FGL_J0803.5+2046_daily_bin1779.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/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.fits.....................!
real 58.76
user 57.38
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.fits', '/scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits', expMap='/scratch/kocevski/12700/expmap_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.fits', expCube='/scratch/kocevski/12700/ltcube_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/12700/Model_4FGL_J0803.5+2046_daily_bin1779.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0803.5+2046'

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  9.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/12700/ft1_filtered_4FGL_J0803.5+2046_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/12700/ft2_4FGL_J0803.5+2046_daily_bin1779.fits
Exposure map: /scratch/kocevski/12700/expmap_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.fits
Exposure cube: /scratch/kocevski/12700/ltcube_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/12700/Model_4FGL_J0803.5+2046_daily_bin1779.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) = 5399.76606175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8882       1.0000          .0000       .10000E+07
     2 'norm      '    1.1392       1.0000          .0000       .10000E+07
     3 'norm      '    10.998       1.0000          .0000       .10000E+07
     4 'norm      '    .19945E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    50.224       1.0000          .0000       .10000E+07
     6 'Prefactor '    .40187E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .42658E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .54537       1.0000          .0000       .10000E+07
     9 'norm      '    .33026E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12489E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .23967E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19904       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39940E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .54814E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21390E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .16053E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .15777E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .36049E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    .65040       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5399.742     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1552 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8614        21.028       -.13860E-05   -.62709E-02
   2  norm          1.1387        1.1487       -.76102E-07    .13398E-02
   3  norm          10.996        2.9568       -.19854E-06   -.15568E-03
   4  norm           .0000        3.2730        .61304E-06** at limit **
   5  Prefactor     50.851        27.858       -.43305E-05    .30244E-01
   6  Prefactor     .41885E-05    5.9576       -.30401E-05** at limit **
   7  Prefactor     .71892E-06    13.130       -.34119E-06** at limit **
   8  Prefactor     .54857        2.4496        .75057E-07   -.96732E-04
   9  norm          .88818E-09    8.5708        .26179E-06** at limit **
  10  Prefactor     .55511E-10    5.9888       -.12032E-05** at limit **
  11  norm          .33307E-09    34.516        .56396E-05** at limit **
  12  Prefactor     .59086E-06    490.95        .48888E-04** at limit **
  13  Prefactor     .12791E-05    13.797       -.13625E-05** at limit **
  14  Prefactor     .11102E-08    10.521        .16283E-05** at limit **
  15  Prefactor     .70843E-06    203.12        .95779E-06** at limit **
  16  norm           .0000        .59591        .54974E-06** at limit **
  17  Prefactor      .0000        3.0831       -.14385E-05** at limit **
  18  Prefactor     .99920E-09    37.492       -.71195E-05** at limit **
  19  Normalizat    .65008        .22450        .73576E-05    .22702E-03
  20  Prefactor     1.1806        .17450        .58344E-05    .34043E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.86142
  norm       = 1.13866
  norm       = 10.9958
  norm       = 0
  Prefactor  = 50.8505
  Prefactor  = 4.18854e-06
  Prefactor  = 7.18925e-07
  Prefactor  = 0.548566
  norm       = 8.88178e-10
  Prefactor  = 5.55112e-11
  norm       = 3.33067e-10
  Prefactor  = 5.90861e-07
  Prefactor  = 1.27914e-06
  Prefactor  = 1.11022e-09
  Prefactor  = 7.08433e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 9.99201e-10
  Normalizat = 0.650081
  Prefactor  = 1.1806
 **********
 **   18 **HESSE 
 **********

 FCN=   5399.742     FROM HESSE     STATUS=OK           327 CALLS     1879 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8614        21.283        .75703E-03   -1.5681    
   2  norm          1.1387        1.1501        .10895E-03   -1.5687    
   3  norm          10.996        2.9599        .30185E-03   -1.5642    
   4  norm           .0000        3.2638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     50.851        48.254        .14112E-03   -1.5565    
   6  Prefactor     .41885E-05    16.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .71892E-06    14.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .54857        2.5142        .74271E-03   -1.5693    
   9  norm          .88818E-09    8.5940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    5.9998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33307E-09    34.537        .16789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .59086E-06    19.593        .11793E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12791E-05    17.063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-08    10.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .70843E-06    198.46        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .59127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.0895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .99920E-09    37.333        .16147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .65008        .20361        .73803E-01   -1.0590    
  20  Prefactor     1.1806        .15399        .35108E-01   -.86930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30537e-07
Minuit parameter uncertainties:
  1  12.5883
  2  1.15011
  3  2.95994
  4  7.93397e-06
  5  48.2545
  6  0.0164705
  7  0.00654636
  8  2.34882
  9  0.000176648
  10  2.76464e-05
  11  0.000209375
  12  0.0068049
  13  0.00934365
  14  0.000216507
  15  0.0237151
  16  8.12951e-07
  17  1.32441e-05
  18  0.000384343
  19  0.203847
  20  0.154048
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  3.331e-10  2.094e-04  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.181e+00  1.540e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  6.501e-01  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 120.888 20.768
Photon Flux Upper Limit: 3.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/12700/likelihoodResults_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.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) = 5399.75595958
delta logL = -0.0138081418227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5399.74215391
delta logL = -2.4679247872e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93097E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5032       1.0000          .0000       5.0000    
     3 'Normalizat'    .65031       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1805       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5399.742     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      190 TOTAL
                     EDM=   .57E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        32.534        .42118E-03** at limit **
   2  alpha         1.6744        1.0562       -.36721E-04     .0000    
   3  Normalizat    .65008        .98911        .60874E-05   -.44424E-04
   4  Prefactor     1.1806        1.1097       -.26823E-05   -.28294E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.67442
  Normalizat = 0.650079
  Prefactor  = 1.1806
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5399.742     FROM HESSE     STATUS=FAILED         9 CALLS      199 TOTAL
                     EDM=   .57E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        32.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .62751        1.1342       -.36721E-04   -.33655    
   3  Normalizat    .65008        .98911        .60874E-05   -1.0590    
   4  Prefactor     1.1806        1.1097       -.26823E-05   -.86930    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.69689e-12
Minuit parameter uncertainties:
  1  2.71957e-05
  2  1.09509
  3  1.01825
  4  1.13286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12700': 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) = 5399.74215144
delta logL = 5.36601874046e-11

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  0.000e+00  2.720e-05  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  1.674e+00  1.095e+00  0.000e+00  5.000e+00 ( 1.000e+00)
275         beta:  7.702e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.181e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  6.501e-01  1.018e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 120.888 20.768

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/12700/cmap_HighResolution_700444801_700704001_4FGL_J0803.5+2046_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='3.31e-08', time_completed='2023-03-17 00:59:43.439282', job_id='12700', GAL2='1.18', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1679039983.44', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='5.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1779' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 00:59:43 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 12700: <4FGL_J0803.5+2046_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 00:50:20 2023
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 00:50:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 00:50:21 2023
Terminated at Fri Mar 17 00:59:44 2023
Results reported at Fri Mar 17 00:59:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1779 120.888 20.7678 700444801 700704001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0803.5+2046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   506.08 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            564 sec.

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

