/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7649 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1304.0+3704_daily_bin2150 RA = 196.008, Dec = 37.071 tmin = 796608001, tmax = 796867201 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='24750164', job_status='RUN', time_executed='2026-04-03 02:02:03.988949', time_epoch_executed='1775206923.99' WHERE source_name='4FGL J1304.0+3704' and cadence='daily' and bin_id='2150' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/24750164 Creating custom pfile directory: /lscratch/kocevski/24750164/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=796608001.0 && nMetStart<796867201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=796608001.0 && nMetStart<796867201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/24750164/ft1_4FGL_J1304.0+3704_daily_bin2150.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=796608001.0 && nMetStart<796867201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/24750164/ft1_4FGL_J1304.0+3704_daily_bin2150.fits outfile=/lscratch/kocevski/24750164/ft1_filteredMKT_4FGL_J1304.0+3704_daily_bin2150.fits ra=196.008 dec=37.071 rad=12.0 tmin=796608001.0 tmax=796867201.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.93 user 2.11 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.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/24750164/ft1_filteredMKT_4FGL_J1304.0+3704_daily_bin2150.fits evtable="EVENTS" outfile="/lscratch/kocevski/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.91 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 555 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits" evtable="EVENTS" scfile=/lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits sctable="SC_DATA" outfile=/lscratch/kocevski/24750164/ltcube_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.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/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits .....................! real 9.14 user 8.09 sys 0.19 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits evtable="EVENTS" scfile=/lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits sctable="SC_DATA" expcube=/lscratch/kocevski/24750164/ltcube_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.fits outfile=/lscratch/kocevski/24750164/expmap_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.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/24750164/ltcube_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.fits .....................! real 72.26 user 67.04 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 187 point sources and 0 extended sources Setting source of interest to: 4FGL J1304.0+3704 @ 196.008 37.071 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits scfile=/lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits outfile=/lscratch/kocevski/24750164/cmap_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.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.008 yref=37.071 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.89 user 0.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits scfile=/lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits outfile=/lscratch/kocevski/24750164/cmap_HighResolution_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.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.008 yref=37.071 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.04 user 0.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits evtable="EVENTS" scfile=/lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/24750164/Model_4FGL_J1304.0+3704_daily_bin2150.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/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits.....................! real 22.46 user 20.45 sys 0.95 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits', '/lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits', expMap='/lscratch/kocevski/24750164/expmap_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.fits', expCube='/lscratch/kocevski/24750164/ltcube_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/24750164/Model_4FGL_J1304.0+3704_daily_bin2150.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1304.0+3704' 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 2.111e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 314 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/24750164/ft1_filtered_4FGL_J1304.0+3704_daily_bin2150.fits Spacecraft file(s): /lscratch/kocevski/24750164/ft2_4FGL_J1304.0+3704_daily_bin2150.fits Exposure map: /lscratch/kocevski/24750164/expmap_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.fits Exposure cube: /lscratch/kocevski/24750164/ltcube_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/24750164/Model_4FGL_J1304.0+3704_daily_bin2150.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) = 5987.05029955 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5987.03685612 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.9592 1.0000 .0000 .10000E+07 2 'Prefactor ' .28836E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .13545E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' .58747E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .41634E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .80362E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.1561 1.0000 .0000 .10000E+07 8 'norm ' .55930E-04 1.0000 .0000 .10000E+07 9 'Prefactor ' 18.968 1.0000 .0000 .10000E+07 10 'Prefactor ' .78228E-02 1.0000 .0000 .10000E+07 11 'norm ' .15632E-06 1.0000 .0000 .10000E+07 12 'norm ' 13.346 1.0000 .0000 .10000E+07 13 'norm ' 11.770 1.0000 .0000 .10000E+07 14 'norm ' .47653E-05 1.0000 .0000 .10000E+07 15 'norm ' .23870E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' .16743E-04 1.0000 .0000 .10000E+07 17 'Prefactor ' .95310E-03 1.0000 .0000 .10000E+07 18 'Prefactor ' .13710E-04 1.0000 .0000 .10000E+07 19 'Prefactor ' .22233E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' .20192E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' 77.528 1.0000 .0000 .10000E+07 22 'Prefactor ' .10362E-04 1.0000 .0000 .10000E+07 23 'norm ' 1.2308 1.0000 .0000 .10000E+07 24 'Prefactor ' .42791E-04 1.0000 .0000 .10000E+07 25 'norm ' 23.843 1.0000 .0000 .10000E+07 26 'Normalizat' 1.3860 1.0000 .10000E-01 10.000 27 'Prefactor ' .63373 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5987.036 FROM MIGRAD STATUS=CONVERGED 164 CALLS 2390 TOTAL EDM= .24E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.9593 3.3775 -.71008E-07 .47615E-03 2 Prefactor .33307E-09 5.2971 .13877E-06** at limit ** 3 Prefactor .0000 .94726 -.50781E-07** at limit ** 4 Prefactor .0000 2.7040 .16643E-07** at limit ** 5 Prefactor .85987E-07 9.0708 .78273E-07** at limit ** 6 Prefactor .23093E-07 41.578 .24318E-06** at limit ** 7 Prefactor 2.1718 7.2319 -.11200E-06 .39369E-03 8 norm .17208E-08 3.2903 .51085E-07** at limit ** 9 Prefactor 18.971 6.3001 -.47592E-08 -.28360E-01 10 Prefactor .50054E-06 9.4344 -.22888E-06** at limit ** 11 norm .0000 2.0271 .42910E-07** at limit ** 12 norm 13.355 1.0382 -.53008E-09 .95139E-03 13 norm 11.771 4.2719 .19451E-08 .11998E-02 14 norm .35527E-08 2.6654 .95349E-07** at limit ** 15 norm .0000 1.1757 -.78807E-07** at limit ** 16 Prefactor .83267E-09 .84970 .88546E-07** at limit ** 17 Prefactor .58675E-07 8.5140 .56423E-07** at limit ** 18 Prefactor .58009E-06 8.1708 -.19357E-06** at limit ** 19 Prefactor .89428E-07 37.013 .31531E-06** at limit ** 20 Prefactor .93259E-08 1.3912 .87510E-07** at limit ** 21 Prefactor 77.728 9.9822 .39488E-08 -.61961E-01 22 Prefactor .44409E-09 5.5294 .17409E-06** at limit ** 23 norm 1.2304 1.0830 -.10414E-07 -.46234E-04 24 Prefactor .0000 2.8910 -.39796E-07** at limit ** 25 norm 23.805 2.0679 -.76262E-08 .15452E-01 26 Normalizat 1.3859 .19747 -.12707E-05 .40651E-05 27 Prefactor .63374 .23818 .25790E-05 .18410E-05 ERR DEF= .500 Final values: norm = 3.95932 Prefactor = 3.33067e-10 Prefactor = 0 Prefactor = 0 Prefactor = 8.59868e-08 Prefactor = 2.30926e-08 Prefactor = 2.17177 norm = 1.72085e-09 Prefactor = 18.9714 Prefactor = 5.00544e-07 norm = 0 norm = 13.3547 norm = 11.7708 norm = 3.55271e-09 norm = 0 Prefactor = 8.32667e-10 Prefactor = 5.86753e-08 Prefactor = 5.80092e-07 Prefactor = 8.94285e-08 Prefactor = 9.32587e-09 Prefactor = 77.7279 Prefactor = 4.44089e-10 norm = 1.23035 Prefactor = 0 norm = 23.8054 Normalizat = 1.38589 Prefactor = 0.633739 ********** ** 18 **HESSE ********** FCN= 5987.036 FROM HESSE STATUS=OK 536 CALLS 2926 TOTAL EDM= .20E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.9593 3.3839 .50670E-03 -1.5668 2 Prefactor .33307E-09 5.4083 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .94572 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 2.7089 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .85987E-07 9.8210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .23093E-07 45.603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.1718 7.3362 .70132E-03 -1.5678 8 norm .17208E-08 3.6147 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 18.971 25.140 .22969E-03 -1.5621 10 Prefactor .50054E-06 15.340 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .0000 2.0287 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 13.355 14.285 .27393E-03 -1.5635 13 norm 11.771 4.3521 .29174E-03 -1.5639 14 norm .35527E-08 3.6962 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 1.1776 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .83267E-09 6.5172 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .58675E-07 9.0608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .58009E-06 14.523 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .89428E-07 40.726 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .93259E-08 3.6578 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 77.728 38.804 .11358E-03 -1.5532 22 Prefactor .44409E-09 5.9790 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 1.2304 1.1022 .10132E-02 -1.5686 24 Prefactor .0000 2.8800 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 23.805 18.906 .20484E-03 -1.5610 26 Normalizat 1.3859 .17065 .45567E-01 -.81038 27 Prefactor .63374 .20557 .78685E-01 -1.0618 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.00639e-07 Minuit parameter uncertainties: 1 3.38388 2 8.55116e-05 3 1.97542e-06 4 3.73815e-07 5 0.00183807 6 0.00205327 7 7.3362 8 0.000158084 9 25.1403 10 0.0055419 11 8.21558e-07 12 14.2853 13 4.35212 14 0.000229776 15 2.25312e-06 16 0.000148604 17 0.00145838 18 0.00580494 19 0.00381689 20 0.000369215 21 38.8046 22 0.000103667 23 1.10222 24 7.09621e-06 25 18.9061 26 0.170722 27 0.205812 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5987.03633776 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 5.005e-07 5.542e-03 0.000e+00 1.000e+06 ( 1.000e-13) 314 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 6.337e-01 2.058e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 1.386e+00 1.707e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 196.008 37.071 Photon Flux Upper Limit: 7.25549189498e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0056198174716 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/24750164/likelihoodResults_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.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) = 5987.0364878 delta logL = -0.000150039890286 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5987.03633798 delta logL = -2.25683834287e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10338E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.2434 1.0000 .0000 10.000 3 'Normalizat' 1.3859 1.0000 .10000E-01 10.000 4 'Prefactor ' .63372 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5987.036 FROM MIGRAD STATUS=CONVERGED 81 CALLS 291 TOTAL EDM= .30E-12 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .27756E-09 .25566 .42118E-03** at limit ** 2 Index 2.1761 8.8617 .50000 -.36380E-10 3 Normalizat 1.3859 .58533E-03 .45567E-01 -.55251E-03 4 Prefactor .63374 .71652E-03 .78685E-01 -.20879E-03 ERR DEF= .500 Final values: Prefactor = 2.77556e-10 Index = 2.17609 Normalizat = 1.38588 Prefactor = 0.63374 ********** ** 18 **HESSE ********** FCN= 5987.036 FROM HESSE STATUS=NOT POSDEF 27 CALLS 318 TOTAL EDM= .18E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27756E-09 1.5219 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.1761 5.8976 .50000 -.60017 3 Normalizat 1.3859 .14272E-02 .20142E-03 -.81038 4 Prefactor .63374 .17431E-02 .34841E-03 -1.0618 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.82091e-12 Minuit parameter uncertainties: 1 4.27452e-05 2 43479.8 3 0.00142717 4 0.00174308 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5987.03633774 delta logL = 1.61653588293e-08 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 2.776e-10 4.275e-05 0.000e+00 1.000e+06 ( 1.000e-13) 314 Index: 2.176e+00 4.348e+04 0.000e+00 1.000e+01 (-1.000e+00) 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 6.337e-01 1.743e-03 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 1.386e+00 1.427e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 196.008 37.071 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/24750164/cmap_HighResolution_796608001_796867201_4FGL_J1304.0+3704_daily_bin2150.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.26e-08', time_completed='2026-04-03 02:09:03.496825', job_id='24750164', GAL2='0.63', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1775207343.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='1.62e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2150' AND source_name='4FGL J1304.0+3704' AND cadence='daily'; Database successfully updated. Analysis Complete. Fri Apr 3 02:09:03 PDT 2026