Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12490.6030229 Extracting fit parameters... 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 1.820e-06 8.211e-03 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 2.138e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 8.817e-01 5.332e-02 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 706 Normalization: 1.793e+00 3.064e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.883 -6.775 Photon Flux Upper Limit: 7.63699374976e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00579152472415 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32464806/likelihoodResults_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.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) = 12490.6545855 delta logL = -0.0515626601991 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12490.6030255 delta logL = -2.65116977971e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16095E-04 1.0000 .0000 .10000E+07 2 'Index ' .45536 1.0000 .0000 10.000 3 'Normalizat' 1.7932 1.0000 .10000E-01 10.000 4 'Prefactor ' .88167 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7170E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12490.60 FROM MIGRAD STATUS=CONVERGED 30 CALLS 211 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 15.097 .14203E-06** at limit ** 2 Index 1.6857 5.7265 -.59976E-05 .0000 3 Normalizat 1.7928 .33822 -.57956E-05 -.67409E-05 4 Prefactor .88168 .59411E-01 .80457E-06 -.10078E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.68575 Normalizat = 1.79281 Prefactor = 0.881678 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 12490.60 FROM HESSE STATUS=FAILED 11 CALLS 222 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 15.232 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .27989 1.6553 -.59976E-05 -.72462 3 Normalizat 1.7928 1.0286 -.57956E-05 -.69852 4 Prefactor .88168 1.2274 .80457E-06 -.96784 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.38815e-13 Minuit parameter uncertainties: 1 6.93551e-06 2 1.46169 3 1.04139 4 1.26943 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12490.6030229 Extracting fit parameters... 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 1.820e-06 8.211e-03 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 2.138e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 8.817e-01 5.332e-02 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 706 Normalization: 1.793e+00 3.064e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.883 -6.775 Photon Flux Upper Limit: 7.63699374976e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00579152472415 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32464837/likelihoodResults_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.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) = 12490.6545855 delta logL = -0.0515626601991 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12490.6030255 delta logL = -2.65116977971e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16095E-04 1.0000 .0000 .10000E+07 2 'Index ' .45536 1.0000 .0000 10.000 3 'Normalizat' 1.7932 1.0000 .10000E-01 10.000 4 'Prefactor ' .88167 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7170E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12490.60 FROM MIGRAD STATUS=CONVERGED 30 CALLS 211 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 15.097 .14203E-06** at limit ** 2 Index 1.6857 5.7265 -.59976E-05 .0000 3 Normalizat 1.7928 .33822 -.57956E-05 -.67409E-05 4 Prefactor .88168 .59411E-01 .80457E-06 -.10078E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.68575 Normalizat = 1.79281 Prefactor = 0.881678 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 12490.60 FROM HESSE STATUS=FAILED 11 CALLS 222 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 15.232 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .27989 1.6553 -.59976E-05 -.72462 3 Normalizat 1.7928 1.0286 -.57956E-05 -.69852 4 Prefactor .88168 1.2274 .80457E-06 -.96784 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.38815e-13 Minuit parameter uncertainties: 1 6.93551e-06 2 1.46169 3 1.04139 4 1.26943 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 12490.6030228 delta logL = 9.84000507742e-08 Extracting fit parameters... 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 0.000e+00 6.936e-06 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 1.686e+00 1.462e+00 0.000e+00 1.000e+01 (-1.000e+00) 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 8.817e-01 1.269e+00 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 706 Normalization: 1.793e+00 1.041e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.883 -6.775 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/32464806/cmap_HighResolution_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2026-07-20 14:07:21.532815', job_id='32464806', GAL2='0.88', fit_tolerance='1e-08', EG2='1.79', EG='1.79', time_epoch_completed='1784581641.53', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='9.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2186' AND source_name='4FGL J1643.5-0646' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 20 14:07:21 PDT 2026 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 12490.6030228 delta logL = 9.84000507742e-08 Extracting fit parameters... 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 0.000e+00 6.936e-06 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 1.686e+00 1.462e+00 0.000e+00 1.000e+01 (-1.000e+00) 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 8.817e-01 1.269e+00 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 706 Normalization: 1.793e+00 1.041e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.883 -6.775 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/32464837/cmap_HighResolution_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2026-07-20 14:07:23.300354', job_id='32464837', GAL2='0.88', fit_tolerance='1e-08', EG2='1.79', EG='1.79', time_epoch_completed='1784581643.3', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='9.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2186' AND source_name='4FGL J1643.5-0646' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 20 14:07:23 PDT 2026 /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). Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12490.6030229 Extracting fit parameters... 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 1.820e-06 8.211e-03 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 2.138e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 8.817e-01 5.332e-02 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 706 Normalization: 1.793e+00 3.064e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.883 -6.775 Photon Flux Upper Limit: 7.63699374976e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00579152472415 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32465016/likelihoodResults_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.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) = 12490.6545855 delta logL = -0.0515626601991 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12490.6030255 delta logL = -2.65116977971e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16095E-04 1.0000 .0000 .10000E+07 2 'Index ' .45536 1.0000 .0000 10.000 3 'Normalizat' 1.7932 1.0000 .10000E-01 10.000 4 'Prefactor ' .88167 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7170E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12490.60 FROM MIGRAD STATUS=CONVERGED 30 CALLS 211 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 15.097 .14203E-06** at limit ** 2 Index 1.6857 5.7265 -.59976E-05 .0000 3 Normalizat 1.7928 .33822 -.57956E-05 -.67409E-05 4 Prefactor .88168 .59411E-01 .80457E-06 -.10078E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.68575 Normalizat = 1.79281 Prefactor = 0.881678 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 12490.60 FROM HESSE STATUS=FAILED 11 CALLS 222 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 15.232 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .27989 1.6553 -.59976E-05 -.72462 3 Normalizat 1.7928 1.0286 -.57956E-05 -.69852 4 Prefactor .88168 1.2274 .80457E-06 -.96784 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.38815e-13 Minuit parameter uncertainties: 1 6.93551e-06 2 1.46169 3 1.04139 4 1.26943 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 12490.6030228 delta logL = 9.84000507742e-08 Extracting fit parameters... 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 0.000e+00 6.936e-06 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 1.686e+00 1.462e+00 0.000e+00 1.000e+01 (-1.000e+00) 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 8.817e-01 1.269e+00 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 706 Normalization: 1.793e+00 1.041e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.883 -6.775 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/32465016/cmap_HighResolution_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2026-07-20 14:07:48.647277', job_id='32465016', GAL2='0.88', fit_tolerance='1e-08', EG2='1.79', EG='1.79', time_epoch_completed='1784581668.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='9.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2186' AND source_name='4FGL J1643.5-0646' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 20 14:07:48 PDT 2026 number of points = 7433 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1643.5-0646_daily_bin2186 RA = 250.883, Dec = -6.7749 tmin = 805939201, tmax = 806198401 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='32465722', job_status='RUN', time_executed='2026-07-20 14:07:38.385403', time_epoch_executed='1784581658.39' WHERE source_name='4FGL J1643.5-0646' and cadence='daily' and bin_id='2186' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32465722 Creating custom pfile directory: /lscratch/kocevski/32465722/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805939201.0 && nMetStart<806198401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805939201.0 && nMetStart<806198401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32465722/ft1_4FGL_J1643.5-0646_daily_bin2186.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805939201.0 && nMetStart<806198401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32465722/ft1_4FGL_J1643.5-0646_daily_bin2186.fits outfile=/lscratch/kocevski/32465722/ft1_filteredMKT_4FGL_J1643.5-0646_daily_bin2186.fits ra=250.883 dec=-6.7749 rad=12.0 tmin=805939201.0 tmax=806198401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 2.42 user 1.94 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.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/32465722/ft1_filteredMKT_4FGL_J1643.5-0646_daily_bin2186.fits evtable="EVENTS" outfile="/lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.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.57 user 0.18 sys 0.14 Number of photons that the gtmktime cut: 1213 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32465722/ltcube_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.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/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits .....................! real 8.46 user 7.92 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32465722/ltcube_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.fits outfile=/lscratch/kocevski/32465722/expmap_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.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/32465722/ltcube_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.fits .....................! real 70.23 user 65.25 sys 4.17 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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model. Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model. Added 205 point sources and 2 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 J1643.5-0646 @ 250.883 -6.7749 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.fits scfile=/lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits outfile=/lscratch/kocevski/32465722/cmap_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.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=250.883 yref=-6.7749 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.68 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.fits scfile=/lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits outfile=/lscratch/kocevski/32465722/cmap_HighResolution_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.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=250.883 yref=-6.7749 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.82 user 0.23 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32465722/Model_4FGL_J1643.5-0646_daily_bin2186.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 FHES J1626.9-2431 adding source FHES J1723.5-0501 adding source GAL_V02 Working on... /lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.fits.....................! real 50.54 user 48.63 sys 1.12 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.fits', '/lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits', expMap='/lscratch/kocevski/32465722/expmap_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.fits', expCube='/lscratch/kocevski/32465722/ltcube_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32465722/Model_4FGL_J1643.5-0646_daily_bin2186.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1643.5-0646' 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 3.411e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 2.138e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/32465722/ft1_filtered_4FGL_J1643.5-0646_daily_bin2186.fits Spacecraft file(s): /lscratch/kocevski/32465722/ft2_4FGL_J1643.5-0646_daily_bin2186.fits Exposure map: /lscratch/kocevski/32465722/expmap_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.fits Exposure cube: /lscratch/kocevski/32465722/ltcube_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32465722/Model_4FGL_J1643.5-0646_daily_bin2186.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) = 12490.6925392 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12490.6086068 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .41060E-01 1.0000 .0000 .10000E+07 2 'Prefactor ' .12717E-01 1.0000 .0000 .10000E+07 3 'Prefactor ' .49960E-09 1.0000 .0000 .10000E+07 4 'Prefactor ' 17.013 1.0000 .0000 .10000E+07 5 'Prefactor ' .19338E-02 1.0000 .0000 .10000E+07 6 'Prefactor ' .76106E-07 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.5556 1.0000 .0000 .10000E+07 8 'Prefactor ' .72235E-01 1.0000 .0000 .10000E+07 9 'Normalizat' 1.7932 1.0000 .10000E-01 10.000 10 'Prefactor ' .88138 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7170E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12490.60 FROM MIGRAD STATUS=CONVERGED 85 CALLS 492 TOTAL EDM= .19E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .88818E-09 40.710 .35402E-06** at limit ** 2 Prefactor .10214E-07 29.707 .64872E-06** at limit ** 3 Prefactor .19565E-05 6.4208 .32318E-06** at limit ** 4 Prefactor 17.057 11.581 .59409E-07 .12674 5 Prefactor .18203E-05 6.1770 .16344E-06** at limit ** 6 Prefactor .15543E-08 3.4081 .21068E-06** at limit ** 7 Prefactor .67146E-06 218.53 .13093E-05** at limit ** 8 Prefactor .0000 58.488 .82139E-07** at limit ** 9 Normalizat 1.7928 .33880 -.22258E-06 -.23608E-03 10 Prefactor .88168 .59132E-01 -.91110E-06 -.12244E-02 ERR DEF= .500 Final values: Prefactor = 8.88178e-10 Prefactor = 1.02141e-08 Prefactor = 1.95649e-06 Prefactor = 17.0569 Prefactor = 1.82027e-06 Prefactor = 1.55431e-09 Prefactor = 6.71463e-07 Prefactor = 0 Normalizat = 1.79281 Prefactor = 0.881678 ********** ** 18 **HESSE ********** FCN= 12490.60 FROM HESSE STATUS=OK 112 CALLS 604 TOTAL EDM= .59E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .88818E-09 40.018 .15916E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10214E-07 29.777 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .19565E-05 9.6737 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 17.057 14.011 .24255E-03 -1.5625 5 Prefactor .18203E-05 9.2594 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .15543E-08 3.3962 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .67146E-06 216.90 .85322E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 58.514 .14745E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Normalizat 1.7928 .30611 .12633 -.69852 10 Prefactor .88168 .53313E-01 .29833E-01 -.96784 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.86502e-07 Minuit parameter uncertainties: 1 0.000382835 2 0.00110266 3 0.00870087 4 14.0112 5 0.00821087 6 0.000144501 7 0.0241376 8 4.67029e-05 9 0.306433 10 0.0533161 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12490.6030229 Extracting fit parameters... 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 1.820e-06 8.211e-03 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 2.138e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 8.817e-01 5.332e-02 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 706 Normalization: 1.793e+00 3.064e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.883 -6.775 Photon Flux Upper Limit: 7.63699374976e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00579152472415 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32465722/likelihoodResults_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.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) = 12490.6545855 delta logL = -0.0515626601991 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12490.6030255 delta logL = -2.65116977971e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16095E-04 1.0000 .0000 .10000E+07 2 'Index ' .45536 1.0000 .0000 10.000 3 'Normalizat' 1.7932 1.0000 .10000E-01 10.000 4 'Prefactor ' .88167 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7170E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12490.60 FROM MIGRAD STATUS=CONVERGED 30 CALLS 211 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 15.097 .14203E-06** at limit ** 2 Index 1.6857 5.7265 -.59976E-05 .0000 3 Normalizat 1.7928 .33822 -.57956E-05 -.67409E-05 4 Prefactor .88168 .59411E-01 .80457E-06 -.10078E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.68575 Normalizat = 1.79281 Prefactor = 0.881678 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 12490.60 FROM HESSE STATUS=FAILED 11 CALLS 222 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 15.232 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .27989 1.6553 -.59976E-05 -.72462 3 Normalizat 1.7928 1.0286 -.57956E-05 -.69852 4 Prefactor .88168 1.2274 .80457E-06 -.96784 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.38815e-13 Minuit parameter uncertainties: 1 6.93551e-06 2 1.46169 3 1.04139 4 1.26943 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 12490.6030228 delta logL = 9.84000507742e-08 Extracting fit parameters... 4FGL J1643.5-0646 Spectrum: PowerLaw 268 Prefactor: 0.000e+00 6.936e-06 0.000e+00 1.000e+06 ( 1.000e-14) 269 Index: 1.686e+00 1.462e+00 0.000e+00 1.000e+01 (-1.000e+00) 270 Scale: 3.284e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 8.817e-01 1.269e+00 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 706 Normalization: 1.793e+00 1.041e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.883 -6.775 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/32465722/cmap_HighResolution_805939201_806198401_4FGL_J1643.5-0646_daily_bin2186.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2026-07-20 14:12:23.662242', job_id='32465722', GAL2='0.88', fit_tolerance='1e-08', EG2='1.79', EG='1.79', time_epoch_completed='1784581943.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='9.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2186' AND source_name='4FGL J1643.5-0646' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 20 14:12:23 PDT 2026