MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7945.468 FROM MIGRAD STATUS=CONVERGED 127 CALLS 2028 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.5554 2.4691 .13544E-07 -.40897E-03 2 norm 27.506 12.178 .19557E-05 .15673E-01 3 Prefactor .0000 2.5241 .11158E-06** at limit ** 4 Prefactor 10.919 3.3076 .14710E-07 -.11637E-02 5 norm 4.6292 3.7380 .43769E-07 -.32031E-03 6 Prefactor 7.1204 2.6164 -.28651E-07 -.33864E-04 7 norm 1.9832 .80225 .42011E-08 -.24996E-02 8 Prefactor 41.167 13.950 .53651E-06 .73931E-01 9 Prefactor 20.370 2.5127 .34390E-06 .43531E-03 10 Prefactor .12407E-06 22.795 .28100E-05** at limit ** 11 Prefactor 16.102 9.7313 -.11191E-06 .10347E-02 12 Prefactor 2.9350 10.086 -.15481E-05 -.23497E-01 13 Prefactor .63249E-06 6.2555 -.19390E-05** at limit ** 14 norm 1.0251 .49585 -.30484E-07 .79367E-02 15 Prefactor .93814E-07 6.5483 -.11935E-05** at limit ** 16 Prefactor .11102E-09 8.2206 -.47577E-06** at limit ** 17 norm 18.818 3.9299 -.91266E-06 -.15773E-01 18 Prefactor .40912E-07 13.291 .19740E-05** at limit ** 19 Prefactor 15.367 28.919 .56378E-05 -.45220E-01 20 Prefactor .31580E-06 6.0523 -.36850E-06** at limit ** 21 Prefactor .87582 2.9368 -.31032E-05 -.39153E-01 22 norm 4.3494 5.2168 -.75963E-07 .80107E-03 23 norm 10.439 5.8618 -.14171E-07 .79991E-03 24 Normalizat .60369 .18573 .74792E-06 .10849E-04 25 Prefactor 1.0401 .11810 -.52794E-06 .79218E-04 ERR DEF= .500 Final values: Prefactor = 2.55536 norm = 27.506 Prefactor = 0 Prefactor = 10.9185 norm = 4.62925 Prefactor = 7.12039 norm = 1.98319 Prefactor = 41.1674 Prefactor = 20.3704 Prefactor = 1.24067e-07 Prefactor = 16.1025 Prefactor = 2.93502 Prefactor = 6.32494e-07 norm = 1.02512 Prefactor = 9.38138e-08 Prefactor = 1.11022e-10 norm = 18.8176 Prefactor = 4.09117e-08 Prefactor = 15.3675 Prefactor = 3.15803e-07 Prefactor = 0.875821 norm = 4.34939 norm = 10.4386 Normalizat = 0.60369 Prefactor = 1.04008 /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= 7945.468 FROM HESSE STATUS=OK 485 CALLS 2513 TOTAL EDM= .53E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.5554 2.4684 .63878E-03 -1.5676 2 norm 27.506 15.367 .19155E-03 -1.5603 3 Prefactor .0000 2.5220 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 10.919 3.3219 .30328E-03 -1.5642 5 norm 4.6292 3.7433 .46623E-03 -1.5665 6 Prefactor 7.1204 2.6452 .37552E-03 -1.5655 7 norm 1.9832 .80457 .73573E-03 -1.5680 8 Prefactor 41.167 25.912 .15772E-03 -1.5580 9 Prefactor 20.370 31.964 .22183E-03 -1.5618 10 Prefactor .12407E-06 24.164 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 16.102 10.021 .24966E-03 -1.5628 12 Prefactor 2.9350 44.074 .53406E-03 -1.5674 13 Prefactor .63249E-06 19.036 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 1.0251 .49984 .94869E-03 -1.5688 15 Prefactor .93814E-07 16.370 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .11102E-09 8.2318 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 18.818 13.614 .23028E-03 -1.5621 18 Prefactor .40912E-07 13.623 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 15.367 35.751 .25942E-03 -1.5630 20 Prefactor .31580E-06 16.017 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .87582 9.2692 .47037E-03 -1.5689 22 norm 4.3494 5.2228 .48122E-03 -1.5666 23 norm 10.439 5.8578 .30998E-03 -1.5643 24 Normalizat .60369 .17422 .85190E-01 -1.0783 25 Prefactor 1.0401 .10982 .40536E-01 -.91405 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.27134e-07 Minuit parameter uncertainties: 1 2.46844 2 15.3669 3 1.06297e-05 4 3.32186 5 3.74332 6 2.64519 7 0.804572 8 25.9118 9 31.9644 10 0.00346297 11 10.0212 12 22.7473 13 0.00693987 14 0.499844 15 0.0024784 16 6.41904e-05 17 13.6139 18 0.00149261 19 35.752 20 0.00449823 21 5.69848 22 5.22279 23 5.85779 24 0.174381 25 0.109847 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7945.46813105 Extracting fit parameters... 4FGL J0217.2+0837 Spectrum: PowerLaw 251 Prefactor: 7.120e+00 2.645e+00 0.000e+00 1.000e+06 ( 1.000e-12) 252 Index: 2.269e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 253 Scale: 1.029e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 1.040e+00 1.098e-01 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.037e-01 1.744e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 26.06 Ra Dec: 34.316 8.623 Photon Index (Fixed Index): 2.27 +/- 0.00 Photon Flux (Fixed Index): 1.11e-07 +/- 4.13e-08 Energy Flux (Fixed Index): 4.43e-05 +/- 1.64e-05 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) = 7943.59903158 delta logL = 1.86909946642 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7943.55860424 delta logL = 1.9095268074 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.2913 1.0000 .0000 .10000E+07 2 'Index ' 1.7021 1.0000 .0000 10.000 3 'Normalizat' .64161 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0317 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7943.559 FROM MIGRAD STATUS=CONVERGED 55 CALLS 212 TOTAL EDM= .14E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.2919 3.4606 .34792E-03 -.10113E-02 2 Index 1.7022 .26217 .14027 -.32662E-04 3 Normalizat .64151 .16738 .82963E-01 .41268E-04 4 Prefactor 1.0317 .10458 .41130E-01 .15247E-05 ERR DEF= .500 Final values: Prefactor = 8.29189 Index = 1.7022 Normalizat = 0.641511 Prefactor = 1.03171 ********** ** 18 **HESSE ********** FCN= 7943.559 FROM HESSE STATUS=OK 31 CALLS 243 TOTAL EDM= .11E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.2919 3.4347 .99825E-05 -1.5650 2 Index 1.7022 .27885 .57633E-02 -.72023 3 Normalizat .64151 .18182 .36746E-03 -1.0625 4 Prefactor 1.0317 .11418 .18432E-03 -.91680 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05293e-12 Minuit parameter uncertainties: 1 3.43474 2 0.279102 3 0.181985 4 0.114203 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) = 7943.55860402 delta logL = 1.90952703207 Extracting fit parameters... 4FGL J0217.2+0837 Spectrum: PowerLaw 251 Prefactor: 8.292e+00 3.435e+00 0.000e+00 1.000e+06 ( 1.000e-12) 252 Index: 1.702e+00 2.791e-01 0.000e+00 1.000e+01 (-1.000e+00) 253 Scale: 1.029e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 1.032e+00 1.142e-01 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.415e-01 1.820e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 29.89 Ra Dec: 34.316 8.623 Photon Index (Free Index): 1.70 +/- 0.28 Photon Flux (Free Index): 6.20e-08 +/- 3.39e-08 Energy Flux (Free Index): 1.00e-04 +/- 6.57e-05 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/18854447/cmap_HighResolution_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.11e-07', energy_flux2='1.00e-04', photon_flux_error='4.13e-08', dlogl='1.91e+00', energy_flux='4.43e-05', photon_flux2='6.20e-08', job_status='DONE', time_completed='2023-07-10 08:13:32.530002', photon_index_error2='0.28', photon_index2='1.70', ts='26.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.57e-05', EG='0.60', time_epoch_completed='1689002012.53', return_code='0', job_id='18854447', GAL2='1.03', EG2='0.64', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='3.39e-08', ts2='29.89', photon_index='2.27' WHERE bin_id='1812' AND source_name='4FGL J0217.2+0837' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 10 08:13:32 PDT 2023 number of points = 7525 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0217.2+0837_daily_bin1812 RA = 34.3163, Dec = 8.6234 tmin = 708998401, tmax = 709257601 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='18855594', job_status='RUN', time_executed='2023-07-10 08:13:12.105684', time_epoch_executed='1689001992.11' WHERE source_name='4FGL J0217.2+0837' and cadence='daily' and bin_id='1812' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18855594 Creating custom pfile directory: /lscratch/kocevski/18855594/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=708998401.0 && nMetStart<709257601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=708998401.0 && nMetStart<709257601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18855594/ft1_4FGL_J0217.2+0837_daily_bin1812.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=708998401.0 && nMetStart<709257601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18855594/ft1_4FGL_J0217.2+0837_daily_bin1812.fits outfile=/lscratch/kocevski/18855594/ft1_filteredMKT_4FGL_J0217.2+0837_daily_bin1812.fits ra=34.3163 dec=8.6234 rad=12.0 tmin=708998401.0 tmax=709257601.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 1.55 user 1.28 sys 0.16 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.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/18855594/ft1_filteredMKT_4FGL_J0217.2+0837_daily_bin1812.fits evtable="EVENTS" outfile="/lscratch/kocevski/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.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.40 user 0.17 sys 0.14 Number of photons that the gtmktime cut: 726 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18855594/ltcube_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.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/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits .....................! real 7.65 user 7.32 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.fits evtable="EVENTS" scfile=/lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18855594/ltcube_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.fits outfile=/lscratch/kocevski/18855594/expmap_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.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/18855594/ltcube_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.fits .....................! real 62.51 user 58.46 sys 3.56 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 171 point sources and 0 extended sources Setting source of interest to: 4FGL J0217.2+0837 @ 34.3163 8.6234 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.fits scfile=/lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits outfile=/lscratch/kocevski/18855594/cmap_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.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=34.3163 yref=8.6234 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.42 user 0.21 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.fits scfile=/lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits outfile=/lscratch/kocevski/18855594/cmap_HighResolution_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.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=34.3163 yref=8.6234 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.45 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.fits evtable="EVENTS" scfile=/lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18855594/Model_4FGL_J0217.2+0837_daily_bin1812.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/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.fits.....................! real 35.00 user 34.07 sys 0.62 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.fits', '/lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits', expMap='/lscratch/kocevski/18855594/expmap_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.fits', expCube='/lscratch/kocevski/18855594/ltcube_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18855594/Model_4FGL_J0217.2+0837_daily_bin1812.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0217.2+0837' 4FGL J0217.2+0837 Spectrum: PowerLaw 251 Prefactor: 1.926e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 252 Index: 2.269e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 253 Scale: 1.029e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18855594/ft1_filtered_4FGL_J0217.2+0837_daily_bin1812.fits Spacecraft file(s): /lscratch/kocevski/18855594/ft2_4FGL_J0217.2+0837_daily_bin1812.fits Exposure map: /lscratch/kocevski/18855594/expmap_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.fits Exposure cube: /lscratch/kocevski/18855594/ltcube_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18855594/Model_4FGL_J0217.2+0837_daily_bin1812.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) = 7945.47979311 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7945.4697173 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.5528 1.0000 .0000 .10000E+07 2 'norm ' 27.266 1.0000 .0000 .10000E+07 3 'Prefactor ' .34990E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' 10.896 1.0000 .0000 .10000E+07 5 'norm ' 4.6549 1.0000 .0000 .10000E+07 6 'Prefactor ' 7.1268 1.0000 .0000 .10000E+07 7 'norm ' 1.9827 1.0000 .0000 .10000E+07 8 'Prefactor ' 40.206 1.0000 .0000 .10000E+07 9 'Prefactor ' 20.334 1.0000 .0000 .10000E+07 10 'Prefactor ' .13004E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' 16.060 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.5773 1.0000 .0000 .10000E+07 13 'Prefactor ' .19098E-02 1.0000 .0000 .10000E+07 14 'norm ' 1.0257 1.0000 .0000 .10000E+07 15 'Prefactor ' .23759E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .16154E-07 1.0000 .0000 .10000E+07 17 'norm ' 18.872 1.0000 .0000 .10000E+07 18 'Prefactor ' .76697E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' 14.877 1.0000 .0000 .10000E+07 20 'Prefactor ' .72128E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' .88165 1.0000 .0000 .10000E+07 22 'norm ' 4.3761 1.0000 .0000 .10000E+07 23 'norm ' 10.431 1.0000 .0000 .10000E+07 24 'Normalizat' .60443 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0400 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7945.468 FROM MIGRAD STATUS=CONVERGED 127 CALLS 2028 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.5554 2.4691 .13544E-07 -.40897E-03 2 norm 27.506 12.178 .19557E-05 .15673E-01 3 Prefactor .0000 2.5241 .11158E-06** at limit ** 4 Prefactor 10.919 3.3076 .14710E-07 -.11637E-02 5 norm 4.6292 3.7380 .43769E-07 -.32031E-03 6 Prefactor 7.1204 2.6164 -.28651E-07 -.33864E-04 7 norm 1.9832 .80225 .42011E-08 -.24996E-02 8 Prefactor 41.167 13.950 .53651E-06 .73931E-01 9 Prefactor 20.370 2.5127 .34390E-06 .43531E-03 10 Prefactor .12407E-06 22.795 .28100E-05** at limit ** 11 Prefactor 16.102 9.7313 -.11191E-06 .10347E-02 12 Prefactor 2.9350 10.086 -.15481E-05 -.23497E-01 13 Prefactor .63249E-06 6.2555 -.19390E-05** at limit ** 14 norm 1.0251 .49585 -.30484E-07 .79367E-02 15 Prefactor .93814E-07 6.5483 -.11935E-05** at limit ** 16 Prefactor .11102E-09 8.2206 -.47577E-06** at limit ** 17 norm 18.818 3.9299 -.91266E-06 -.15773E-01 18 Prefactor .40912E-07 13.291 .19740E-05** at limit ** 19 Prefactor 15.367 28.919 .56378E-05 -.45220E-01 20 Prefactor .31580E-06 6.0523 -.36850E-06** at limit ** 21 Prefactor .87582 2.9368 -.31032E-05 -.39153E-01 22 norm 4.3494 5.2168 -.75963E-07 .80107E-03 23 norm 10.439 5.8618 -.14171E-07 .79991E-03 24 Normalizat .60369 .18573 .74792E-06 .10849E-04 25 Prefactor 1.0401 .11810 -.52794E-06 .79218E-04 ERR DEF= .500 Final values: Prefactor = 2.55536 norm = 27.506 Prefactor = 0 Prefactor = 10.9185 norm = 4.62925 Prefactor = 7.12039 norm = 1.98319 Prefactor = 41.1674 Prefactor = 20.3704 Prefactor = 1.24067e-07 Prefactor = 16.1025 Prefactor = 2.93502 Prefactor = 6.32494e-07 norm = 1.02512 Prefactor = 9.38138e-08 Prefactor = 1.11022e-10 norm = 18.8176 Prefactor = 4.09117e-08 Prefactor = 15.3675 Prefactor = 3.15803e-07 Prefactor = 0.875821 norm = 4.34939 norm = 10.4386 Normalizat = 0.60369 Prefactor = 1.04008 ********** ** 18 **HESSE ********** FCN= 7945.468 FROM HESSE STATUS=OK 485 CALLS 2513 TOTAL EDM= .53E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.5554 2.4684 .63878E-03 -1.5676 2 norm 27.506 15.367 .19155E-03 -1.5603 3 Prefactor .0000 2.5220 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 10.919 3.3219 .30328E-03 -1.5642 5 norm 4.6292 3.7433 .46623E-03 -1.5665 6 Prefactor 7.1204 2.6452 .37552E-03 -1.5655 7 norm 1.9832 .80457 .73573E-03 -1.5680 8 Prefactor 41.167 25.912 .15772E-03 -1.5580 9 Prefactor 20.370 31.964 .22183E-03 -1.5618 10 Prefactor .12407E-06 24.164 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 16.102 10.021 .24966E-03 -1.5628 12 Prefactor 2.9350 44.074 .53406E-03 -1.5674 13 Prefactor .63249E-06 19.036 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 1.0251 .49984 .94869E-03 -1.5688 15 Prefactor .93814E-07 16.370 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .11102E-09 8.2318 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 18.818 13.614 .23028E-03 -1.5621 18 Prefactor .40912E-07 13.623 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 15.367 35.751 .25942E-03 -1.5630 20 Prefactor .31580E-06 16.017 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .87582 9.2692 .47037E-03 -1.5689 22 norm 4.3494 5.2228 .48122E-03 -1.5666 23 norm 10.439 5.8578 .30998E-03 -1.5643 24 Normalizat .60369 .17422 .85190E-01 -1.0783 25 Prefactor 1.0401 .10982 .40536E-01 -.91405 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.27134e-07 Minuit parameter uncertainties: 1 2.46844 2 15.3669 3 1.06297e-05 4 3.32186 5 3.74332 6 2.64519 7 0.804572 8 25.9118 9 31.9644 10 0.00346297 11 10.0212 12 22.7473 13 0.00693987 14 0.499844 15 0.0024784 16 6.41904e-05 17 13.6139 18 0.00149261 19 35.752 20 0.00449823 21 5.69848 22 5.22279 23 5.85779 24 0.174381 25 0.109847 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7945.46813105 Extracting fit parameters... 4FGL J0217.2+0837 Spectrum: PowerLaw 251 Prefactor: 7.120e+00 2.645e+00 0.000e+00 1.000e+06 ( 1.000e-12) 252 Index: 2.269e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 253 Scale: 1.029e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 1.040e+00 1.098e-01 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.037e-01 1.744e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 26.06 Ra Dec: 34.316 8.623 Photon Index (Fixed Index): 2.27 +/- 0.00 Photon Flux (Fixed Index): 1.11e-07 +/- 4.13e-08 Energy Flux (Fixed Index): 4.43e-05 +/- 1.64e-05 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) = 7943.59903158 delta logL = 1.86909946642 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7943.55860424 delta logL = 1.9095268074 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.2913 1.0000 .0000 .10000E+07 2 'Index ' 1.7021 1.0000 .0000 10.000 3 'Normalizat' .64161 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0317 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7943.559 FROM MIGRAD STATUS=CONVERGED 55 CALLS 212 TOTAL EDM= .14E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.2919 3.4606 .34792E-03 -.10113E-02 2 Index 1.7022 .26217 .14027 -.32662E-04 3 Normalizat .64151 .16738 .82963E-01 .41268E-04 4 Prefactor 1.0317 .10458 .41130E-01 .15247E-05 ERR DEF= .500 Final values: Prefactor = 8.29189 Index = 1.7022 Normalizat = 0.641511 Prefactor = 1.03171 ********** ** 18 **HESSE ********** FCN= 7943.559 FROM HESSE STATUS=OK 31 CALLS 243 TOTAL EDM= .11E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.2919 3.4347 .99825E-05 -1.5650 2 Index 1.7022 .27885 .57633E-02 -.72023 3 Normalizat .64151 .18182 .36746E-03 -1.0625 4 Prefactor 1.0317 .11418 .18432E-03 -.91680 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05293e-12 Minuit parameter uncertainties: 1 3.43474 2 0.279102 3 0.181985 4 0.114203 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) = 7943.55860402 delta logL = 1.90952703207 Extracting fit parameters... 4FGL J0217.2+0837 Spectrum: PowerLaw 251 Prefactor: 8.292e+00 3.435e+00 0.000e+00 1.000e+06 ( 1.000e-12) 252 Index: 1.702e+00 2.791e-01 0.000e+00 1.000e+01 (-1.000e+00) 253 Scale: 1.029e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 1.032e+00 1.142e-01 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.415e-01 1.820e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 29.89 Ra Dec: 34.316 8.623 Photon Index (Free Index): 1.70 +/- 0.28 Photon Flux (Free Index): 6.20e-08 +/- 3.39e-08 Energy Flux (Free Index): 1.00e-04 +/- 6.57e-05 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/18855594/cmap_HighResolution_708998401_709257601_4FGL_J0217.2+0837_daily_bin1812.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.11e-07', energy_flux2='1.00e-04', photon_flux_error='4.13e-08', dlogl='1.91e+00', energy_flux='4.43e-05', photon_flux2='6.20e-08', job_status='DONE', time_completed='2023-07-10 08:18:01.525432', photon_index_error2='0.28', photon_index2='1.70', ts='26.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.57e-05', EG='0.60', time_epoch_completed='1689002281.53', return_code='0', job_id='18855594', GAL2='1.03', EG2='0.64', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='3.39e-08', ts2='29.89', photon_index='2.27' WHERE bin_id='1812' AND source_name='4FGL J0217.2+0837' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 10 08:18:01 PDT 2023