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 66 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_J0803.5+2046_daily_bin1752
RA = 120.888, Dec = 20.7678
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='257783', job_status='RUN', time_executed='2022-12-26 00:37:12.660750', time_epoch_executed='1672043832.66' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257783

Creating custom pfile directory:
/scratch/kocevski/257783/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/257783/ft1_4FGL_J0803.5+2046_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/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257783/ft1_4FGL_J0803.5+2046_daily_bin1752.fits outfile=/scratch/kocevski/257783/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1752.fits ra=120.888 dec=20.7678 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.64
user 3.23
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/257783/ft2_4FGL_J0803.5+2046_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/257783/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/257783/ft1_filtered_4FGL_J0803.5+2046_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.68
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 613

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257783/ft1_filtered_4FGL_J0803.5+2046_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/257783/ltcube_693446401_693705601_4FGL_J0803.5+2046_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/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits
.....................!
real 15.20
user 14.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257783/ft1_filtered_4FGL_J0803.5+2046_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/257783/ltcube_693446401_693705601_4FGL_J0803.5+2046_daily_bin1752.fits outfile=/scratch/kocevski/257783/expmap_693446401_693705601_4FGL_J0803.5+2046_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/257783/ltcube_693446401_693705601_4FGL_J0803.5+2046_daily_bin1752.fits
.....................!
real 192.56
user 187.06
sys 4.54

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/257783/ft1_filtered_4FGL_J0803.5+2046_daily_bin1752.fits scfile=/scratch/kocevski/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits outfile=/scratch/kocevski/257783/cmap_693446401_693705601_4FGL_J0803.5+2046_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.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.65
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257783/ft1_filtered_4FGL_J0803.5+2046_daily_bin1752.fits scfile=/scratch/kocevski/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits outfile=/scratch/kocevski/257783/cmap_HighResolution_693446401_693705601_4FGL_J0803.5+2046_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.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 1.25
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/257783/ft1_filtered_4FGL_J0803.5+2046_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/257783/Model_4FGL_J0803.5+2046_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/257783/ft1_filtered_4FGL_J0803.5+2046_daily_bin1752.fits.....................!
real 74.27
user 72.17
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/257783/ft1_filtered_4FGL_J0803.5+2046_daily_bin1752.fits', '/scratch/kocevski/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits', expMap='/scratch/kocevski/257783/expmap_693446401_693705601_4FGL_J0803.5+2046_daily_bin1752.fits', expCube='/scratch/kocevski/257783/ltcube_693446401_693705601_4FGL_J0803.5+2046_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/257783/Model_4FGL_J0803.5+2046_daily_bin1752.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/257783/ft1_filtered_4FGL_J0803.5+2046_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/257783/ft2_4FGL_J0803.5+2046_daily_bin1752.fits
Exposure map: /scratch/kocevski/257783/expmap_693446401_693705601_4FGL_J0803.5+2046_daily_bin1752.fits
Exposure cube: /scratch/kocevski/257783/ltcube_693446401_693705601_4FGL_J0803.5+2046_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/257783/Model_4FGL_J0803.5+2046_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) = 6861.38011791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    113.33       1.0000          .0000       .10000E+07
     2 'norm      '    2.3499       1.0000          .0000       .10000E+07
     3 'norm      '    10.072       1.0000          .0000       .10000E+07
     4 'norm      '    1.5522       1.0000          .0000       .10000E+07
     5 'Prefactor '    34.047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .52663E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .42969E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .21036E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .80629E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .98929E-02   1.0000          .0000       .10000E+07
    11 'norm      '    43.854       1.0000          .0000       .10000E+07
    12 'Prefactor '    .87472E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .26160E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.8072       1.0000          .0000       .10000E+07
    15 'Prefactor '    .19853E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .93798       1.0000          .0000       .10000E+07
    17 'Prefactor '    .88506E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .42113E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1015       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88445       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=   6861.351     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1485 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          113.24        2.7742       -.30929E-08   -.98427E-01
   2  norm          2.3509        1.4888       -.58379E-07   -.59385E-02
   3  norm          10.074        2.3864        .26336E-08    .13817E-03
   4  norm          1.4690        4.2083       -.11435E-06   -.93965E-03
   5  Prefactor     35.878        38.470        .13048E-06    .62308E-02
   6  Prefactor      .0000        8.5006        .43833E-07** at limit **
   7  Prefactor     .44409E-09    19.681        .40140E-06** at limit **
   8  Prefactor      .0000        2.5853        .16489E-07** at limit **
   9  norm          .11691E-06    8.8739       -.27886E-07** at limit **
  10  Prefactor     .26729E-06    6.9264       -.92806E-08** at limit **
  11  norm          45.096        64.082        .47532E-07   -.47267E-02
  12  Prefactor     .32124E-06    9.4853        .47168E-07** at limit **
  13  Prefactor     .55367E-06    7.6959        .13274E-06** at limit **
  14  Prefactor     6.8237        10.019        .10795E-06    .67117E-03
  15  Prefactor     .15101E-05    4.0808        .97694E-07** at limit **
  16  norm          .93919        .91597       -.24960E-07   -.36616E-02
  17  Prefactor     .20872E-07    33.758       -.40334E-06** at limit **
  18  Prefactor     .45741E-07    12.750       -.70456E-07** at limit **
  19  Normalizat    1.1010        .21906       -.30962E-05   -.39383E-04
  20  Prefactor     .88429        .16575        .29442E-05    .33988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 113.236
  norm       = 2.35089
  norm       = 10.0742
  norm       = 1.46899
  Prefactor  = 35.8776
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  norm       = 1.16906e-07
  Prefactor  = 2.67286e-07
  norm       = 45.096
  Prefactor  = 3.21243e-07
  Prefactor  = 5.53668e-07
  Prefactor  = 6.82373
  Prefactor  = 1.51013e-06
  norm       = 0.939191
  Prefactor  = 2.08722e-08
  Prefactor  = 4.57412e-08
  Normalizat = 1.10099
  Prefactor  = 0.884287
 **********
 **   18 **HESSE 
 **********

 FCN=   6861.351     FROM HESSE     STATUS=OK           327 CALLS     1812 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          113.24        25.287        .93942E-04   -1.5495    
   2  norm          2.3509        1.4931        .66843E-03   -1.5677    
   3  norm          10.074        2.3864        .31549E-03   -1.5644    
   4  norm          1.4690        4.2841        .85446E-03   -1.5684    
   5  Prefactor     35.878        38.966        .17140E-03   -1.5588    
   6  Prefactor      .0000        8.5009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44409E-09    19.608        .15832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.5720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11691E-06    15.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .26729E-06    15.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          45.096        64.236        .15102E-03   -1.5574    
  12  Prefactor     .32124E-06    10.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55367E-06    10.013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.8237        10.024        .38432E-03   -1.5656    
  15  Prefactor     .15101E-05    10.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .93919        .91863        .43169E-03   -1.5689    
  17  Prefactor     .20872E-07    33.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .45741E-07    12.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1010        .18610        .62731E-01   -.89720    
  20  Prefactor     .88429        .14114        .44806E-01   -.96692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24259e-07
Minuit parameter uncertainties:
  1  25.2867
  2  1.49311
  3  2.38644
  4  4.28415
  5  38.966
  6  2.72284e-05
  7  0.000186287
  8  4.15281e-06
  9  0.00269887
  10  0.00412854
  11  64.2373
  12  0.00374911
  13  0.00470911
  14  10.0241
  15  0.00789787
  16  0.918632
  17  0.00167161
  18  0.00154085
  19  0.186211
  20  0.141201
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  4.510e+01  6.424e+01  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:  8.843e-01  1.412e-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:  1.101e+00  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/257783/likelihoodResults_693446401_693705601_4FGL_J0803.5+2046_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): 0
logL (Free Index) = 6861.33798498
delta logL = 0.0134424020825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6861.33696048
delta logL = 0.0144669004621

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    47.508       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4925       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88480       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6861.337     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      266 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          47.508        66.954        .58038E-05    .96532E-03
   2  alpha         2.4921        3.6579        .79569E-01    .10013E-04
   3  Normalizat    1.0974        .21806        .27786E-03   -.15302E-04
   4  Prefactor     .88481        .16387        .23051E-03   -.22687E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 47.5076
  alpha      = 2.49207
  Normalizat = 1.09736
  Prefactor  = 0.884813
 **********
 **   18 **HESSE 
 **********

 FCN=   6861.337     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          47.508        64.854        .11608E-05   -1.5570    
   2  alpha         2.4921        3.6401        .31828E-02   -.31709E-02
   3  Normalizat    1.0974        .21756        .11114E-04   -.89837    
   4  Prefactor     .88481        .16384        .92202E-05   -.96674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60307e-10
Minuit parameter uncertainties:
  1  64.8554
  2  2.88255
  3  0.217739
  4  0.163933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257783': 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) = 6861.33696044
delta logL = 0.014466947131

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  4.751e+01  6.486e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  2.492e+00  2.883e+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:  8.848e-01  1.639e-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:  1.097e+00  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.81
Ra Dec: 120.888 20.768

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/257783/cmap_HighResolution_693446401_693705601_4FGL_J0803.5+2046_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.29e-05', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2022-12-26 00:46:44.792035', job_id='257783', GAL2='0.88', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1672044404.79', return_code2='0', ts='0.81', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.45e-02', ts2='0.85', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1752' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:46:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 257783: <4FGL_J0803.5+2046_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1752> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec 26 00:35:14 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:35:49 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:49 2022
Terminated at Mon Dec 26 00:46:45 2022
Results reported at Mon Dec 26 00:46:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1752 120.888 20.7678 693446401 693705601 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 :                                   571.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            691 sec.

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

