/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 = 16502 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0704.8+4907_weekly_bin869 RA = 106.207, Dec = 49.1318 tmin = 764553601, tmax = 765158401 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='2264726', job_status='RUN', time_executed='2025-04-01 00:22:27.914051', time_epoch_executed='1743492147.91' WHERE source_name='4FGL J0704.8+4907' and cadence='weekly' and bin_id='869' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/2264726 Creating custom pfile directory: /lscratch/kocevski/2264726/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=764553601.0 && nMetStart<765158401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=764553601.0 && nMetStart<765158401.0' /Data/Flight/Level1/LPA Retrieving 102 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/2264726/ft1_4FGL_J0704.8+4907_weekly_bin869.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=764553601.0 && nMetStart<765158401.0' /Data/Flight/Level1/LPA Retrieving 102 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/2264726/ft1_4FGL_J0704.8+4907_weekly_bin869.fits outfile=/lscratch/kocevski/2264726/ft1_filteredMKT_4FGL_J0704.8+4907_weekly_bin869.fits ra=106.207 dec=49.1318 rad=12.0 tmin=764553601.0 tmax=765158401.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.09 user 5.31 sys 0.36 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.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/2264726/ft1_filteredMKT_4FGL_J0704.8+4907_weekly_bin869.fits evtable="EVENTS" outfile="/lscratch/kocevski/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.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.69 user 0.21 sys 0.15 Number of photons that the gtmktime cut: 2235 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.fits" evtable="EVENTS" scfile=/lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits sctable="SC_DATA" outfile=/lscratch/kocevski/2264726/ltcube_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.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/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits .....................! real 19.71 user 18.89 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.fits evtable="EVENTS" scfile=/lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits sctable="SC_DATA" expcube=/lscratch/kocevski/2264726/ltcube_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.fits outfile=/lscratch/kocevski/2264726/expmap_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.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/2264726/ltcube_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.fits .....................! real 72.04 user 67.67 sys 3.85 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template. Added 191 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0704.8+4907 @ 106.207 49.1318 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.fits scfile=/lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits outfile=/lscratch/kocevski/2264726/cmap_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.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=106.207 yref=49.1318 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.64 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.fits scfile=/lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits outfile=/lscratch/kocevski/2264726/cmap_HighResolution_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.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=106.207 yref=49.1318 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/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.fits evtable="EVENTS" scfile=/lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/2264726/Model_4FGL_J0704.8+4907_weekly_bin869.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 adding source HB 9 Working on... /lscratch/kocevski/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.fits.....................! real 121.52 user 119.86 sys 0.71 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.fits', '/lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits', expMap='/lscratch/kocevski/2264726/expmap_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.fits', expCube='/lscratch/kocevski/2264726/ltcube_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/2264726/Model_4FGL_J0704.8+4907_weekly_bin869.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0704.8+4907' 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 1.520e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 2.321e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/2264726/ft1_filtered_4FGL_J0704.8+4907_weekly_bin869.fits Spacecraft file(s): /lscratch/kocevski/2264726/ft2_4FGL_J0704.8+4907_weekly_bin869.fits Exposure map: /lscratch/kocevski/2264726/expmap_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.fits Exposure cube: /lscratch/kocevski/2264726/ltcube_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/2264726/Model_4FGL_J0704.8+4907_weekly_bin869.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) = 23812.1888235 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23812.0730439 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 17.672 1.0000 .0000 .10000E+07 2 'norm ' 2.2062 1.0000 .0000 .10000E+07 3 'norm ' 3.1212 1.0000 .0000 .10000E+07 4 'Prefactor ' 11.675 1.0000 .0000 .10000E+07 5 'Prefactor ' .28046E-04 1.0000 .0000 .10000E+07 6 'Prefactor ' .71541E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 13.519 1.0000 .0000 .10000E+07 8 'norm ' .77897 1.0000 .0000 .10000E+07 9 'norm ' .86706E-05 1.0000 .0000 .10000E+07 10 'norm ' 1.4555 1.0000 .0000 .10000E+07 11 'Prefactor ' .10821E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .18038E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' .70467E-02 1.0000 .0000 .10000E+07 14 'Prefactor ' .83267E-09 1.0000 .0000 .10000E+07 15 'norm ' .22698E-03 1.0000 .0000 .10000E+07 16 'Prefactor ' 20.435 1.0000 .0000 .10000E+07 17 'Prefactor ' 41.832 1.0000 .0000 .10000E+07 18 'norm ' 1.3046 1.0000 .0000 .10000E+07 19 'Prefactor ' 6.1970 1.0000 .0000 .10000E+07 20 'Prefactor ' .12206E-05 1.0000 .0000 .10000E+07 21 'norm ' .13740 1.0000 .0000 .10000E+07 22 'Prefactor ' .79390E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' 5.3499 1.0000 .0000 .10000E+07 24 'norm ' .11288E-03 1.0000 .0000 .10000E+07 25 'norm ' .52736E-08 1.0000 .0000 .10000E+07 26 'Normalizat' 1.2507 1.0000 .10000E-01 10.000 27 'Prefactor ' .95029 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 23812.07 FROM MIGRAD STATUS=CONVERGED 169 CALLS 1904 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.661 3.0861 -.33057E-08 .12550E-01 2 norm 2.2058 1.6442 -.58674E-07 -.74148E-02 3 norm 3.1206 2.0526 -.44112E-07 -.47833E-02 4 Prefactor 11.676 5.4762 -.68805E-08 -.17152E-02 5 Prefactor .50793E-07 3.1553 -.76193E-07** at limit ** 6 Prefactor .22538E-07 3.9202 .36055E-07** at limit ** 7 Prefactor 13.255 11.906 .31228E-07 .18702E-01 8 norm .77298 1.6164 -.85364E-07 -.30935E-02 9 norm .55511E-10 1.0909 -.11285E-07** at limit ** 10 norm 1.4550 1.9025 .22740E-08 -.23766E-03 11 Prefactor .11102E-09 2.4042 .17063E-07** at limit ** 12 Prefactor .55511E-10 1.9635 .17832E-06** at limit ** 13 Prefactor .12295E-05 58.382 .45454E-06** at limit ** 14 Prefactor .76772E-07 2.2776 -.12134E-06** at limit ** 15 norm .23165E-06 1.6216 -.87596E-07** at limit ** 16 Prefactor 20.251 12.728 -.25347E-07 -.43409E-02 17 Prefactor 41.607 12.522 .14427E-07 .43897E-01 18 norm 1.3046 .47435 -.15291E-07 -.11009E-01 19 Prefactor 6.2125 1.3028 .61701E-08 -.18364E-01 20 Prefactor .0000 5.3310 .26241E-06** at limit ** 21 norm .13984 2.4437 .21345E-07** at limit ** 22 Prefactor .16653E-09 1.5328 -.14110E-07** at limit ** 23 Prefactor 4.7910 10.987 -.15062E-07 .58755E-01 24 norm .16653E-09 1.4281 -.12847E-07** at limit ** 25 norm .0000 .35603 .40205E-07** at limit ** 26 Normalizat 1.2519 .13276 .16168E-05 .30141E-04 27 Prefactor .95012 .64785E-01 -.76119E-06 -.26400E-03 ERR DEF= .500 Final values: Prefactor = 17.6614 norm = 2.20584 norm = 3.12059 Prefactor = 11.6764 Prefactor = 5.07927e-08 Prefactor = 2.25375e-08 Prefactor = 13.2553 norm = 0.772982 norm = 5.55112e-11 norm = 1.45501 Prefactor = 1.11022e-10 Prefactor = 5.55112e-11 Prefactor = 1.22952e-06 Prefactor = 7.67719e-08 norm = 2.31648e-07 Prefactor = 20.2509 Prefactor = 41.6068 norm = 1.30458 Prefactor = 6.21253 Prefactor = 0 norm = 0.139844 Prefactor = 1.66533e-10 Prefactor = 4.79105 norm = 1.66533e-10 norm = 0 Normalizat = 1.25186 Prefactor = 0.950116 ********** ** 18 **HESSE ********** FCN= 23812.07 FROM HESSE STATUS=OK 550 CALLS 2454 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 17.661 15.639 .23798E-03 -1.5624 2 norm 2.2058 1.6449 .69231E-03 -1.5678 3 norm 3.1206 2.0521 .57364E-03 -1.5673 4 Prefactor 11.676 5.4854 .29294E-03 -1.5640 5 Prefactor .50793E-07 3.4936 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .22538E-07 4.1216 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 13.255 18.351 .27216E-03 -1.5635 8 norm .77298 1.6466 .54515E-03 -1.5690 9 norm .55511E-10 1.0894 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.4550 1.9313 .89208E-03 -1.5684 11 Prefactor .11102E-09 2.4047 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .55511E-10 1.9589 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .12295E-05 57.658 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .76772E-07 2.7142 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .23165E-06 3.0193 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 20.251 14.323 .22128E-03 -1.5618 17 Prefactor 41.607 18.357 .15463E-03 -1.5579 18 norm 1.3046 .48344 .96620E-03 -1.5685 19 Prefactor 6.2125 6.3556 .40303E-03 -1.5658 20 Prefactor .0000 5.3521 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .13984 .52945 .55603E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .16653E-09 1.5374 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 4.7910 46.514 .43426E-03 -1.5664 24 norm .16653E-09 1.4237 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .0000 .35361 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat 1.2519 .11842 .72925E-01 -.85015 27 Prefactor .95012 .56445E-01 .45643E-01 -.94411 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20857e-06 Minuit parameter uncertainties: 1 15.6386 2 1.64493 3 2.05211 4 5.48543 5 0.000842406 6 0.00060932 7 18.3506 8 1.64658 9 1.6811e-05 10 1.9313 11 3.31064e-05 12 2.16482e-05 13 0.0168396 14 0.000912866 15 0.00167263 16 14.3226 17 18.3575 18 0.483435 19 6.35564 20 7.84782e-06 21 0.529447 22 3.23507e-05 23 29.8567 24 2.86179e-05 25 3.26048e-06 26 0.118447 27 0.056448 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23812.0722844 Extracting fit parameters... 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 1.455e+00 1.931e+00 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 2.321e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 621 Prefactor: 9.501e-01 5.645e-02 0.000e+00 1.000e+01 ( 1.000e+00) 622 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 623 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 620 Normalization: 1.252e+00 1.184e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.93 Ra Dec: 106.207 49.132 Photon Flux Upper Limit: 4.107816723e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.47841722586e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/2264726/likelihoodResults_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 23812.0494099 delta logL = 0.0228745488203 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 23812.0491775 delta logL = 0.0231069106921 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.4555 1.0000 .0000 .10000E+07 2 'alpha ' 2.0968 1.0000 .0000 5.0000 3 'Normalizat' 1.2540 1.0000 .10000E-01 10.000 4 'Prefactor ' .94972 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 23812.05 FROM MIGRAD STATUS=CONVERGED 49 CALLS 190 TOTAL EDM= .59E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.4525 1.9490 .89208E-03 .14417E-01 2 alpha 2.0961 1.0197 .41849E-01 .12916E-04 3 Normalizat 1.2540 .11222 .72872E-01 .33467E-04 4 Prefactor .94972 .55212E-01 .45636E-01 .33335E-05 ERR DEF= .500 Final values: norm = 1.45249 alpha = 2.09609 Normalizat = 1.25402 Prefactor = 0.949721 ********** ** 18 **HESSE ********** FCN= 23812.05 FROM HESSE STATUS=OK 31 CALLS 221 TOTAL EDM= .21E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.4525 1.9581 .24184E-04 -1.5684 2 alpha 2.0961 1.0369 .83698E-02 -.16227 3 Normalizat 1.2540 .12839 .32247E-03 -.84950 4 Prefactor .94972 .63242E-01 .17898E-03 -.94425 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.14123e-13 Minuit parameter uncertainties: 1 1.95813 2 1.07011 3 0.128424 4 0.0632467 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 23812.0491763 delta logL = 0.0231081718994 Extracting fit parameters... 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 1.452e+00 1.958e+00 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 2.096e+00 1.070e+00 0.000e+00 5.000e+00 ( 1.000e+00) 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 621 Prefactor: 9.497e-01 6.325e-02 0.000e+00 1.000e+01 ( 1.000e+00) 622 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 623 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 620 Normalization: 1.254e+00 1.284e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.93 Ra Dec: 106.207 49.132 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/2264726/cmap_HighResolution_764553601_765158401_4FGL_J0704.8+4907_weekly_bin869.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-05', job_status='DONE', photon_flux_upper_limit='4.11e-08', time_completed='2025-04-01 00:39:06.335240', job_id='2264726', GAL2='0.95', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1743493146.34', return_code2='0', ts='0.93', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.31e-02', ts2='0.98', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='869' AND source_name='4FGL J0704.8+4907' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Apr 1 00:39:06 PDT 2025