/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 = 17450 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1304.0+3704_weekly_bin830 RA = 196.008, Dec = 37.071 tmin = 740966401, tmax = 741571201 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='51621199', job_status='RUN', time_executed='2024-07-02 01:38:58.569027', time_epoch_executed='1719909538.57' WHERE source_name='4FGL J1304.0+3704' and cadence='weekly' and bin_id='830' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/51621199 Creating custom pfile directory: /lscratch/kocevski/51621199/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/51621199/ft1_4FGL_J1304.0+3704_weekly_bin830.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/51621199/ft1_4FGL_J1304.0+3704_weekly_bin830.fits outfile=/lscratch/kocevski/51621199/ft1_filteredMKT_4FGL_J1304.0+3704_weekly_bin830.fits ra=196.008 dec=37.071 rad=12.0 tmin=740966401.0 tmax=741571201.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 3.69 user 2.46 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.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/51621199/ft1_filteredMKT_4FGL_J1304.0+3704_weekly_bin830.fits evtable="EVENTS" outfile="/lscratch/kocevski/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.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 1.61 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 1997 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.fits" evtable="EVENTS" scfile=/lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits sctable="SC_DATA" outfile=/lscratch/kocevski/51621199/ltcube_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.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/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits .....................! real 17.37 user 15.79 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.fits evtable="EVENTS" scfile=/lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits sctable="SC_DATA" expcube=/lscratch/kocevski/51621199/ltcube_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.fits outfile=/lscratch/kocevski/51621199/expmap_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.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/51621199/ltcube_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.fits .....................! real 60.00 user 55.28 sys 3.57 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/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.fits scfile=/lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits outfile=/lscratch/kocevski/51621199/cmap_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.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 1.56 user 0.20 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.fits scfile=/lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits outfile=/lscratch/kocevski/51621199/cmap_HighResolution_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.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.60 user 0.21 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.fits evtable="EVENTS" scfile=/lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/51621199/Model_4FGL_J1304.0+3704_weekly_bin830.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/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.fits.....................! real 50.59 user 48.37 sys 1.02 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.fits', '/lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits', expMap='/lscratch/kocevski/51621199/expmap_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.fits', expCube='/lscratch/kocevski/51621199/ltcube_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/51621199/Model_4FGL_J1304.0+3704_weekly_bin830.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/51621199/ft1_filtered_4FGL_J1304.0+3704_weekly_bin830.fits Spacecraft file(s): /lscratch/kocevski/51621199/ft2_4FGL_J1304.0+3704_weekly_bin830.fits Exposure map: /lscratch/kocevski/51621199/expmap_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.fits Exposure cube: /lscratch/kocevski/51621199/ltcube_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/51621199/Model_4FGL_J1304.0+3704_weekly_bin830.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) = 21796.0092523 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21795.8152915 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 6.5008 1.0000 .0000 .10000E+07 2 'Prefactor ' .41663E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .49405E-08 1.0000 .0000 .10000E+07 4 'Prefactor ' .44295 1.0000 .0000 .10000E+07 5 'Prefactor ' .17880E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .15047E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' .59751 1.0000 .0000 .10000E+07 8 'norm ' 3.0648 1.0000 .0000 .10000E+07 9 'Prefactor ' .60143E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .35404E-03 1.0000 .0000 .10000E+07 11 'norm ' .78950E-04 1.0000 .0000 .10000E+07 12 'norm ' 11.979 1.0000 .0000 .10000E+07 13 'norm ' 28.497 1.0000 .0000 .10000E+07 14 'norm ' 21.945 1.0000 .0000 .10000E+07 15 'norm ' .54256E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' 1.6889 1.0000 .0000 .10000E+07 17 'Prefactor ' .36353E-03 1.0000 .0000 .10000E+07 18 'Prefactor ' 19.027 1.0000 .0000 .10000E+07 19 'Prefactor ' 6.3034 1.0000 .0000 .10000E+07 20 'Prefactor ' .11152E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' .10778 1.0000 .0000 .10000E+07 22 'Prefactor ' .63519E-05 1.0000 .0000 .10000E+07 23 'norm ' 4.0574 1.0000 .0000 .10000E+07 24 'Prefactor ' .32668E-06 1.0000 .0000 .10000E+07 25 'norm ' 8.7464 1.0000 .0000 .10000E+07 26 'Normalizat' 1.1227 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0612 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= 21795.81 FROM MIGRAD STATUS=CONVERGED 150 CALLS 1871 TOTAL EDM= .17E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 6.4987 2.0551 -.57357E-08 .54064E-04 2 Prefactor .37614E-06 7.1833 -.13518E-07** at limit ** 3 Prefactor .0000 .41678 .58900E-07** at limit ** 4 Prefactor .43908 1.0194 -.52179E-07 -.34542E-02 5 Prefactor .55511E-10 6.6452 -.34890E-07** at limit ** 6 Prefactor .61062E-09 4.1262 -.27210E-07** at limit ** 7 Prefactor .59432 1.5094 -.10919E-06 -.49175E-03 8 norm 3.0730 2.5174 .61203E-07 .22206E-03 9 Prefactor .59897E-07 12.836 .23514E-06** at limit ** 10 Prefactor .66613E-09 2.3284 .20189E-06** at limit ** 11 norm .19429E-08 2.4832 .36107E-07** at limit ** 12 norm 11.977 6.1968 .27272E-08 -.11618E-02 13 norm 28.471 3.1289 -.34261E-08 -.36257E-03 14 norm 21.920 1.7773 -.34582E-08 -.16971E-02 15 norm .0000 1.4464 -.10904E-06** at limit ** 16 Prefactor 1.6930 1.4574 .30284E-08 -.18462E-03 17 Prefactor .0000 1.9246 -.37881E-08** at limit ** 18 Prefactor 18.988 1.6403 .65640E-08 .89465E-02 19 Prefactor 6.2277 7.8000 -.10010E-06 .10428E-01 20 Prefactor .36082E-08 7.5083 -.12260E-06** at limit ** 21 Prefactor .14366E-05 167.48 -.76986E-06** at limit ** 22 Prefactor .41078E-08 4.7851 -.89442E-07** at limit ** 23 norm 4.0574 .97835 .60968E-09 -.43866E-04 24 Prefactor .0000 .77499 .84490E-07** at limit ** 25 norm 8.8337 4.3104 -.49816E-07 -.39011E-01 26 Normalizat 1.1227 .11191 .12929E-06 -.30084E-04 27 Prefactor 1.0612 .13903 -.78842E-06 -.26687E-04 ERR DEF= .500 Final values: norm = 6.49867 Prefactor = 3.76144e-07 Prefactor = 0 Prefactor = 0.439075 Prefactor = 5.55112e-11 Prefactor = 6.10623e-10 Prefactor = 0.594324 norm = 3.07298 Prefactor = 5.98965e-08 Prefactor = 6.66134e-10 norm = 1.94289e-09 norm = 11.9773 norm = 28.4707 norm = 21.9196 norm = 0 Prefactor = 1.69304 Prefactor = 0 Prefactor = 18.9882 Prefactor = 6.22773 Prefactor = 3.60822e-09 Prefactor = 1.43657e-06 Prefactor = 4.10783e-09 norm = 4.05744 Prefactor = 0 norm = 8.83372 Normalizat = 1.12267 Prefactor = 1.0612 ********** ** 18 **HESSE ********** FCN= 21795.81 FROM HESSE STATUS=OK 556 CALLS 2427 TOTAL EDM= .31E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 6.4987 2.0673 .39338E-03 -1.5657 2 Prefactor .37614E-06 2.0138 .63429E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .41454 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .43908 2.0854 .84670E-02 -1.5695 5 Prefactor .55511E-10 7.1627 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .61062E-09 4.2069 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .59432 1.5344 .69452E-03 -1.5693 8 norm 3.0730 2.5316 .57919E-03 -1.5673 9 Prefactor .59897E-07 14.720 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .66613E-09 2.3775 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .19429E-08 2.5293 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 11.977 6.2000 .28918E-03 -1.5639 13 norm 28.471 5.3814 .18736E-03 -1.5601 14 norm 21.920 9.3291 .21353E-03 -1.5614 15 norm .0000 1.4258 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 1.6930 1.4890 .80978E-03 -1.5682 17 Prefactor .0000 1.9268 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 18.988 18.414 .22934E-03 -1.5621 19 Prefactor 6.2277 24.989 .39957E-03 -1.5658 20 Prefactor .36082E-08 7.9845 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .14366E-05 10.130 .13725E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .41078E-08 4.9357 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 4.0574 .98477 .50033E-03 -1.5668 24 Prefactor .0000 .77478 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 8.8337 9.4817 .33869E-03 -1.5649 26 Normalizat 1.1227 .94343E-01 .54361E-01 -.89027 27 Prefactor 1.0612 .11611 .69545E-01 -.90717 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.08168e-06 Minuit parameter uncertainties: 1 2.06729 2 0.00174067 3 2.49272e-07 4 1.91379 5 3.86922e-05 6 9.99857e-05 7 1.53436 8 2.53162 9 0.00187826 10 8.00125e-05 11 0.00013947 12 6.20005 13 5.38137 14 9.32916 15 8.05252e-06 16 1.48903 17 1.30372e-05 18 18.414 19 24.9501 20 0.000338423 21 0.00762945 22 0.000283835 23 0.98477 24 7.42353e-07 25 9.48167 26 0.0943572 27 0.116141 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21795.8146966 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 6.661e-10 8.001e-05 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: 1.061e+00 1.161e-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.123e+00 9.436e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 196.008 37.071 Photon Flux Upper Limit: 2.28098659855e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00176676213337 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/51621199/likelihoodResults_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.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) = 21795.8163818 delta logL = -0.00168517219572 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21795.8146966 delta logL = -2.17478373088e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .48239E-07 1.0000 .0000 .10000E+07 2 'Index ' 1.2302 1.0000 .0000 10.000 3 'Normalizat' 1.1227 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0612 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 21795.81 FROM MIGRAD STATUS=CONVERGED 42 CALLS 238 TOTAL EDM= .16E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.0366 .42118E-03** at limit ** 2 Index 3.7262 1.6102 .11147E-05 .0000 3 Normalizat 1.1227 1.1407 -.74311E-05 .13068E-03 4 Prefactor 1.0612 1.1793 .89598E-05 -.75789E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 3.72617 Normalizat = 1.12267 Prefactor = 1.0612 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 21795.81 FROM HESSE STATUS=FAILED 9 CALLS 247 TOTAL EDM= .16E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.0366 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.5279 2.2710 .11147E-05 -.25761 3 Normalizat 1.1227 1.1407 -.74311E-05 -.89027 4 Prefactor 1.0612 1.1793 .89598E-05 -.90717 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.60635e-11 Minuit parameter uncertainties: 1 6.65339e-07 2 1.6416 3 1.1674 4 1.21026 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) = 21795.8146966 delta logL = 1.27329258248e-10 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 0.000e+00 6.653e-07 0.000e+00 1.000e+06 ( 1.000e-13) 314 Index: 3.726e+00 1.642e+00 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: 1.061e+00 1.210e+00 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.123e+00 1.167e+00 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 -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/51621199/cmap_HighResolution_740966401_741571201_4FGL_J1304.0+3704_weekly_bin830.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', job_status='DONE', photon_flux_upper_limit='2.28e-08', time_completed='2024-07-02 02:04:12.445061', job_id='51621199', GAL2='1.06', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1719911052.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.27e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='830' AND source_name='4FGL J1304.0+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 2 02:04:13 PDT 2024