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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1751
RA = 120.888, Dec = 20.7678
tmin = 693187201, tmax = 693446401
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='73684', job_status='RUN', time_executed='2022-12-23 00:26:19.683828', time_epoch_executed='1671783979.68' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73684

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73684/ft1_4FGL_J0803.5+2046_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73684/ft2_4FGL_J0803.5+2046_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73684/ft1_4FGL_J0803.5+2046_daily_bin1751.fits outfile=/scratch/kocevski/73684/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1751.fits ra=120.888 dec=20.7678 rad=12.0 tmin=693187201.0 tmax=693446401.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.40
sys 0.22

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

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

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73684/ft1_filtered_4FGL_J0803.5+2046_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73684/ft2_4FGL_J0803.5+2046_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73684/ltcube_693187201_693446401_4FGL_J0803.5+2046_daily_bin1751.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/73684/ft2_4FGL_J0803.5+2046_daily_bin1751.fits
.....................!
real 12.21
user 11.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73684/ft1_filtered_4FGL_J0803.5+2046_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73684/ft2_4FGL_J0803.5+2046_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73684/ltcube_693187201_693446401_4FGL_J0803.5+2046_daily_bin1751.fits outfile=/scratch/kocevski/73684/expmap_693187201_693446401_4FGL_J0803.5+2046_daily_bin1751.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/73684/ltcube_693187201_693446401_4FGL_J0803.5+2046_daily_bin1751.fits
.....................!
real 191.67
user 186.22
sys 5.10

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/73684/ft1_filtered_4FGL_J0803.5+2046_daily_bin1751.fits scfile=/scratch/kocevski/73684/ft2_4FGL_J0803.5+2046_daily_bin1751.fits outfile=/scratch/kocevski/73684/cmap_693187201_693446401_4FGL_J0803.5+2046_daily_bin1751.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73684/ft1_filtered_4FGL_J0803.5+2046_daily_bin1751.fits scfile=/scratch/kocevski/73684/ft2_4FGL_J0803.5+2046_daily_bin1751.fits outfile=/scratch/kocevski/73684/cmap_HighResolution_693187201_693446401_4FGL_J0803.5+2046_daily_bin1751.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4365       1.0000          .0000       .10000E+07
     2 'norm      '    2.5930       1.0000          .0000       .10000E+07
     3 'norm      '    7.4917       1.0000          .0000       .10000E+07
     4 'norm      '    .64238E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20314E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10718E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49566E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.2976       1.0000          .0000       .10000E+07
     9 'norm      '    13.462       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47042E-04   1.0000          .0000       .10000E+07
    11 'norm      '    17.943       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.0341       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25520E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14671E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    29.459       1.0000          .0000       .10000E+07
    16 'norm      '    .35742E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23280E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14092E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    .86592       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2135       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=   7132.481     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1520 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4786        12.165        .14257E-05   -.25836E-03
   2  norm          2.5948        1.5108        .66361E-07   -.85122E-03
   3  norm          7.4968        2.3592        .41517E-07    .70524E-03
   4  norm          .55511E-10    3.9914        .38909E-06** at limit **
   5  Prefactor     .42188E-08    20.257       -.21697E-05** at limit **
   6  Prefactor      .0000        4.3346        .32669E-06** at limit **
   7  Prefactor     .78879E-05    27.905       -.11860E-05** at limit **
   8  Prefactor     2.3106        2.8942       -.71019E-07   -.23324E-02
   9  norm          13.314        17.386       -.35812E-05   -.22279E-01
  10  Prefactor     .88818E-09    8.5269       -.21720E-06** at limit **
  11  norm          15.754        80.752        .10830E-04    .28840E-02
  12  Prefactor     4.6268        7.2549       -.16372E-05   -.12736E-02
  13  Prefactor     .66697E-06    70.812       -.40101E-06** at limit **
  14  Prefactor     .27756E-09    7.5017       -.26369E-06** at limit **
  15  Prefactor     30.775        23.289       -.21570E-05   -.27994E-01
  16  norm           .0000        .96393        .90536E-07** at limit **
  17  Prefactor     .12826E-04    19.053        .33518E-05** at limit **
  18  Prefactor     .11102E-07    14.878        .35658E-06** at limit **
  19  Normalizat    .86299        .22320       -.85511E-05   -.20332E-03
  20  Prefactor     1.2145        .16870       -.28555E-05   -.29782E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.47855
  norm       = 2.59478
  norm       = 7.49679
  norm       = 5.55112e-11
  Prefactor  = 4.21885e-09
  Prefactor  = 0
  Prefactor  = 7.88791e-06
  Prefactor  = 2.31061
  norm       = 13.3143
  Prefactor  = 8.88178e-10
  norm       = 15.7544
  Prefactor  = 4.62679
  Prefactor  = 6.66966e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 30.775
  norm       = 0
  Prefactor  = 1.28256e-05
  Prefactor  = 1.11022e-08
  Normalizat = 0.862993
  Prefactor  = 1.21454
 **********
 **   18 **HESSE 
 **********

 FCN=   7132.481     FROM HESSE     STATUS=OK           329 CALLS     1849 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4786        12.153        .34490E-03   -1.5650    
   2  norm          2.5948        1.5134        .63339E-03   -1.5676    
   3  norm          7.4968        2.3625        .36617E-03   -1.5653    
   4  norm          .55511E-10    3.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .42188E-08    20.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.3362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .78879E-05    43.238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3106        2.9085        .67681E-03   -1.5678    
   9  norm          13.314        17.610        .27274E-03   -1.5635    
  10  Prefactor     .88818E-09    8.5218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          15.754        81.197        .23617E-03   -1.5629    
  12  Prefactor     4.6268        40.575        .50181E-03   -1.5665    
  13  Prefactor     .66697E-06    71.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27756E-09    7.4922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     30.775        24.697        .18427E-03   -1.5597    
  16  norm           .0000        .95581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12826E-04    42.960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11102E-07    14.901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .86299        .19540        .72433E-01   -.97773    
  20  Prefactor     1.2145        .14696        .34319E-01   -.85885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08623e-07
Minuit parameter uncertainties:
  1  12.1533
  2  1.5134
  3  2.36246
  4  2.30581e-05
  5  0.000586306
  6  2.33738e-06
  7  0.0369357
  8  2.90852
  9  17.6103
  10  0.000175958
  11  71.5337
  12  27.4033
  13  0.0138483
  14  9.19069e-05
  15  24.6972
  16  2.53465e-06
  17  0.0469466
  18  0.000813841
  19  0.195564
  20  0.147012
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.575e+01  7.153e+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:  1.215e+00  1.470e-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:  8.630e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/73684/likelihoodResults_693187201_693446401_4FGL_J0803.5+2046_daily_bin1751.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) = 7132.16688624
delta logL = 0.314375592568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7132.16362097
delta logL = 0.317640855584

Fit tolerance = 1e-08

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

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

 FCN=   7132.164     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      265 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.308        2403.5        .18835E-03   -.89790E-03
   2  alpha         3.4312        2.8187        .45489        .46468E-05
   3  Normalizat    .85440        .10213        .72740E-01   -.18337E-03
   4  Prefactor     1.2124        .68702E-01    .34340E-01   -.29998E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.3079
  alpha      = 3.43118
  Normalizat = 0.854397
  Prefactor  = 1.21241
 **********
 **   18 **HESSE 
 **********

 FCN=   7132.164     FROM HESSE     STATUS=OK            29 CALLS      294 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.308        55.945        .75341E-05   -1.5602    
   2  alpha         3.4312        1.5342        .41372E-01    .38167    
   3  Normalizat    .85440        .21675        .32190E-03   -.98082    
   4  Prefactor     1.2124        .16573        .20958E-03   -.85950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60811e-10
Minuit parameter uncertainties:
  1  55.9465
  2  1.67628
  3  0.216974
  4  0.1658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73684': 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) = 7132.16361186
delta logL = 0.317649969946

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  2.831e+01  5.595e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  3.431e+00  1.676e+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.212e+00  1.658e-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:  8.544e-01  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/73684/cmap_HighResolution_693187201_693446401_4FGL_J0803.5+2046_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-05', job_status='DONE', photon_flux_upper_limit='4.18e-08', time_completed='2022-12-23 00:35:49.442405', job_id='73684', GAL2='1.21', fit_tolerance='1e-08', EG2='0.85', EG='0.86', time_epoch_completed='1671784549.44', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='3.18e-01', ts2='0.70', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1751' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:35:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 73684: <4FGL_J0803.5+2046_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:16 2022
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:17 2022
Terminated at Fri Dec 23 00:35:50 2022
Results reported at Fri Dec 23 00:35:50 2022

Your job looked like:

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

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

