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 26 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1803.4-6510_daily_bin1674
RA = 270.864, Dec = -65.1732
tmin = 673228801, tmax = 673488001
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='671136', job_status='RUN', time_executed='2022-05-06 02:58:57.663847', time_epoch_executed='1651831137.66' WHERE source_name='4FGL J1803.4-6510' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671136

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671136/ft1_4FGL_J1803.4-6510_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671136/ft1_4FGL_J1803.4-6510_daily_bin1674.fits outfile=/scratch/kocevski/671136/ft1_filteredMKT_4FGL_J1803.4-6510_daily_bin1674.fits ra=270.864 dec=-65.1732 rad=12.0 tmin=673228801.0 tmax=673488001.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 2.79
user 2.55
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.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/671136/ft1_filteredMKT_4FGL_J1803.4-6510_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.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.54
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1088

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/671136/ltcube_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.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/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits
.....................!
real 13.91
user 13.46
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/671136/ltcube_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.fits outfile=/scratch/kocevski/671136/expmap_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.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/671136/ltcube_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.fits
.....................!
real 191.18
user 185.43
sys 5.33

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
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Added 303 point sources and 16 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1803.4-6510 @ 270.864 -65.1732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.fits scfile=/scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits outfile=/scratch/kocevski/671136/cmap_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.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=270.864 yref=-65.1732 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.fits scfile=/scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits outfile=/scratch/kocevski/671136/cmap_HighResolution_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.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=270.864 yref=-65.1732 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/671136/Model_4FGL_J1803.4-6510_daily_bin1674.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 FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1501.0-6310
adding source FHES J1642.1-5428
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1507-622
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.fits.....................!
real 454.79
user 452.62
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.fits', '/scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits', expMap='/scratch/kocevski/671136/expmap_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.fits', expCube='/scratch/kocevski/671136/ltcube_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/671136/Model_4FGL_J1803.4-6510_daily_bin1674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1803.4-6510'

4FGL J1803.4-6510
   Spectrum: PowerLaw
748    Prefactor:  4.100e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
749        Index:  2.498e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
750        Scale:  1.068e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/671136/ft1_filtered_4FGL_J1803.4-6510_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/671136/ft2_4FGL_J1803.4-6510_daily_bin1674.fits
Exposure map: /scratch/kocevski/671136/expmap_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.fits
Exposure cube: /scratch/kocevski/671136/ltcube_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/671136/Model_4FGL_J1803.4-6510_daily_bin1674.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) = 10981.6025972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.2525       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0628       1.0000         .10000E-03   10000.    
     6 'norm      '    89.612       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.295       1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.511       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4724       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.116       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11149E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.0970       1.0000         .10000E-03   10000.    
    13 'Prefactor '    62.970       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    23.771       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .26637E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    149.12       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.5550       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1977       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0219       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1120E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10981.59     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2485 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.8047       -.22428E-08** at limit **
   2  norm          2.2523        10.241        .79116E-06   -.37774E-04
   3  Prefactor     .10000E-03    21.987       -.13593E-05** at limit **
   4  Prefactor     .10000E-03    30.188        .29337E-05** at limit **
   5  norm          2.0645        5.5482        .18899E-06   -.31642E-03
   6  norm          89.579        77.943       -.43358E-05   -.27556E-03
   7  Prefactor     21.297        14.190        .19101E-07   -.88828E-05
   8  Prefactor     32.490        42.458       -.59952E-05   -.33389E-03
   9  Prefactor     2.4732        28.265        .19865E-04   -.29848E-03
  10  Prefactor     17.095        26.369       -.35246E-05   -.38459E-03
  11  Prefactor     .10000E-03    8.3294       -.52195E-06** at limit **
  12  norm          2.0962        1.2645        .21790E-07    .39980E-04
  13  Prefactor     62.965        70.152       -.92659E-06   -.29058E-04
  14  Prefactor     .10000E-03    34.809        .45480E-06** at limit **
  15  norm          23.770        19.701        .87987E-07   -.11594E-04
  16  Prefactor     .10006E-03    116.40       -.11841E-04** at limit **
  17  Prefactor     .10000E-03    36.626       -.14510E-05** at limit **
  18  norm          149.12        19.635       -.15118E-07   -.96077E-04
  19  Prefactor     .10000E-03    7.3182        .95335E-07** at limit **
  20  Prefactor     .10000E-03    13.304        .25668E-06** at limit **
  21  norm          1.5547        1.6511        .20437E-06   -.15908E-03
  22  Normalizat    1.1977        .31426       -.65794E-07   -.10974E-04
  23  Prefactor     1.0219        .88227E-01   -.18072E-06   -.19848E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.25228
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  norm       = 2.0645
  norm       = 89.5792
  Prefactor  = 21.2965
  Prefactor  = 32.4904
  Prefactor  = 2.47322
  Prefactor  = 17.0948
  Prefactor  = 0.0001
  norm       = 2.09623
  Prefactor  = 62.9651
  Prefactor  = 0.0001
  norm       = 23.7705
  Prefactor  = 0.00010006
  Prefactor  = 0.000100001
  norm       = 149.122
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55468
  Normalizat = 1.19771
  Prefactor  = 1.02189
 **********
 **   18 **HESSE 
 **********

 FCN=   10981.59     FROM HESSE     STATUS=OK           364 CALLS     2849 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.8062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2523        10.326        .27377E-03   -1.5408    
   3  Prefactor     .10000E-03    22.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    30.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0645        5.5758        .28770E-03   -1.5421    
   6  norm          89.579        79.521        .42446E-04   -1.3812    
   7  Prefactor     21.297        14.186        .86796E-04   -1.4785    
   8  Prefactor     32.490        43.273        .70276E-04   -1.4567    
   9  Prefactor     2.4732        30.162        .13002E-02   -1.5393    
  10  Prefactor     17.095        26.996        .96809E-04   -1.4881    
  11  Prefactor     .10000E-03    8.3335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0962        1.2596        .82716E-04   -1.5418    
  13  Prefactor     62.965        70.360        .50568E-04   -1.4119    
  14  Prefactor     .10000E-03    34.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.770        19.717        .82157E-04   -1.4732    
  16  Prefactor     .10006E-03    121.22        .21439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    36.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          149.12        19.679        .33003E-04   -1.3260    
  19  Prefactor     .10000E-03    7.3814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.5547        1.6421        .13114E-03   -1.5459    
  22  Normalizat    1.1977        .36395        .52305E-03   -.86674    
  23  Prefactor     1.0219        .10377        .16355E-03   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84458e-09
Minuit parameter uncertainties:
  1  2.1113e-06
  2  9.64778
  3  0.000286198
  4  0.000695378
  5  5.57717
  6  79.6159
  7  14.1881
  8  43.3151
  9  17.2845
  10  27.0153
  11  6.15726e-05
  12  1.25965
  13  70.4534
  14  0.000110396
  15  19.722
  16  0.00542237
  17  0.000371344
  18  19.68
  19  1.49501e-06
  20  2.19687e-05
  21  1.64215
  22  0.364721
  23  0.103786
Done.

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

Extracting fit parameters...

4FGL J1803.4-6510
   Spectrum: PowerLaw
748    Prefactor:  1.709e+01  2.702e+01  1.000e-04  1.000e+04 ( 1.000e-13)
749        Index:  2.498e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
750        Scale:  1.068e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1090    Prefactor:  1.022e+00  1.038e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1091        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1092        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1061   Normalization:  1.198e+00  3.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 270.864 -65.173
Photon Flux Upper Limit: 1.80e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.40e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/671136/likelihoodResults_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.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) = 10979.8512197
delta logL = 1.7372477387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.7977542
delta logL = 1.79071320262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6036       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1862       1.0000          .0000       10.000    
     3 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0434       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1120E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10979.80     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      271 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5819        20.000        .63207E-02    .85222E-03
   2  Index         4.1902        2.0865        .12372        .26765E-03
   3  Normalizat    1.0599        .88127E-01    .12418        .44328E-04
   4  Prefactor     1.0433        .25347E-01    .40312E-01   -.47191E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.58192
  Index      = 4.19025
  Normalizat = 1.05988
  Prefactor  = 1.04328
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.80     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      304 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5819        40.189        .90901E-04   -1.5387    
   2  Index         4.1902        3.4332        .44305E-02   -.16267    
   3  Normalizat    1.0599        .31125        .55090E-03   -.91051    
   4  Prefactor     1.0433        .90383E-01    .16189E-03   -.91300    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01585e-09
Minuit parameter uncertainties:
  1  20.3889
  2  3.797
  3  0.311788
  4  0.0903965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671136': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.7977464
delta logL = 1.79072098089

Extracting fit parameters...

4FGL J1803.4-6510
   Spectrum: PowerLaw
748    Prefactor:  2.582e+00  2.039e+01  1.000e-04  1.000e+04 ( 1.000e-13)
749        Index:  4.190e+00  3.797e+00  0.000e+00  1.000e+01 (-1.000e+00)
750        Scale:  1.068e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1090    Prefactor:  1.043e+00  9.040e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1091        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1092        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1061   Normalization:  1.060e+00  3.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.28
Ra Dec: 270.864 -65.173
Photon Index (Free Index): 4.19 +/- 3.80
Photon Flux (Free Index): 1.66e-07 +/- 9.48e-08
Energy Flux (Free Index): 2.41e-05 +/- 2.02e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/671136/cmap_HighResolution_673228801_673488001_4FGL_J1803.4-6510_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-02', comment='SUCCESS', energy_flux2='2.41e-05', dlogl='1.79e+00', photon_flux2='1.66e-07', job_status='DONE', time_completed='2022-05-06 03:30:46.831550', photon_index_error2='3.80', photon_index2='4.19', ts='0.47', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.80e-07', energy_flux_error2='2.02e-05', EG='1.20', time_epoch_completed='1651833046.83', return_code='0', job_id='671136', GAL2='1.04', EG2='1.06', return_code2='102', photon_flux_error2='9.48e-08', ts2='4.28', photon_index='2.50' WHERE bin_id='1674' AND source_name='4FGL J1803.4-6510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:30:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 671149: <4FGL_J1803.4-6510_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1803.4-6510_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:08:16 2022
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:58:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:58:27 2022
Terminated at Fri May  6 03:30:35 2022
Results reported at Fri May  6 03:30:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1803.4-6510_daily_bin1674 270.864 -65.1732 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1803.4-6510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1893.00 sec.
    Max Memory :                                 624 MB
    Average Memory :                             388.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1928 sec.
    Turnaround time :                            12139 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 671136: <4FGL_J1803.4-6510_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1803.4-6510_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:08:15 2022
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:58:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:58:18 2022
Terminated at Fri May  6 03:30:47 2022
Results reported at Fri May  6 03:30:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1803.4-6510_daily_bin1674 270.864 -65.1732 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1803.4-6510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1910.00 sec.
    Max Memory :                                 1262 MB
    Average Memory :                             409.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1949 sec.
    Turnaround time :                            12152 sec.

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

