/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). ********** ** 18 **HESSE ********** FCN= 19181.85 FROM HESSE STATUS=OK 300 CALLS 1473 TOTAL EDM= .33E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .46494 .57880 .82307E-04 -1.5694 2 norm .0000 .78747E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 2.2214 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .11102E-09 9.3994 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .0000 5.5610 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.3359 4.6776 .43489E-03 -1.5662 7 Prefactor .55511E-10 38.215 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 52.419 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .22204E-09 11.504 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 3.6388 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.0218 .58590 .12739E-02 -1.5688 12 Prefactor .0000 3.1127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.0524 1.5821 .12031E-02 -1.5687 14 Prefactor .0000 .87340 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 1.5574 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .73571 .30711 .57852E-03 -1.5691 17 Prefactor 14.877 9.7400 .25961E-03 -1.5631 18 Normalizat 1.1501 .10134 .55058E-01 -.88160 19 Prefactor 1.0023 .87520E-01 .44857E-01 -.92652 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.28043e-09 Minuit parameter uncertainties: 1 0.5788 2 7.82645e-07 3 9.14049e-06 4 7.18729e-05 5 1.81941e-06 6 4.67764 7 7.83364e-05 8 2.43316e-05 9 9.9017e-05 10 1.01928e-05 11 0.585901 12 5.18162e-06 13 1.58206 14 1.68013e-06 15 3.73216e-06 16 0.307112 17 9.74 18 0.101362 19 0.0875323 number of points = 17691 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1017.8+0715_weekly_bin777 RA = 154.473, Dec = 7.2638 tmin = 708912001, tmax = 709516801 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='18867645', job_status='RUN', time_executed='2023-07-10 08:59:09.618390', time_epoch_executed='1689004749.62' WHERE source_name='4FGL J1017.8+0715' and cadence='weekly' and bin_id='777' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18867645 Creating custom pfile directory: /lscratch/kocevski/18867645/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18867645/ft1_4FGL_J1017.8+0715_weekly_bin777.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18867645/ft1_4FGL_J1017.8+0715_weekly_bin777.fits outfile=/lscratch/kocevski/18867645/ft1_filteredMKT_4FGL_J1017.8+0715_weekly_bin777.fits ra=154.473 dec=7.2638 rad=12.0 tmin=708912001.0 tmax=709516801.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.05 user 2.55 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.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/18867645/ft1_filteredMKT_4FGL_J1017.8+0715_weekly_bin777.fits evtable="EVENTS" outfile="/lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.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.53 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 1748 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits sctable="SC_DATA" oDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19181.848811 Extracting fit parameters... 4FGL J1017.8+0715 Spectrum: PowerLaw 205 Prefactor: 5.551e-11 7.834e-05 0.000e+00 1.000e+06 ( 1.000e-13) 206 Index: 2.733e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 207 Scale: 6.199e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 493 Prefactor: 1.002e+00 8.753e-02 0.000e+00 1.000e+01 ( 1.000e+00) 494 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 495 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 492 Normalization: 1.150e+00 1.014e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 154.473 7.264 Photon Flux Upper Limit: 4.16358117674e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00328386337891 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18865700/likelihoodResults_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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) = 19181.8620445 delta logL = -0.0132334493101 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19181.7673531 delta logL = 0.0814579498256 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .53669 1.0000 .0000 .10000E+07 2 'Index ' 4.9532 1.0000 .0000 10.000 3 'Normalizat' 1.1342 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0113 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19181.77 FROM MIGRAD STATUS=CONVERGED 109 CALLS 290 TOTAL EDM= .39E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .54048 158.25 .23298E-04 .14444E-03 2 Index 4.9509 7.1525 .77176E-02 .56331E-05 3 Normalizat 1.1340 .95724E-01 .24497E-03 -.31558E-05 4 Prefactor 1.0114 .82378E-01 .22647E-03 -.14056E-05 ERR DEF= .500 Final values: Prefactor = 0.540479 Index = 4.95094 Normalizat = 1.13403 Prefactor = 1.01135 ********** ** 18 **HESSE ********** FCN= 19181.77 FROM HESSE STATUS=OK 25 CALLS 315 TOTAL EDM= .12E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .54048 10.004 .93191E-06 -1.5693 2 Index 4.9509 7.1453 .30870E-03 -.98114E-02 3 Normalizat 1.1340 .12389 .97987E-05 -.88666 4 Prefactor 1.0114 .10616 .90588E-05 -.92352 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.22021e-12 Minuit parameter uncertainties: 1 4.6505 2 5.20595 3 0.123922 4 0.106182 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) = 19181.7673509 delta logL = 0.0814601518177 Extracting fit parameters... 4FGL J1017.8+0715 Spectrum: PowerLaw 205 Prefactor: 5.405e-01 4.650e+00 0.000e+00 1.000e+06 ( 1.000e-13) 206 Index: 4.951e+00 5.206e+00 0.000e+00 1.000e+01 (-1.000e+00) 207 Scale: 6.199e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 493 Prefactor: 1.011e+00 1.062e-01 0.000e+00 1.000e+01 ( 1.000e+00) 494 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 495 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 492 Normalization: 1.134e+00 1.239e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 154.473 7.264 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/18865700/cmap_HighResolution_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2023-07-10 09:02:47.486689', job_id='18865700', GAL2='1.01', fit_tolerance='1e-08', EG2='1.13', EG='1.15', time_epoch_completed='1689004967.49', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.15e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='777' AND source_name='4FGL J1017.8+0715' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:02:47 PDT 2023 utfile=/lscratch/kocevski/18867645/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits .....................! real 16.31 user 15.82 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18867645/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits outfile=/lscratch/kocevski/18867645/expmap_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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/18867645/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits .....................! real 59.73 user 55.75 sys 3.45 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 155 point sources and 0 extended sources Setting source of interest to: 4FGL J1017.8+0715 @ 154.473 7.2638 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits scfile=/lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits outfile=/lscratch/kocevski/18867645/cmap_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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=154.473 yref=7.2638 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.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits scfile=/lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits outfile=/lscratch/kocevski/18867645/cmap_HighResolution_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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=154.473 yref=7.2638 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.55 user 0.20 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18867645/Model_4FGL_J1017.8+0715_weekly_bin777.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 = 17691 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1017.8+0715_weekly_bin777 RA = 154.473, Dec = 7.2638 tmin = 708912001, tmax = 709516801 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='18868468', job_status='RUN', time_executed='2023-07-10 09:01:39.878890', time_epoch_executed='1689004899.88' WHERE source_name='4FGL J1017.8+0715' and cadence='weekly' and bin_id='777' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18868468 Creating custom pfile directory: /lscratch/kocevski/18868468/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18868468/ft1_4FGL_J1017.8+0715_weekly_bin777.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18868468/ft1_4FGL_J1017.8+0715_weekly_bin777.fits outfile=/lscratch/kocevski/18868468/ft1_filteredMKT_4FGL_J1017.8+0715_weekly_bin777.fits ra=154.473 dec=7.2638 rad=12.0 tmin=708912001.0 tmax=709516801.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.50 user 2.95 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.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/18868468/ft1_filteredMKT_4FGL_J1017.8+0715_weekly_bin777.fits evtable="EVENTS" outfile="/lscratch/kocevski/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.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.66 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 1748 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits sctable="SC_DATA" o_V02 Working on... /lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits.....................! real 52.40 user 51.05 sys 0.88 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits', '/lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits', expMap='/lscratch/kocevski/18867645/expmap_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits', expCube='/lscratch/kocevski/18867645/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18867645/Model_4FGL_J1017.8+0715_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1017.8+0715' 4FGL J1017.8+0715 Spectrum: PowerLaw 205 Prefactor: 7.924e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 206 Index: 2.733e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 207 Scale: 6.199e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18867645/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18867645/ft2_4FGL_J1017.8+0715_weekly_bin777.fits Exposure map: /lscratch/kocevski/18867645/expmap_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18867645/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18867645/Model_4FGL_J1017.8+0715_weekly_bin777.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 19182.3534325 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19181.8490919 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .46505 1.0000 .0000 .10000E+07 2 'norm ' .94369E-09 1.0000 .0000 .10000E+07 3 'Prefactor ' .33491E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .62085E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .10023E-02 1.0000 .0000 .10000E+07 6 'Prefactor ' 5.3346 1.0000 .0000 .10000E+07 7 'Prefactor ' .58303E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .15393E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .18646E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .56579E-03 1.0000 .0000 .10000E+07 11 'norm ' 1.0219 1.0000 .0000 .10000E+07 12 'Prefactor ' .73386E-07 1.0000 .0000 .10000E+07 13 'Prefactor ' 1.0527 1.0000 .0000 .10000E+07 14 'Prefactor ' .83267E-09 1.0000 .0000 .10000E+07 15 'Prefactor ' .21850E-05 1.0000 .0000 .10000E+07 16 'norm ' .73576 1.0000 .0000 .10000E+07 17 'Prefactor ' 14.854 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1501 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.0024 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19181.85 FROM MIGRAD STATUS=CONVERGED 147 CALLS 1173 TOTAL EDM= .78E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .46494 .57729 .15514E-06 .53400E-02 2 norm .0000 .80613E-01 -.10646E-06** at limit ** 3 Prefactor .0000 2.2170 .15286E-06** at limit ** 4 Prefactor .11102E-09 9.4015 .72528E-06** at limit ** 5 Prefactor .0000 5.5550 -.15407E-06** at limit ** 6 Prefactor 5.3359 4.6759 .21388E-06 .72082E-03 7 Prefactor .55511E-10 38.287 -.61460E-06** at limit ** 8 Prefactor .0000 52.580 -.14216E-05** at limit ** 9 Prefactor .22204E-09 11.492 .54981E-06** at limit ** 10 Prefactor .0000 3.6408 -.37921E-06** at limit ** 11 norm 1.0218 .56646 .42058E-07 .39614E-02 12 Prefactor .0000 3.1603 -.16700E-06** at limit ** 13 Prefactor 1.0524 1.5676 .96228E-07 -.10887E-02 14 Prefactor .0000 .87451 .15386E-06** at limit ** 15 Prefactor .0000 1.5566 .24607E-06** at limit ** 16 norm .73571 .30581 .18224E-07 .67206E-02 17 Prefactor 14.877 9.7401 .12030E-05 -.26512E-02 18 Normalizat 1.1501 .11983 -.42301E-05 -.30775E-04 19 Prefactor 1.0023 .10377 .44780E-06 -.10995E-04 ERR DEF= .500 Final values: norm = 0.464942 norm = 0 Prefactor = 0 Prefactor = 1.11022e-10 Prefactor = 0 Prefactor = 5.3359 Prefactor = 5.55112e-11 Prefactor = 0 Prefactor = 2.22045e-10 Prefactor = 0 norm = 1.02185 Prefactor = 0 Prefactor = 1.0524 Prefactor = 0 Prefactor = 0 norm = 0.735713 Prefactor = 14.8766 Normalizat = 1.15008 Prefactor = 1.00234 ********** ** 18 **HESSE ********** FCN= 19181.85 FROM HESSE STATUS=OK 300 CALLS 1473 TOTAL EDM= .33E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .46494 .57880 .82307E-04 -1.5694 2 norm .0000 .78747E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 2.2214 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .11102E-09 9.3994 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .0000 5.5610 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.3359 4.6776 .43489E-03 -1.5662 7 Prefactor .55511E-10 38.215 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 52.419 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .22204E-09 11.504 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 3.6388 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.0218 .58590 .12739E-02 -1.5688 12 Prefactor .0000 3.1127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.0524 1.5821 .12031E-02 -1.5687 14 Prefactor .0000 .87340 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 1.5574 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .73571 .30711 .57852E-03 -1.5691 17 Prefactor 14.877 9.7400 .25961E-03 -1.5631 18 Normalizat 1.1501 .10134 .55058E-01 -.88160 19 Prefactor 1.0023 .87520E-01 .44857E-01 -.92652 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.28043e-09 Minuit parameter uncertainties: 1 0.5788 2 7.82645e-07 3 9.14049e-06 4 7.18729e-05 5 1.81941e-06 6 4.67764 7 7.83364e-05 8 2.43316e-05 9 9.9017e-05 10 1.01928e-05 11 0.585901 12 5.18162e-06 13 1.58206 14 1.68013e-06 15 3.73216e-06 16 0.307112 17 9.74 18 0.101362 19 0.0875323 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19181.848811 Extracting fit parameters... 4FGL J1017.8+0715 Spectrum: PowerLaw 205 Prefactor: 5.551e-11 7.834e-05 0.000e+00 1.000e+06 ( 1.000e-13) 206 Index: 2.733e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 207 Scale: 6.199e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 493 Prefactor: 1.002e+00 8.753e-02 0.000e+00 1.000e+01 ( 1.000e+00) 494 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 495 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 492 Normalization: 1.150e+00 1.014e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 154.473 7.264 Photon Flux Upper Limit: 4.16358117674e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00328386337891 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18867645/likelihoodResults_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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) = 19181.8620445 delta logL = -0.0132334493101 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19181.7673531 delta logL = 0.0814579498256 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .53669 1.0000 .0000 .10000E+07 2 'Index ' 4.9532 1.0000 .0000 10.000 3 'Normalizat' 1.1342 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0113 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19181.77 FROM MIGRAD STATUS=CONVERGED 109 CALLS 290 TOTAL EDM= .39E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .54048 158.25 .23298E-04 .14444E-03 2 Index 4.9509 7.1525 .77176E-02 .56331E-05 3 Normalizat 1.1340 .95724E-01 .24497E-03 -.31558E-05 4 Prefactor 1.0114 .82378E-01 .22647E-03 -.14056E-05 ERR DEF= .500 Final values: Prefactor = 0.540479 Index = 4.95094 Normalizat = 1.13403 Prefactor = 1.01135 ********** ** 18 **HESSE ********** FCN= 19181.77 FROM HESSE STATUS=OK 25 CALLS 315 TOTAL EDM= .12E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .54048 10.004 .93191E-06 -1.5693 2 Index 4.9509 7.1453 .30870E-03 -.98114E-02 3 Normalizat 1.1340 .12389 .97987E-05 -.88666 4 Prefactor 1.0114 .10616 .90588E-05 -.92352 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.22021e-12 Minuit parameter uncertainties: 1 4.6505 2 5.20595 3 0.123922 4 0.106182 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) = 19181.7673509 delta logL = 0.0814601518177 Extracting fit parameters... 4FGL J1017.8+0715 Spectrum: PowerLaw 205 Prefactor: 5.405e-01 4.650e+00 0.000e+00 1.000e+06 ( 1.000e-13) 206 Index: 4.951e+00 5.206e+00 0.000e+00 1.000e+01 (-1.000e+00) 207 Scale: 6.199e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 493 Prefactor: 1.011e+00 1.062e-01 0.000e+00 1.000e+01 ( 1.000e+00) 494 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 495 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 492 Normalization: 1.134e+00 1.239e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 154.473 7.264 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/18867645/cmap_HighResolution_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2023-07-10 09:07:37.243624', job_id='18867645', GAL2='1.01', fit_tolerance='1e-08', EG2='1.13', EG='1.15', time_epoch_completed='1689005257.24', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.15e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='777' AND source_name='4FGL J1017.8+0715' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:07:37 PDT 2023 utfile=/lscratch/kocevski/18868468/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits .....................! real 18.74 user 18.21 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18868468/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits outfile=/lscratch/kocevski/18868468/expmap_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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/18868468/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits .....................! real 69.58 user 63.47 sys 4.20 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 155 point sources and 0 extended sources Setting source of interest to: 4FGL J1017.8+0715 @ 154.473 7.2638 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits scfile=/lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits outfile=/lscratch/kocevski/18868468/cmap_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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=154.473 yref=7.2638 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.60 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits scfile=/lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits outfile=/lscratch/kocevski/18868468/cmap_HighResolution_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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=154.473 yref=7.2638 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.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18868468/Model_4FGL_J1017.8+0715_weekly_bin777.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/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits.....................! real 59.67 user 58.00 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits', '/lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits', expMap='/lscratch/kocevski/18868468/expmap_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits', expCube='/lscratch/kocevski/18868468/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18868468/Model_4FGL_J1017.8+0715_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1017.8+0715' 4FGL J1017.8+0715 Spectrum: PowerLaw 205 Prefactor: 7.924e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 206 Index: 2.733e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 207 Scale: 6.199e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18868468/ft1_filtered_4FGL_J1017.8+0715_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18868468/ft2_4FGL_J1017.8+0715_weekly_bin777.fits Exposure map: /lscratch/kocevski/18868468/expmap_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18868468/ltcube_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18868468/Model_4FGL_J1017.8+0715_weekly_bin777.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 19182.3534325 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19181.8490919 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .46505 1.0000 .0000 .10000E+07 2 'norm ' .94369E-09 1.0000 .0000 .10000E+07 3 'Prefactor ' .33491E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .62085E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .10023E-02 1.0000 .0000 .10000E+07 6 'Prefactor ' 5.3346 1.0000 .0000 .10000E+07 7 'Prefactor ' .58303E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .15393E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .18646E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .56579E-03 1.0000 .0000 .10000E+07 11 'norm ' 1.0219 1.0000 .0000 .10000E+07 12 'Prefactor ' .73386E-07 1.0000 .0000 .10000E+07 13 'Prefactor ' 1.0527 1.0000 .0000 .10000E+07 14 'Prefactor ' .83267E-09 1.0000 .0000 .10000E+07 15 'Prefactor ' .21850E-05 1.0000 .0000 .10000E+07 16 'norm ' .73576 1.0000 .0000 .10000E+07 17 'Prefactor ' 14.854 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1501 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.0024 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19181.85 FROM MIGRAD STATUS=CONVERGED 147 CALLS 1173 TOTAL EDM= .78E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .46494 .57729 .15514E-06 .53400E-02 2 norm .0000 .80613E-01 -.10646E-06** at limit ** 3 Prefactor .0000 2.2170 .15286E-06** at limit ** 4 Prefactor .11102E-09 9.4015 .72528E-06** at limit ** 5 Prefactor .0000 5.5550 -.15407E-06** at limit ** 6 Prefactor 5.3359 4.6759 .21388E-06 .72082E-03 7 Prefactor .55511E-10 38.287 -.61460E-06** at limit ** 8 Prefactor .0000 52.580 -.14216E-05** at limit ** 9 Prefactor .22204E-09 11.492 .54981E-06** at limit ** 10 Prefactor .0000 3.6408 -.37921E-06** at limit ** 11 norm 1.0218 .56646 .42058E-07 .39614E-02 12 Prefactor .0000 3.1603 -.16700E-06** at limit ** 13 Prefactor 1.0524 1.5676 .96228E-07 -.10887E-02 14 Prefactor .0000 .87451 .15386E-06** at limit ** 15 Prefactor .0000 1.5566 .24607E-06** at limit ** 16 norm .73571 .30581 .18224E-07 .67206E-02 17 Prefactor 14.877 9.7401 .12030E-05 -.26512E-02 18 Normalizat 1.1501 .11983 -.42301E-05 -.30775E-04 19 Prefactor 1.0023 .10377 .44780E-06 -.10995E-04 ERR DEF= .500 Final values: norm = 0.464942 norm = 0 Prefactor = 0 Prefactor = 1.11022e-10 Prefactor = 0 Prefactor = 5.3359 Prefactor = 5.55112e-11 Prefactor = 0 Prefactor = 2.22045e-10 Prefactor = 0 norm = 1.02185 Prefactor = 0 Prefactor = 1.0524 Prefactor = 0 Prefactor = 0 norm = 0.735713 Prefactor = 14.8766 Normalizat = 1.15008 Prefactor = 1.00234 ********** ** 18 **HESSE ********** FCN= 19181.85 FROM HESSE STATUS=OK 300 CALLS 1473 TOTAL EDM= .33E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .46494 .57880 .82307E-04 -1.5694 2 norm .0000 .78747E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 2.2214 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .11102E-09 9.3994 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .0000 5.5610 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.3359 4.6776 .43489E-03 -1.5662 7 Prefactor .55511E-10 38.215 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 52.419 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .22204E-09 11.504 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 3.6388 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.0218 .58590 .12739E-02 -1.5688 12 Prefactor .0000 3.1127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.0524 1.5821 .12031E-02 -1.5687 14 Prefactor .0000 .87340 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 1.5574 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .73571 .30711 .57852E-03 -1.5691 17 Prefactor 14.877 9.7400 .25961E-03 -1.5631 18 Normalizat 1.1501 .10134 .55058E-01 -.88160 19 Prefactor 1.0023 .87520E-01 .44857E-01 -.92652 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.28043e-09 Minuit parameter uncertainties: 1 0.5788 2 7.82645e-07 3 9.14049e-06 4 7.18729e-05 5 1.81941e-06 6 4.67764 7 7.83364e-05 8 2.43316e-05 9 9.9017e-05 10 1.01928e-05 11 0.585901 12 5.18162e-06 13 1.58206 14 1.68013e-06 15 3.73216e-06 16 0.307112 17 9.74 18 0.101362 19 0.0875323 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19181.848811 Extracting fit parameters... 4FGL J1017.8+0715 Spectrum: PowerLaw 205 Prefactor: 5.551e-11 7.834e-05 0.000e+00 1.000e+06 ( 1.000e-13) 206 Index: 2.733e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 207 Scale: 6.199e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 493 Prefactor: 1.002e+00 8.753e-02 0.000e+00 1.000e+01 ( 1.000e+00) 494 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 495 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 492 Normalization: 1.150e+00 1.014e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 154.473 7.264 Photon Flux Upper Limit: 4.16358117674e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00328386337891 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18868468/likelihoodResults_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.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) = 19181.8620445 delta logL = -0.0132334493101 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19181.7673531 delta logL = 0.0814579498256 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .53669 1.0000 .0000 .10000E+07 2 'Index ' 4.9532 1.0000 .0000 10.000 3 'Normalizat' 1.1342 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0113 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19181.77 FROM MIGRAD STATUS=CONVERGED 109 CALLS 290 TOTAL EDM= .39E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .54048 158.25 .23298E-04 .14444E-03 2 Index 4.9509 7.1525 .77176E-02 .56331E-05 3 Normalizat 1.1340 .95724E-01 .24497E-03 -.31558E-05 4 Prefactor 1.0114 .82378E-01 .22647E-03 -.14056E-05 ERR DEF= .500 Final values: Prefactor = 0.540479 Index = 4.95094 Normalizat = 1.13403 Prefactor = 1.01135 ********** ** 18 **HESSE ********** FCN= 19181.77 FROM HESSE STATUS=OK 25 CALLS 315 TOTAL EDM= .12E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .54048 10.004 .93191E-06 -1.5693 2 Index 4.9509 7.1453 .30870E-03 -.98114E-02 3 Normalizat 1.1340 .12389 .97987E-05 -.88666 4 Prefactor 1.0114 .10616 .90588E-05 -.92352 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.22021e-12 Minuit parameter uncertainties: 1 4.6505 2 5.20595 3 0.123922 4 0.106182 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) = 19181.7673509 delta logL = 0.0814601518177 Extracting fit parameters... 4FGL J1017.8+0715 Spectrum: PowerLaw 205 Prefactor: 5.405e-01 4.650e+00 0.000e+00 1.000e+06 ( 1.000e-13) 206 Index: 4.951e+00 5.206e+00 0.000e+00 1.000e+01 (-1.000e+00) 207 Scale: 6.199e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 493 Prefactor: 1.011e+00 1.062e-01 0.000e+00 1.000e+01 ( 1.000e+00) 494 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 495 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 492 Normalization: 1.134e+00 1.239e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 154.473 7.264 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/18868468/cmap_HighResolution_708912001_709516801_4FGL_J1017.8+0715_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2023-07-10 09:11:15.503165', job_id='18868468', GAL2='1.01', fit_tolerance='1e-08', EG2='1.13', EG='1.15', time_epoch_completed='1689005475.5', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.15e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='777' AND source_name='4FGL J1017.8+0715' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:11:15 PDT 2023