 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
number of points = 7456
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1304.6-0348_daily_bin2178
RA = 196.172, Dec = -3.8139
tmin = 803865601, tmax = 804124801
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='31406383', job_status='RUN', time_executed='2026-07-11 22:34:05.646126', time_epoch_executed='1783834445.65' WHERE source_name='4FGL J1304.6-0348' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31406383

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31406383/ft1_4FGL_J1304.6-0348_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31406383/ft1_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406383/ft1_filteredMKT_4FGL_J1304.6-0348_daily_bin2178.fits ra=196.172 dec=-3.8139 rad=12.0 tmin=803865601.0 tmax=804124801.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 1.91
user 1.42
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.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/31406383/ft1_filteredMKT_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.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.80
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1031

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31406303/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406303/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 7.68
user 7.07
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31406303/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406303/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31406303/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406303/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406303/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 59.30
user 55.34
sys 3.30

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1304.6-0348 @ 196.172 -3.8139

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31406303/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406303/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406303/cmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.66
user 0.19
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31406303/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406303/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406303/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.69
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31406303/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406303/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31406303/Model_4FGL_J1304.6-0348_daily_bin2178.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 GA/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).

number of points = 7456
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1304.6-0348_daily_bin2178
RA = 196.172, Dec = -3.8139
tmin = 803865601, tmax = 804124801
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='31406380', job_status='RUN', time_executed='2026-07-11 22:34:07.548026', time_epoch_executed='1783834447.55' WHERE source_name='4FGL J1304.6-0348' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31406380

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31406380/ft1_4FGL_J1304.6-0348_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31406380/ft1_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406380/ft1_filteredMKT_4FGL_J1304.6-0348_daily_bin2178.fits ra=196.172 dec=-3.8139 rad=12.0 tmin=803865601.0 tmax=804124801.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.18
user 1.53
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.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/31406380/ft1_filteredMKT_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.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.79
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 1031

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" o/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).

utfile=/lscratch/kocevski/31406293/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406293/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 9.01
user 8.29
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31406293/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406293/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31406293/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406293/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406293/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 71.14
user 66.49
sys 3.73

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1304.6-0348 @ 196.172 -3.8139

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31406293/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406293/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406293/cmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.76
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31406293/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406293/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406293/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.88
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31406293/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406293/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31406293/Model_4FGL_J1304.6-0348_daily_bin2178.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...
/lscratch/kocevski/31406248/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 33.54
user 32.09
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406248/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406248/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406248/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406248/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406248/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406248/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406248/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406248/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406248/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406248/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406162/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406162/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:36:39.135232', job_id='31406162', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834599.14', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:36:39 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
L_V02
Working on...
/lscratch/kocevski/31406234/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 35.44
user 33.43
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406234/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406234/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406234/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406234/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406234/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406234/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406234/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406234/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406234/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406234/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
utfile=/lscratch/kocevski/31406449/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406449/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 8.85
user 8.12
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31406449/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406449/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31406449/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406449/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406449/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 67.71
user 63.03
sys 3.85

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1304.6-0348 @ 196.172 -3.8139

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31406449/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406449/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406449/cmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.78
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31406449/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406449/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406449/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.71
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31406449/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406449/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31406449/Model_4FGL_J1304.6-0348_daily_bin2178.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 GAutfile=/lscratch/kocevski/31406417/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406417/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 9.62
user 8.74
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31406417/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406417/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31406417/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406417/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406417/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 73.02
user 68.16
sys 4.02

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1304.6-0348 @ 196.172 -3.8139

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31406417/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406417/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406417/cmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.80
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31406417/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406417/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406417/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.76
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31406417/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406417/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31406417/Model_4FGL_J1304.6-0348_daily_bin2178.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 GADone.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406248/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
utfile=/lscratch/kocevski/31406448/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406448/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 9.51
user 8.74
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31406448/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406448/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31406448/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406448/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406448/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 73.08
user 68.06
sys 4.24

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1304.6-0348 @ 196.172 -3.8139

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31406448/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406448/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406448/cmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.82
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31406448/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406448/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406448/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.80
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31406448/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406448/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31406448/Model_4FGL_J1304.6-0348_daily_bin2178.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 GAshell-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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406248/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:37:41.278654', job_id='31406248', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834661.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:37:41 PDT 2026

L_V02
Working on...
/lscratch/kocevski/31406285/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 34.30
user 32.63
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406285/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406285/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406285/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406285/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406285/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406285/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406285/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406285/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406285/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406285/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
L_V02
Working on...
/lscratch/kocevski/31406303/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 29.35
user 27.84
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406303/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406303/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406303/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406303/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406303/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406303/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406303/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406303/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406303/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406303/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
utfile=/lscratch/kocevski/31406383/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 8.91
user 8.09
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31406383/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406383/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406383/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 70.05
user 64.85
sys 4.07

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1304.6-0348 @ 196.172 -3.8139

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406383/cmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.16
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406383/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.16
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31406383/Model_4FGL_J1304.6-0348_daily_bin2178.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 GAnumber of points = 7456
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1304.6-0348_daily_bin2178
RA = 196.172, Dec = -3.8139
tmin = 803865601, tmax = 804124801
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='31406565', job_status='RUN', time_executed='2026-07-11 22:36:16.796288', time_epoch_executed='1783834576.8' WHERE source_name='4FGL J1304.6-0348' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31406565

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31406565/ft1_4FGL_J1304.6-0348_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31406565/ft1_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406565/ft1_filteredMKT_4FGL_J1304.6-0348_daily_bin2178.fits ra=196.172 dec=-3.8139 rad=12.0 tmin=803865601.0 tmax=804124801.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.14
user 1.46
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.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/31406565/ft1_filteredMKT_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.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.79
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1031

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406234/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406234/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:38:09.694676', job_id='31406234', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834689.69', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:38:09 PDT 2026

utfile=/lscratch/kocevski/31406380/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 9.72
user 8.83
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31406380/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406380/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406380/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 74.33
user 69.22
sys 4.15

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1304.6-0348 @ 196.172 -3.8139

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406380/cmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.95
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406380/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.01
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31406380/Model_4FGL_J1304.6-0348_daily_bin2178.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 GA **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
L_V02
Working on...
/lscratch/kocevski/31406293/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 34.84
user 33.31
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406293/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406293/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406293/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406293/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406293/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406293/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406293/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406293/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406293/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406293/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406285/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406303/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406285/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:39:02.396753', job_id='31406285', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834742.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:39:02 PDT 2026

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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406303/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:39:04.004866', job_id='31406303', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834744.0', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:39:04 PDT 2026

L_V02
Working on...
/lscratch/kocevski/31406449/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 32.02
user 30.44
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406449/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406449/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406449/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406449/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406449/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406449/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406449/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406449/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406449/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406449/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
L_V02
Working on...
/lscratch/kocevski/31406417/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 35.05
user 33.36
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406417/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406417/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406417/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406417/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406417/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406417/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406417/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406417/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406417/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406417/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406293/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
L_V02
Working on...
/lscratch/kocevski/31406448/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 35.44
user 33.67
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406448/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406448/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406448/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406448/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406448/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406448/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406448/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406448/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406448/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406448/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406293/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:39:45.600407', job_id='31406293', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834785.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:39:45 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
tfile=/lscratch/kocevski/31406565/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 9.24
user 8.43
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31406565/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406565/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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/31406565/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
.....................!
real 71.01
user 65.61
sys 4.16

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1304.6-0348 @ 196.172 -3.8139

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406565/cmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.74
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits scfile=/lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits outfile=/lscratch/kocevski/31406565/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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=196.172 yref=-3.8139 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.73
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31406565/Model_4FGL_J1304.6-0348_daily_bin2178.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 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
L_V02
Working on...
/lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 34.28
user 32.39
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406383/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406383/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406383/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406383/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406383/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406383/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406383/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406383/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406449/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
L_V02
Working on...
/lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 36.39
user 34.30
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406380/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406380/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406380/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406380/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406380/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406380/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406380/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406380/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406449/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:40:25.963101', job_id='31406449', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834825.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:40:26 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406417/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406448/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406417/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:40:47.660528', job_id='31406417', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834847.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:40:48 PDT 2026

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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406448/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:40:48.964194', job_id='31406448', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834848.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:40:49 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406383/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406383/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:41:13.022579', job_id='31406383', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834873.02', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:41:13 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406380/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406380/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:41:34.712288', job_id='31406380', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834894.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:41:35 PDT 2026

_V02
Working on...
/lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits.....................!
real 35.30
user 33.51
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits', '/lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits', expMap='/lscratch/kocevski/31406565/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', expCube='/lscratch/kocevski/31406565/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31406565/Model_4FGL_J1304.6-0348_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1304.6-0348'

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  2.667e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31406565/ft1_filtered_4FGL_J1304.6-0348_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31406565/ft2_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31406565/expmap_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31406565/ltcube_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31406565/Model_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5325153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16018E-03   1.0000          .0000       .10000E+07
     2 'norm      '    11.434       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1267       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9080       1.0000          .0000       .10000E+07
     5 'norm      '    2.7351       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     8 'norm      '    3.1002       1.0000          .0000       .10000E+07
     9 'norm      '    .22368       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47678E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.3104       1.0000          .0000       .10000E+07
    12 'norm      '    .54549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.390       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56368       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.171       1.0000          .0000       .10000E+07
    17 'norm      '    1.1603       1.0000          .0000       .10000E+07
    18 'norm      '    .83250E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1571 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1628       -.36314E-07** at limit **
   2  norm          11.433        .98444        .63304E-09    .17431E-01
   3  Prefactor     1.1075        11.059        .60952E-07    .79828E-03
   4  Prefactor     4.9026        7.0825        .15759E-08   -.19126E-01
   5  norm          2.7332        1.4133        .32658E-07    .20046E-01
   6  Prefactor     .55511E-10    2.7743        .12615E-06** at limit **
   7  Prefactor     19.146        24.334       -.44263E-07    .47874E-01
   8  norm          3.0845        2.3815        .19234E-07   -.39335E-01
   9  norm          .22408        .14462        .11122E-08** at limit **
  10  Prefactor     .39818E-06    16.531       -.12642E-06** at limit **
  11  norm          4.2876        1.9604        .12874E-07   -.21660E-01
  12  norm          .32196E-08    3.2537        .82936E-07** at limit **
  13  Prefactor     13.496        1.4678       -.37974E-08    .11126E-01
  14  Prefactor     6.2553        1.0660       -.29164E-08    .24801E-02
  15  Prefactor     .59442        .67312       -.14229E-07    .16479E-01
  16  Prefactor     27.845        7.1964       -.15314E-07    .18899    
  17  norm          1.1588        1.1327        .45009E-07    .19493E-01
  18  norm          .24425E-08    2.1995       -.56802E-07** at limit **
  19  norm          .13878E-08    6.4816       -.94400E-07** at limit **
  20  Normalizat    1.5126        .22657       -.39470E-06    .66200E-03
  21  Prefactor     .84746        .15523        .15170E-05    .84210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 11.4331
  Prefactor  = 1.10746
  Prefactor  = 4.90258
  norm       = 2.73319
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1463
  norm       = 3.08446
  norm       = 0.224076
  Prefactor  = 3.98181e-07
  norm       = 4.28763
  norm       = 3.21965e-09
  Prefactor  = 13.4962
  Prefactor  = 6.25532
  Prefactor  = 0.594422
  Prefactor  = 27.8453
  norm       = 1.15885
  norm       = 2.44249e-09
  norm       = 1.38778e-09
  Normalizat = 1.5126
  Prefactor  = 0.847465
 **********
 **   18 **HESSE 
 **********

 FCN=   10403.49     FROM HESSE     STATUS=OK           367 CALLS     1938 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.433        .98403        .29601E-03   -1.5640    
   3  Prefactor     1.1075        11.007        .11024E-02   -1.5687    
   4  Prefactor     4.9026        7.2551        .45377E-03   -1.5664    
   5  norm          2.7332        1.4183        .61541E-03   -1.5675    
   6  Prefactor     .55511E-10    2.7834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.146        26.143        .22565E-03   -1.5620    
   8  norm          3.0845        21.451        .57568E-03   -1.5673    
   9  norm          .22408        .15061        .66507E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39818E-06    17.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2876        9.0176        .48498E-03   -1.5667    
  12  norm          .32196E-08    3.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.496        9.3678        .27348E-03   -1.5634    
  14  Prefactor     6.2553        11.437        .40088E-03   -1.5658    
  15  Prefactor     .59442        14.908        .72546E-03   -1.5693    
  16  Prefactor     27.845        18.697        .18518E-03   -1.5602    
  17  norm          1.1588        1.1601        .10694E-02   -1.5686    
  18  norm          .24425E-08    2.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13878E-08    6.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5126        .19554        .67072E-01   -.77425    
  21  Prefactor     .84746        .13132        .44333E-01   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95482e-07
Minuit parameter uncertainties:
  1  1.51804e-05
  2  0.984032
  3  6.98283
  4  7.25509
  5  1.41833
  6  2.83296e-05
  7  26.1436
  8  16.2683
  9  0.150608
  10  0.00523897
  11  9.01767
  12  0.000206941
  13  9.36785
  14  11.4375
  15  5.95374
  16  18.6974
  17  1.1601
  18  0.000146453
  19  0.000189424
  20  0.195638
  21  0.131368
Done.

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

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  3.982e-07  5.239e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 196.172 -3.814
Photon Flux Upper Limit: 4.84384761156e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00368393908366 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31406565/likelihoodResults_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.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) = 10403.5162041
delta logL = -0.0277537616148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10403.4884504
delta logL = -2.79505911749e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29425       1.0000          .0000       10.000    
     3 'Normalizat'    1.5127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.252        .42118E-03** at limit **
   2  Index         2.5666        1.5674        .42434E-04     .0000    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.68706E-05
   4  Prefactor     .84746        1.1946        .47549E-05   -.39249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56663
  Normalizat = 1.5126
  Prefactor  = 0.847463
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10403.49     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74397        1.9847        .42434E-04   -.50828    
   3  Normalizat    1.5126        1.0484       -.42514E-05   -.77425    
   4  Prefactor     .84746        1.1946        .47549E-05   -.98002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.24127e-12
Minuit parameter uncertainties:
  1  1.58012e-05
  2  1.60316
  3  1.06405
  4  1.23465
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) = 10403.4884504
delta logL = 1.18034222396e-08

Extracting fit parameters...

4FGL J1304.6-0348
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.580e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.567e+00  1.603e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  2.075e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
604    Prefactor:  8.475e-01  1.235e+00  0.000e+00  1.000e+01 ( 1.000e+00)
605        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
606        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
603   Normalization:  1.513e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 196.172 -3.814

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/31406565/cmap_HighResolution_803865601_804124801_4FGL_J1304.6-0348_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2026-07-11 22:43:09.237214', job_id='31406565', GAL2='0.85', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1783834989.24', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2178' AND source_name='4FGL J1304.6-0348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 22:43:09 PDT 2026

