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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1769
RA = 120.888, Dec = 20.7678
tmin = 697852801, tmax = 698112001
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='429907', job_status='RUN', time_executed='2023-02-15 00:26:09.843809', time_epoch_executed='1676449569.84' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429907

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429907/ft1_4FGL_J0803.5+2046_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429907/ft2_4FGL_J0803.5+2046_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429907/ft1_4FGL_J0803.5+2046_daily_bin1769.fits outfile=/scratch/kocevski/429907/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1769.fits ra=120.888 dec=20.7678 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.54
user 4.19
sys 0.21

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

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

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429907/ft1_filtered_4FGL_J0803.5+2046_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/429907/ft2_4FGL_J0803.5+2046_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/429907/ltcube_697852801_698112001_4FGL_J0803.5+2046_daily_bin1769.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/429907/ft2_4FGL_J0803.5+2046_daily_bin1769.fits
.....................!
real 12.43
user 12.06
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429907/ft1_filtered_4FGL_J0803.5+2046_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/429907/ft2_4FGL_J0803.5+2046_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/429907/ltcube_697852801_698112001_4FGL_J0803.5+2046_daily_bin1769.fits outfile=/scratch/kocevski/429907/expmap_697852801_698112001_4FGL_J0803.5+2046_daily_bin1769.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/429907/ltcube_697852801_698112001_4FGL_J0803.5+2046_daily_bin1769.fits
.....................!
real 190.06
user 185.31
sys 4.11

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/429907/ft1_filtered_4FGL_J0803.5+2046_daily_bin1769.fits scfile=/scratch/kocevski/429907/ft2_4FGL_J0803.5+2046_daily_bin1769.fits outfile=/scratch/kocevski/429907/cmap_697852801_698112001_4FGL_J0803.5+2046_daily_bin1769.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/429907/ft1_filtered_4FGL_J0803.5+2046_daily_bin1769.fits scfile=/scratch/kocevski/429907/ft2_4FGL_J0803.5+2046_daily_bin1769.fits outfile=/scratch/kocevski/429907/cmap_HighResolution_697852801_698112001_4FGL_J0803.5+2046_daily_bin1769.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.52
user 0.38
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    58.426       1.0000          .0000       .10000E+07
     2 'norm      '    2.0927       1.0000          .0000       .10000E+07
     3 'norm      '    11.691       1.0000          .0000       .10000E+07
     4 'norm      '    .14988E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20844E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.1970       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14105E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.6613       1.0000          .0000       .10000E+07
     9 'norm      '    .25450E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19244E-03   1.0000          .0000       .10000E+07
    11 'norm      '    29.410       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17084E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.2535       1.0000          .0000       .10000E+07
    14 'Prefactor '    .71924E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .13412E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .40199       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.9729       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.1994       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1709       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73000       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=   6031.995     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1213 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          58.390        2.6593        .13498E-07    .27793    
   2  norm          2.0902        1.3657        .66353E-08   -.34823E-03
   3  norm          11.690        2.6429       -.29168E-07   -.26133E-02
   4  norm           .0000        1.2352       -.66545E-07** at limit **
   5  Prefactor     .28866E-08    11.871       -.19173E-06** at limit **
   6  Prefactor     8.1437        9.4298        .37524E-07    .13863E-02
   7  Prefactor     .35916E-07    15.708       -.23687E-07** at limit **
   8  Prefactor     3.6626        3.2538        .39396E-07    .63107E-03
   9  norm          .55511E-10    6.1737        .22988E-06** at limit **
  10  Prefactor     .55511E-10    9.0122        .32569E-06** at limit **
  11  norm          21.250        50.450        .25303E-06    .34937E-03
  12  Prefactor     .55511E-09    36.106       -.11996E-05** at limit **
  13  Prefactor     7.5205        1.9505        .29267E-08    .15684E-01
  14  Prefactor     .38747E-07    98.958        .18776E-05** at limit **
  15  Prefactor     .60396E-07    13.665       -.39598E-06** at limit **
  16  norm          .40228        .71956       -.42128E-07   -.12499E-02
  17  Prefactor     2.9735        7.5773        .11959E-06    .80026E-03
  18  Prefactor     6.4339        1.6368       -.27606E-07    .63277E-02
  19  Normalizat    1.1700        .22304        .28403E-05    .12110E-04
  20  Prefactor     .73152        .16274       -.31423E-05   -.25666E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 58.3898
  norm       = 2.09018
  norm       = 11.6904
  norm       = 0
  Prefactor  = 2.88658e-09
  Prefactor  = 8.14371
  Prefactor  = 3.59157e-08
  Prefactor  = 3.66258
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 21.2501
  Prefactor  = 5.55112e-10
  Prefactor  = 7.52049
  Prefactor  = 3.87468e-08
  Prefactor  = 6.03961e-08
  norm       = 0.402278
  Prefactor  = 2.97349
  Prefactor  = 6.43391
  Normalizat = 1.17002
  Prefactor  = 0.731518
 **********
 **   18 **HESSE 
 **********

 FCN=   6031.995     FROM HESSE     STATUS=OK           335 CALLS     1548 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          58.390        21.246        .13084E-03   -1.5555    
   2  norm          2.0902        1.3689        .71328E-03   -1.5679    
   3  norm          11.690        2.6445        .29273E-03   -1.5640    
   4  norm           .0000        1.2351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .28866E-08    11.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1437        9.4450        .34994E-03   -1.5651    
   7  Prefactor     .35916E-07    15.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6626        3.2804        .52766E-03   -1.5670    
   9  norm          .55511E-10    6.1843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    9.0072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          21.250        50.809        .18443E-03   -1.5616    
  12  Prefactor     .55511E-09    34.639        .17237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.5205        16.639        .37219E-03   -1.5653    
  14  Prefactor     .38747E-07    97.460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .60396E-07    13.813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .40228        .85191        .20105E-02   -1.5695    
  17  Prefactor     2.9735        7.6682        .58862E-03   -1.5673    
  18  Prefactor     6.4339        129.05        .40295E-03   -1.5657    
  19  Normalizat    1.1700        .19536        .57860E-01   -.87534    
  20  Prefactor     .73152        .13932        .42799E-01   -1.0230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48772e-07
Minuit parameter uncertainties:
  1  21.2457
  2  1.3689
  3  2.64454
  4  2.06643e-06
  5  0.000372881
  6  9.44502
  7  0.00150763
  8  3.28042
  9  3.26591e-05
  10  5.27311e-05
  11  50.8101
  12  0.000277061
  13  16.6394
  14  0.00388539
  15  0.00182691
  16  0.851911
  17  7.66821
  18  57.6311
  19  0.195486
  20  0.139382
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  2.125e+01  5.081e+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:  7.315e-01  1.394e-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.170e+00  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/429907/likelihoodResults_697852801_698112001_4FGL_J0803.5+2046_daily_bin1769.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) = 6031.94475584
delta logL = 0.0503587616158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6031.94456868
delta logL = 0.0505459197047

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.384       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7482       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73148       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=   6031.945     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      229 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.279        4930.6        .21631E-03   -.10526E-02
   2  alpha         2.7422        3.2546        .41411       -.94059E-05
   3  Normalizat    1.1681        .16518        .57899E-01   -.61553E-04
   4  Prefactor     .73146        .11088        .42819E-01    .41581E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 21.2792
  alpha      = 2.74216
  Normalizat = 1.16813
  Prefactor  = 0.731462
 **********
 **   18 **HESSE 
 **********

 FCN=   6031.945     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.279        49.071        .86524E-05   -1.5616    
   2  alpha         2.7422        2.0211        .60734E-01    .97017E-01
   3  Normalizat    1.1681        .21732        .25604E-03   -.87593    
   4  Prefactor     .73146        .16074        .23251E-03   -1.0231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24658e-10
Minuit parameter uncertainties:
  1  49.0717
  2  2.35896
  3  0.217484
  4  0.160847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429907': 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) = 6031.94455947
delta logL = 0.0505551319511

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  2.128e+01  4.907e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  2.742e+00  2.359e+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:  7.315e-01  1.608e-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.168e+00  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/429907/cmap_HighResolution_697852801_698112001_4FGL_J0803.5+2046_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.97e-05', job_status='DONE', photon_flux_upper_limit='3.74e-08', time_completed='2023-02-15 00:34:38.525400', job_id='429907', GAL2='0.73', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1676450078.53', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='5.06e-02', ts2='0.35', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1769' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:34:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 429907: <4FGL_J0803.5+2046_daily_bin1769> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:25:33 2023
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:25:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:25:34 2023
Terminated at Wed Feb 15 00:34:39 2023
Results reported at Wed Feb 15 00:34:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1769 120.888 20.7678 697852801 698112001 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 :                                   509.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             320.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   544 sec.
    Turnaround time :                            546 sec.

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

