 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19994.62     FROM HESSE     STATUS=FAILED         9 CALLS      252 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99073        2.0489       -.68451E-05   -.42039    
   3  Normalizat    .96580        1.2976        .29698E-05   -.94185    
   4  Prefactor     .92140        1.2653       -.47987E-05   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.42822e-11
Minuit parameter uncertainties:
  1  8.83642e-06
  2  1.28396
  3  1.34394
  4  1.30955
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) = 19994.6190688
delta logL = 2.4119799491e-09

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.959e+00  1.284e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  1.310e+00  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.344e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.078 6.307

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/40074013/cmap_HighResolution_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2026-10-06 19:39:17.308217', job_id='40074013', GAL2='0.92', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1791340757.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.41e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='948' AND source_name='4FGL J2304.3+0618' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 19:39:17 PDT 2026

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.846e-08  1.393e-03  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  8.190e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 4.74327843935e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00369629417765 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40074027/likelihoodResults_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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): 102
logL (Free Index) = 19994.6192096
delta logL = -0.000140778931382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19994.6190692
delta logL = -4.17800038122e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39946E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.6689       1.0000          .0000       10.000    
     3 'Normalizat'    .96566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19994.62     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      243 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.4848        .42118E-03** at limit **
   2  Index         2.9594        1.2671       -.68451E-05     .0000    
   3  Normalizat    .96580        1.2976        .29698E-05   -.15819E-03
   4  Prefactor     .92140        1.2653       -.47987E-05   -.18370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.95941
  Normalizat = 0.965799
  Prefactor  = 0.921398
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19994.62     FROM HESSE     STATUS=FAILED         9 CALLS      252 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99073        2.0489       -.68451E-05   -.42039    
   3  Normalizat    .96580        1.2976        .29698E-05   -.94185    
   4  Prefactor     .92140        1.2653       -.47987E-05   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.42822e-11
Minuit parameter uncertainties:
  1  8.83642e-06
  2  1.28396
  3  1.34394
  4  1.30955
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) = 19994.6190688
delta logL = 2.4119799491e-09

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.959e+00  1.284e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  1.310e+00  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.344e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.078 6.307

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/40074027/cmap_HighResolution_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2026-10-06 19:39:57.799762', job_id='40074027', GAL2='0.92', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1791340797.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.41e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='948' AND source_name='4FGL J2304.3+0618' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 19:39:57 PDT 2026

utfile=/lscratch/kocevski/40074302/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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/40074302/ft2_4FGL_J2304.3+0618_weekly_bin948.fits
.....................!
real 18.33
user 17.75
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40074302/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40074302/ft2_4FGL_J2304.3+0618_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40074302/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074302/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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/40074302/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
.....................!
real 70.56
user 65.89
sys 4.12

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J2304.3+0618 @ 346.078 6.3071

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40074302/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits scfile=/lscratch/kocevski/40074302/ft2_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074302/cmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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=346.078 yref=6.3071 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.67
user 0.27
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40074302/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits scfile=/lscratch/kocevski/40074302/ft2_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074302/cmap_HighResolution_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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=346.078 yref=6.3071 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.26
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40074302/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40074302/ft2_4FGL_J2304.3+0618_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40074302/Model_4FGL_J2304.3+0618_weekly_bin948.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 GALnumber of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2304.3+0618_weekly_bin948
RA = 346.078, Dec = 6.3071
tmin = 812332801, tmax = 812937601
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='40074487', job_status='RUN', time_executed='2026-10-06 19:37:32.009403', time_epoch_executed='1791340652.01' WHERE source_name='4FGL J2304.3+0618' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40074487

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40074487/ft1_4FGL_J2304.3+0618_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40074487/ft1_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074487/ft1_filteredMKT_4FGL_J2304.3+0618_weekly_bin948.fits ra=346.078 dec=6.3071 rad=12.0 tmin=812332801.0 tmax=812937601.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 6.17
user 5.57
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.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/40074487/ft1_filteredMKT_4FGL_J2304.3+0618_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.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.72
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 1896

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits sctable="SC_DATA" onumber of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2304.3+0618_weekly_bin948
RA = 346.078, Dec = 6.3071
tmin = 812332801, tmax = 812937601
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='40074611', job_status='RUN', time_executed='2026-10-06 19:39:34.319796', time_epoch_executed='1791340774.32' WHERE source_name='4FGL J2304.3+0618' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40074611

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40074611/ft1_4FGL_J2304.3+0618_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40074611/ft1_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074611/ft1_filteredMKT_4FGL_J2304.3+0618_weekly_bin948.fits ra=346.078 dec=6.3071 rad=12.0 tmin=812332801.0 tmax=812937601.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 5.99
user 5.33
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.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/40074611/ft1_filteredMKT_4FGL_J2304.3+0618_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.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.72
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1896

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/40074302/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits.....................!
real 78.73
user 77.03
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40074302/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits', '/lscratch/kocevski/40074302/ft2_4FGL_J2304.3+0618_weekly_bin948.fits', expMap='/lscratch/kocevski/40074302/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits', expCube='/lscratch/kocevski/40074302/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40074302/Model_4FGL_J2304.3+0618_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2304.3+0618'

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.761e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40074302/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40074302/ft2_4FGL_J2304.3+0618_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40074302/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40074302/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40074302/Model_4FGL_J2304.3+0618_weekly_bin948.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) = 19994.7336042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74796E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.2300       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .86165E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2435       1.0000         .10000E-03   10000.    
     6 'norm      '    13.681       1.0000          .0000       .10000E+07
     7 'Prefactor '    .52569E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .38885       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.949       1.0000          .0000       .10000E+07
    10 'norm      '    .56988       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18987E-05   1.0000          .0000       .10000E+07
    13 'norm      '    4.3685       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1116       1.0000          .0000       .10000E+07
    15 'Prefactor '    .86204E-04   1.0000          .0000       .10000E+07
    16 'norm      '    6.3428       1.0000          .0000       .10000E+07
    17 'norm      '    .51931E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.879       1.0000          .0000       .10000E+07
    19 'Prefactor '    27.163       1.0000          .0000       .10000E+07
    20 'Normalizat'    .96546       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92153       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19994.62     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1288 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49072E-07    7.7055        .10028E-05** at limit **
   2  Prefactor     6.2299        .32735        .17458E-06    .51236E-03
   3  Prefactor     .10000E-03    3.7207        .10580E-04** at limit **
   4  Prefactor     .86336E-06    21.718       -.24923E-05** at limit **
   5  Prefactor     1.2435        .14734       -.37597E-08    .17368E-02
   6  norm          13.681        8.1082       -.66992E-07    .16715E-02
   7  Prefactor     .48461E-07    4.5823       -.27329E-05** at limit **
   8  Prefactor     .38455        6.0446       -.19549E-06   -.44092E-03
   9  Prefactor     14.013        3.0848        .41907E-06    .43492E-01
  10  norm          .56999        .46805       -.76291E-07   -.42614E-02
  11  Prefactor      .0000        3.2912        .32349E-06** at limit **
  12  Prefactor     .36637E-08    5.5372       -.32992E-05** at limit **
  13  norm          4.3549        5.8517       -.65659E-07   -.24283E-03
  14  Prefactor     4.1284        4.9110       -.43213E-06    .17813E-02
  15  Prefactor     .20123E-06    14.364       -.47870E-06** at limit **
  16  norm          6.3111        6.2931        .42821E-06    .21864E-03
  17  norm          .19429E-08    7.4449       -.15425E-05** at limit **
  18  Prefactor     17.077        10.180       -.11872E-05    .92113E-01
  19  Prefactor     27.661        2.1141        .25678E-06   -.25712E-01
  20  Normalizat    .96580        .16660        .50271E-05    .35779E-04
  21  Prefactor     .92140        .96071E-01   -.16915E-05    .65138E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90719e-08
  Prefactor  = 6.22988
  Prefactor  = 0.0001
  Prefactor  = 8.63365e-07
  Prefactor  = 1.24346
  norm       = 13.6808
  Prefactor  = 4.84612e-08
  Prefactor  = 0.384549
  Prefactor  = 14.013
  norm       = 0.569994
  Prefactor  = 0
  Prefactor  = 3.66374e-09
  norm       = 4.35489
  Prefactor  = 4.12844
  Prefactor  = 2.01228e-07
  norm       = 6.31112
  norm       = 1.94289e-09
  Prefactor  = 17.0773
  Prefactor  = 27.6611
  Normalizat = 0.9658
  Prefactor  = 0.921398
utfile=/lscratch/kocevski/40074487/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits
.....................!
real 19.70
user 19.04
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40074487/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074487/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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/40074487/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
.....................!
real 71.94
user 67.14
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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J2304.3+0618 @ 346.078 6.3071

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits scfile=/lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074487/cmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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=346.078 yref=6.3071 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.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits scfile=/lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074487/cmap_HighResolution_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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=346.078 yref=6.3071 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.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40074487/Model_4FGL_J2304.3+0618_weekly_bin948.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=   19994.62     FROM HESSE     STATUS=OK           365 CALLS     1653 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49072E-07    8.3067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.2299        .32806        .40207E-02   -1.5209    
   3  Prefactor     .10000E-03    3.6743        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .86336E-06    23.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2435        .14826        .40436E-02   -1.5485    
   6  norm          13.681        8.1192        .27054E-03   -1.5634    
   7  Prefactor     .48461E-07    9.9994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38455        1.6562        .68676E-02   -1.5696    
   9  Prefactor     14.013        11.715        .26793E-03   -1.5633    
  10  norm          .56999        .47004        .71970E-03   -1.5693    
  11  Prefactor      .0000        3.3196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .36637E-08    10.289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.3549        5.9664        .48166E-03   -1.5666    
  14  Prefactor     4.1284        4.9893        .49691E-03   -1.5667    
  15  Prefactor     .20123E-06    15.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.3111        6.2961        .39831E-03   -1.5658    
  17  norm          .19429E-08    7.5860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.077        25.018        .23659E-03   -1.5625    
  19  Prefactor     27.661        16.696        .19191E-03   -1.5603    
  20  Normalizat    .96580        .14548        .85850E-01   -.94185    
  21  Prefactor     .92140        .81893E-01    .45279E-01   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2945e-07
Minuit parameter uncertainties:
  1  0.00127724
  2  0.328061
  3  2.19068e-05
  4  0.00906617
  5  0.14826
  6  8.11916
  7  0.00139256
  8  1.59611
  9  11.7146
  10  0.470041
  11  5.41258e-06
  12  0.000387123
  13  5.96642
  14  4.9893
  15  0.00347586
  16  6.29613
  17  0.000243659
  18  25.0182
  19  16.6961
  20  0.145535
  21  0.0819044
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.846e-08  1.393e-03  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  8.190e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 4.74327843935e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00369629417765 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40074302/likelihoodResults_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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): 102
logL (Free Index) = 19994.6192096
delta logL = -0.000140778931382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19994.6190692
delta logL = -4.17800038122e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39946E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.6689       1.0000          .0000       10.000    
     3 'Normalizat'    .96566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19994.62     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      243 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.4848        .42118E-03** at limit **
   2  Index         2.9594        1.2671       -.68451E-05     .0000    
   3  Normalizat    .96580        1.2976        .29698E-05   -.15819E-03
   4  Prefactor     .92140        1.2653       -.47987E-05   -.18370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.95941
  Normalizat = 0.965799
  Prefactor  = 0.921398
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19994.62     FROM HESSE     STATUS=FAILED         9 CALLS      252 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99073        2.0489       -.68451E-05   -.42039    
   3  Normalizat    .96580        1.2976        .29698E-05   -.94185    
   4  Prefactor     .92140        1.2653       -.47987E-05   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.42822e-11
Minuit parameter uncertainties:
  1  8.83642e-06
  2  1.28396
  3  1.34394
  4  1.30955
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) = 19994.6190688
delta logL = 2.4119799491e-09

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.959e+00  1.284e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  1.310e+00  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.344e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.078 6.307

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/40074302/cmap_HighResolution_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2026-10-06 19:45:12.650954', job_id='40074302', GAL2='0.92', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1791341112.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.41e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='948' AND source_name='4FGL J2304.3+0618' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 19:45:12 PDT 2026

utfile=/lscratch/kocevski/40074611/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits
.....................!
real 19.29
user 18.11
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40074611/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074611/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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/40074611/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
.....................!
real 71.91
user 64.90
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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J2304.3+0618 @ 346.078 6.3071

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits scfile=/lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074611/cmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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=346.078 yref=6.3071 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.65
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits scfile=/lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits outfile=/lscratch/kocevski/40074611/cmap_HighResolution_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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=346.078 yref=6.3071 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.67
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40074611/Model_4FGL_J2304.3+0618_weekly_bin948.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/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits.....................!
real 76.03
user 74.63
sys 0.73

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits', '/lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits', expMap='/lscratch/kocevski/40074487/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits', expCube='/lscratch/kocevski/40074487/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40074487/Model_4FGL_J2304.3+0618_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2304.3+0618'

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.761e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40074487/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40074487/ft2_4FGL_J2304.3+0618_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40074487/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40074487/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40074487/Model_4FGL_J2304.3+0618_weekly_bin948.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) = 19994.7336042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74796E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.2300       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .86165E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2435       1.0000         .10000E-03   10000.    
     6 'norm      '    13.681       1.0000          .0000       .10000E+07
     7 'Prefactor '    .52569E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .38885       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.949       1.0000          .0000       .10000E+07
    10 'norm      '    .56988       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18987E-05   1.0000          .0000       .10000E+07
    13 'norm      '    4.3685       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1116       1.0000          .0000       .10000E+07
    15 'Prefactor '    .86204E-04   1.0000          .0000       .10000E+07
    16 'norm      '    6.3428       1.0000          .0000       .10000E+07
    17 'norm      '    .51931E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.879       1.0000          .0000       .10000E+07
    19 'Prefactor '    27.163       1.0000          .0000       .10000E+07
    20 'Normalizat'    .96546       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92153       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19994.62     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1288 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49072E-07    7.7055        .10028E-05** at limit **
   2  Prefactor     6.2299        .32735        .17458E-06    .51236E-03
   3  Prefactor     .10000E-03    3.7207        .10580E-04** at limit **
   4  Prefactor     .86336E-06    21.718       -.24923E-05** at limit **
   5  Prefactor     1.2435        .14734       -.37597E-08    .17368E-02
   6  norm          13.681        8.1082       -.66992E-07    .16715E-02
   7  Prefactor     .48461E-07    4.5823       -.27329E-05** at limit **
   8  Prefactor     .38455        6.0446       -.19549E-06   -.44092E-03
   9  Prefactor     14.013        3.0848        .41907E-06    .43492E-01
  10  norm          .56999        .46805       -.76291E-07   -.42614E-02
  11  Prefactor      .0000        3.2912        .32349E-06** at limit **
  12  Prefactor     .36637E-08    5.5372       -.32992E-05** at limit **
  13  norm          4.3549        5.8517       -.65659E-07   -.24283E-03
  14  Prefactor     4.1284        4.9110       -.43213E-06    .17813E-02
  15  Prefactor     .20123E-06    14.364       -.47870E-06** at limit **
  16  norm          6.3111        6.2931        .42821E-06    .21864E-03
  17  norm          .19429E-08    7.4449       -.15425E-05** at limit **
  18  Prefactor     17.077        10.180       -.11872E-05    .92113E-01
  19  Prefactor     27.661        2.1141        .25678E-06   -.25712E-01
  20  Normalizat    .96580        .16660        .50271E-05    .35779E-04
  21  Prefactor     .92140        .96071E-01   -.16915E-05    .65138E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90719e-08
  Prefactor  = 6.22988
  Prefactor  = 0.0001
  Prefactor  = 8.63365e-07
  Prefactor  = 1.24346
  norm       = 13.6808
  Prefactor  = 4.84612e-08
  Prefactor  = 0.384549
  Prefactor  = 14.013
  norm       = 0.569994
  Prefactor  = 0
  Prefactor  = 3.66374e-09
  norm       = 4.35489
  Prefactor  = 4.12844
  Prefactor  = 2.01228e-07
  norm       = 6.31112
  norm       = 1.94289e-09
  Prefactor  = 17.0773
  Prefactor  = 27.6611
  Normalizat = 0.9658
  Prefactor  = 0.921398
 **********
 **   18 **HESSE 
 **********

 FCN=   19994.62     FROM HESSE     STATUS=OK           365 CALLS     1653 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49072E-07    8.3067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.2299        .32806        .40207E-02   -1.5209    
   3  Prefactor     .10000E-03    3.6743        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .86336E-06    23.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2435        .14826        .40436E-02   -1.5485    
   6  norm          13.681        8.1192        .27054E-03   -1.5634    
   7  Prefactor     .48461E-07    9.9994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38455        1.6562        .68676E-02   -1.5696    
   9  Prefactor     14.013        11.715        .26793E-03   -1.5633    
  10  norm          .56999        .47004        .71970E-03   -1.5693    
  11  Prefactor      .0000        3.3196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .36637E-08    10.289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.3549        5.9664        .48166E-03   -1.5666    
  14  Prefactor     4.1284        4.9893        .49691E-03   -1.5667    
  15  Prefactor     .20123E-06    15.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.3111        6.2961        .39831E-03   -1.5658    
  17  norm          .19429E-08    7.5860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.077        25.018        .23659E-03   -1.5625    
  19  Prefactor     27.661        16.696        .19191E-03   -1.5603    
  20  Normalizat    .96580        .14548        .85850E-01   -.94185    
  21  Prefactor     .92140        .81893E-01    .45279E-01   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2945e-07
Minuit parameter uncertainties:
  1  0.00127724
  2  0.328061
  3  2.19068e-05
  4  0.00906617
  5  0.14826
  6  8.11916
  7  0.00139256
  8  1.59611
  9  11.7146
  10  0.470041
  11  5.41258e-06
  12  0.000387123
  13  5.96642
  14  4.9893
  15  0.00347586
  16  6.29613
  17  0.000243659
  18  25.0182
  19  16.6961
  20  0.145535
  21  0.0819044
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.846e-08  1.393e-03  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  8.190e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 4.74327843935e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00369629417765 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40074487/likelihoodResults_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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): 102
logL (Free Index) = 19994.6192096
delta logL = -0.000140778931382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19994.6190692
delta logL = -4.17800038122e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39946E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.6689       1.0000          .0000       10.000    
     3 'Normalizat'    .96566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19994.62     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      243 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.4848        .42118E-03** at limit **
   2  Index         2.9594        1.2671       -.68451E-05     .0000    
   3  Normalizat    .96580        1.2976        .29698E-05   -.15819E-03
   4  Prefactor     .92140        1.2653       -.47987E-05   -.18370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.95941
  Normalizat = 0.965799
  Prefactor  = 0.921398
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19994.62     FROM HESSE     STATUS=FAILED         9 CALLS      252 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99073        2.0489       -.68451E-05   -.42039    
   3  Normalizat    .96580        1.2976        .29698E-05   -.94185    
   4  Prefactor     .92140        1.2653       -.47987E-05   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.42822e-11
Minuit parameter uncertainties:
  1  8.83642e-06
  2  1.28396
  3  1.34394
  4  1.30955
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) = 19994.6190688
delta logL = 2.4119799491e-09

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.959e+00  1.284e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  1.310e+00  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.344e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.078 6.307

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/40074487/cmap_HighResolution_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2026-10-06 19:48:09.129284', job_id='40074487', GAL2='0.92', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1791341289.13', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.41e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='948' AND source_name='4FGL J2304.3+0618' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 19:48:09 PDT 2026

_V02
Working on...
/lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits.....................!
real 75.01
user 71.23
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits', '/lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits', expMap='/lscratch/kocevski/40074611/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits', expCube='/lscratch/kocevski/40074611/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40074611/Model_4FGL_J2304.3+0618_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2304.3+0618'

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.761e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40074611/ft1_filtered_4FGL_J2304.3+0618_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40074611/ft2_4FGL_J2304.3+0618_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40074611/expmap_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40074611/ltcube_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40074611/Model_4FGL_J2304.3+0618_weekly_bin948.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) = 19994.7336042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74796E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.2300       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .86165E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2435       1.0000         .10000E-03   10000.    
     6 'norm      '    13.681       1.0000          .0000       .10000E+07
     7 'Prefactor '    .52569E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .38885       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.949       1.0000          .0000       .10000E+07
    10 'norm      '    .56988       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18987E-05   1.0000          .0000       .10000E+07
    13 'norm      '    4.3685       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1116       1.0000          .0000       .10000E+07
    15 'Prefactor '    .86204E-04   1.0000          .0000       .10000E+07
    16 'norm      '    6.3428       1.0000          .0000       .10000E+07
    17 'norm      '    .51931E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.879       1.0000          .0000       .10000E+07
    19 'Prefactor '    27.163       1.0000          .0000       .10000E+07
    20 'Normalizat'    .96546       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92153       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19994.62     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1288 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49072E-07    7.7055        .10028E-05** at limit **
   2  Prefactor     6.2299        .32735        .17458E-06    .51236E-03
   3  Prefactor     .10000E-03    3.7207        .10580E-04** at limit **
   4  Prefactor     .86336E-06    21.718       -.24923E-05** at limit **
   5  Prefactor     1.2435        .14734       -.37597E-08    .17368E-02
   6  norm          13.681        8.1082       -.66992E-07    .16715E-02
   7  Prefactor     .48461E-07    4.5823       -.27329E-05** at limit **
   8  Prefactor     .38455        6.0446       -.19549E-06   -.44092E-03
   9  Prefactor     14.013        3.0848        .41907E-06    .43492E-01
  10  norm          .56999        .46805       -.76291E-07   -.42614E-02
  11  Prefactor      .0000        3.2912        .32349E-06** at limit **
  12  Prefactor     .36637E-08    5.5372       -.32992E-05** at limit **
  13  norm          4.3549        5.8517       -.65659E-07   -.24283E-03
  14  Prefactor     4.1284        4.9110       -.43213E-06    .17813E-02
  15  Prefactor     .20123E-06    14.364       -.47870E-06** at limit **
  16  norm          6.3111        6.2931        .42821E-06    .21864E-03
  17  norm          .19429E-08    7.4449       -.15425E-05** at limit **
  18  Prefactor     17.077        10.180       -.11872E-05    .92113E-01
  19  Prefactor     27.661        2.1141        .25678E-06   -.25712E-01
  20  Normalizat    .96580        .16660        .50271E-05    .35779E-04
  21  Prefactor     .92140        .96071E-01   -.16915E-05    .65138E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90719e-08
  Prefactor  = 6.22988
  Prefactor  = 0.0001
  Prefactor  = 8.63365e-07
  Prefactor  = 1.24346
  norm       = 13.6808
  Prefactor  = 4.84612e-08
  Prefactor  = 0.384549
  Prefactor  = 14.013
  norm       = 0.569994
  Prefactor  = 0
  Prefactor  = 3.66374e-09
  norm       = 4.35489
  Prefactor  = 4.12844
  Prefactor  = 2.01228e-07
  norm       = 6.31112
  norm       = 1.94289e-09
  Prefactor  = 17.0773
  Prefactor  = 27.6611
  Normalizat = 0.9658
  Prefactor  = 0.921398
 **********
 **   18 **HESSE 
 **********

 FCN=   19994.62     FROM HESSE     STATUS=OK           365 CALLS     1653 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49072E-07    8.3067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.2299        .32806        .40207E-02   -1.5209    
   3  Prefactor     .10000E-03    3.6743        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .86336E-06    23.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2435        .14826        .40436E-02   -1.5485    
   6  norm          13.681        8.1192        .27054E-03   -1.5634    
   7  Prefactor     .48461E-07    9.9994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38455        1.6562        .68676E-02   -1.5696    
   9  Prefactor     14.013        11.715        .26793E-03   -1.5633    
  10  norm          .56999        .47004        .71970E-03   -1.5693    
  11  Prefactor      .0000        3.3196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .36637E-08    10.289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.3549        5.9664        .48166E-03   -1.5666    
  14  Prefactor     4.1284        4.9893        .49691E-03   -1.5667    
  15  Prefactor     .20123E-06    15.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.3111        6.2961        .39831E-03   -1.5658    
  17  norm          .19429E-08    7.5860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.077        25.018        .23659E-03   -1.5625    
  19  Prefactor     27.661        16.696        .19191E-03   -1.5603    
  20  Normalizat    .96580        .14548        .85850E-01   -.94185    
  21  Prefactor     .92140        .81893E-01    .45279E-01   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2945e-07
Minuit parameter uncertainties:
  1  0.00127724
  2  0.328061
  3  2.19068e-05
  4  0.00906617
  5  0.14826
  6  8.11916
  7  0.00139256
  8  1.59611
  9  11.7146
  10  0.470041
  11  5.41258e-06
  12  0.000387123
  13  5.96642
  14  4.9893
  15  0.00347586
  16  6.29613
  17  0.000243659
  18  25.0182
  19  16.6961
  20  0.145535
  21  0.0819044
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.846e-08  1.393e-03  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  8.190e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 4.74327843935e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00369629417765 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40074611/likelihoodResults_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.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): 102
logL (Free Index) = 19994.6192096
delta logL = -0.000140778931382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19994.6190692
delta logL = -4.17800038122e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39946E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.6689       1.0000          .0000       10.000    
     3 'Normalizat'    .96566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19994.62     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      243 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.4848        .42118E-03** at limit **
   2  Index         2.9594        1.2671       -.68451E-05     .0000    
   3  Normalizat    .96580        1.2976        .29698E-05   -.15819E-03
   4  Prefactor     .92140        1.2653       -.47987E-05   -.18370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.95941
  Normalizat = 0.965799
  Prefactor  = 0.921398
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19994.62     FROM HESSE     STATUS=FAILED         9 CALLS      252 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99073        2.0489       -.68451E-05   -.42039    
   3  Normalizat    .96580        1.2976        .29698E-05   -.94185    
   4  Prefactor     .92140        1.2653       -.47987E-05   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.42822e-11
Minuit parameter uncertainties:
  1  8.83642e-06
  2  1.28396
  3  1.34394
  4  1.30955
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) = 19994.6190688
delta logL = 2.4119799491e-09

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.959e+00  1.284e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.214e-01  1.310e+00  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.658e-01  1.344e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.078 6.307

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/40074611/cmap_HighResolution_812332801_812937601_4FGL_J2304.3+0618_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2026-10-06 19:50:38.432087', job_id='40074611', GAL2='0.92', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1791341438.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.41e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='948' AND source_name='4FGL J2304.3+0618' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 19:50:38 PDT 2026

