/sdf/group/fermi/u/kocevski/software/conda/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)

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).

/sdf/group/fermi/u/kocevski/software/conda/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 = 7399
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1803.4-6510_daily_bin2138
RA = 270.864, Dec = -65.1732
tmin = 793497601, tmax = 793756801
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='21837162', job_status='RUN', time_executed='2026-02-26 00:53:13.499787', time_epoch_executed='1772095993.5' WHERE source_name='4FGL J1803.4-6510' and cadence='daily' and bin_id='2138'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/21837162

Creating custom pfile directory:
/lscratch/kocevski/21837162/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=793497601.0 && nMetStart<793756801.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=793497601.0 && nMetStart<793756801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/21837162/ft1_4FGL_J1803.4-6510_daily_bin2138.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=793497601.0 && nMetStart<793756801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/21837162/ft1_4FGL_J1803.4-6510_daily_bin2138.fits outfile=/lscratch/kocevski/21837162/ft1_filteredMKT_4FGL_J1803.4-6510_daily_bin2138.fits ra=270.864 dec=-65.1732 rad=12.0 tmin=793497601.0 tmax=793756801.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.52
user 1.69
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/21837162/ft1_filteredMKT_4FGL_J1803.4-6510_daily_bin2138.fits evtable="EVENTS" outfile="/lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.91
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1455

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.fits" evtable="EVENTS" scfile=/lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits sctable="SC_DATA" outfile=/lscratch/kocevski/21837162/ltcube_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.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 /lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits
.....................!
real 9.71
user 8.82
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.fits evtable="EVENTS" scfile=/lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits sctable="SC_DATA" expcube=/lscratch/kocevski/21837162/ltcube_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.fits outfile=/lscratch/kocevski/21837162/expmap_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.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 /lscratch/kocevski/21837162/ltcube_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.fits
.....................!
real 71.78
user 67.20
sys 3.60

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 /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/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 /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/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=/lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.fits scfile=/lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits outfile=/lscratch/kocevski/21837162/cmap_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.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.60
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.fits scfile=/lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits outfile=/lscratch/kocevski/21837162/cmap_HighResolution_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.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.57
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.fits evtable="EVENTS" scfile=/lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/21837162/Model_4FGL_J1803.4-6510_daily_bin2138.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...
/lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.fits.....................!
real 234.03
user 231.98
sys 0.68

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.fits', '/lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits', expMap='/lscratch/kocevski/21837162/expmap_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.fits', expCube='/lscratch/kocevski/21837162/ltcube_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/21837162/Model_4FGL_J1803.4-6510_daily_bin2138.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  0.000e+00  1.000e+06 ( 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): /lscratch/kocevski/21837162/ft1_filtered_4FGL_J1803.4-6510_daily_bin2138.fits
Spacecraft file(s): /lscratch/kocevski/21837162/ft2_4FGL_J1803.4-6510_daily_bin2138.fits
Exposure map: /lscratch/kocevski/21837162/expmap_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.fits
Exposure cube: /lscratch/kocevski/21837162/ltcube_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/21837162/Model_4FGL_J1803.4-6510_daily_bin2138.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) = 14641.3541211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8593       1.0000          .0000       .10000E+07
     2 'norm      '    10.738       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15536E-05   1.0000          .0000       .10000E+07
     4 'norm      '    6.6707       1.0000          .0000       .10000E+07
     5 'norm      '    83.376       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7956       1.0000          .0000       .10000E+07
     7 'Prefactor '    .42354E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.414       1.0000          .0000       .10000E+07
     9 'Prefactor '    .67901E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.9668       1.0000          .0000       .10000E+07
    11 'norm      '    .73830E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .98226E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .55995E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49772E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14033E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .76887       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.7751       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17401E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .32931       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4462       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84758       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1120E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14641.26     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1415 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8860        5.4154        .11410E-06    .24308E-03
   2  norm          10.622        6.5245       -.20296E-07   -.32159E-02
   3  Prefactor     .20539E-08    6.6057       -.92828E-06** at limit **
   4  norm          6.6704        4.7219       -.23334E-06    .11488E-03
   5  norm          82.257        48.876       -.23086E-05    .60495E-02
   6  Prefactor     9.7117        10.535       -.78689E-06   -.22272E-01
   7  Prefactor     .55511E-10    46.966        .13958E-05** at limit **
   8  Prefactor     12.507        10.266       -.50001E-06   -.41110E-02
   9  Prefactor      .0000        9.4629        .68258E-06** at limit **
  10  Prefactor     1.8629        15.881        .27869E-06   -.33012E-02
  11  norm           .0000        1.7898       -.76352E-06** at limit **
  12  Prefactor     .11102E-09    24.267       -.14274E-05** at limit **
  13  norm          .98199E-06    9.3919       -.26236E-05** at limit **
  14  Prefactor     .63766E-06    2.2393       -.80029E-06** at limit **
  15  Prefactor     .14877E-07    57.483       -.13955E-05** at limit **
  16  norm          .73940        14.293       -.53643E-05    .80825E-02
  17  Prefactor     2.5975        4.1766       -.82710E-06   -.29311E-01
  18  Prefactor     .15543E-08    42.600       -.56268E-05** at limit **
  19  norm          .32696        1.3346       -.63564E-06   -.11983E-02
  20  Normalizat    1.4477        .26385        .14305E-04   -.34958E-05
  21  Prefactor     .84763        .72405E-01    .45575E-07   -.61482E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.88605
  norm       = 10.6219
  Prefactor  = 2.05391e-09
  norm       = 6.67035
  norm       = 82.2567
  Prefactor  = 9.71166
  Prefactor  = 5.55112e-11
  Prefactor  = 12.5065
  Prefactor  = 0
  Prefactor  = 1.8629
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 9.81992e-07
  Prefactor  = 6.37657e-07
  Prefactor  = 1.4877e-08
  norm       = 0.739403
  Prefactor  = 2.59752
  Prefactor  = 1.55431e-09
  norm       = 0.326961
  Normalizat = 1.44772
  Prefactor  = 0.847634
 **********
 **   18 **HESSE 
 **********

 FCN=   14641.26     FROM HESSE     STATUS=OK           387 CALLS     1802 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8860        5.4156        .35743E-03   -1.5652    
   2  norm          10.622        6.5126        .30551E-03   -1.5643    
   3  Prefactor     .20539E-08    6.6282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.6704        4.7305        .38828E-03   -1.5656    
   5  norm          82.257        49.116        .10952E-03   -1.5527    
   6  Prefactor     9.7117        11.087        .31993E-03   -1.5646    
   7  Prefactor     .55511E-10    11.290        .15859E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.507        10.327        .28405E-03   -1.5637    
   9  Prefactor      .0000        9.4788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8629        17.187        .73918E-03   -1.5681    
  11  norm           .0000        .32283        .23160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    24.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .98199E-06    8.4644        .15309E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .63766E-06    22.446        .19386E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14877E-07    57.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .73940        16.256        .55285E-03   -1.5691    
  17  Prefactor     2.5975        14.479        .61063E-03   -1.5676    
  18  Prefactor     .15543E-08    42.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .32696        .96915        .35283E-02   -1.5697    
  20  Normalizat    1.4477        .23613        .96336E-01   -.79258    
  21  Prefactor     .84763        .61694E-01    .33357E-01   -.97996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67417e-07
Minuit parameter uncertainties:
  1  5.41556
  2  6.51264
  3  0.000232786
  4  4.7305
  5  49.1159
  6  11.0866
  7  5.26618e-05
  8  10.3273
  9  3.23066e-05
  10  11.3168
  11  5.1282e-06
  12  0.000105303
  13  0.00576608
  14  0.00756636
  15  0.00185282
  16  6.93381
  17  12.2653
  18  0.000518979
  19  0.969147
  20  0.236305
  21  0.0616993
Done.

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

Extracting fit parameters...

4FGL J1803.4-6510
   Spectrum: PowerLaw
748    Prefactor:  0.000e+00  3.231e-05  0.000e+00  1.000e+06 ( 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:  8.476e-01  6.170e-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.448e+00  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 270.864 -65.173
Photon Flux Upper Limit: 7.38275848921e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00574146344252 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/21837162/likelihoodResults_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.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) = 14641.3111781
delta logL = -0.0514779417663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14641.2597017
delta logL = -1.57532122103e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38158E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62717       1.0000          .0000       10.000    
     3 'Normalizat'    1.4473       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84770       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14641.26     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      219 TOTAL
                     EDM=   .73E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.8825        .42118E-03** at limit **
   2  Index         3.2154        1.8799        .11507E-04     .0000    
   3  Normalizat    1.4477        1.0558       -.81196E-05   -.29265E-04
   4  Prefactor     .84763        1.1948        .35843E-05   -.59901E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.21545
  Normalizat = 1.44772
  Prefactor  = 0.847634
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14641.26     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .73E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.8825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1624        2.2040        .11507E-04   -.36496    
   3  Normalizat    1.4477        1.0558       -.81196E-05   -.79258    
   4  Prefactor     .84763        1.1948        .35843E-05   -.97996    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.33858e-13
Minuit parameter uncertainties:
  1  1.70541e-06
  2  1.93476
  3  1.07239
  4  1.23486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14641.2597001
delta logL = 0.0

Extracting fit parameters...

4FGL J1803.4-6510
   Spectrum: PowerLaw
748    Prefactor:  0.000e+00  1.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
749        Index:  3.215e+00  1.935e+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:  8.476e-01  1.235e+00  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.448e+00  1.072e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 270.864 -65.173

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 /lscratch/kocevski/21837162/cmap_HighResolution_793497601_793756801_4FGL_J1803.4-6510_daily_bin2138.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.38e-08', time_completed='2026-02-26 01:10:10.645747', job_id='21837162', GAL2='0.85', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1772097010.65', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='2138' AND source_name='4FGL J1803.4-6510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb 26 01:10:10 PST 2026

