********** ** 18 **HESSE ********** FCN= 7011.033 FROM HESSE STATUS=OK 33 CALLS 270 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6817 1.9867 .65884E-05 -1.5660 2 Index 1.8211 .26284 .48359E-02 -.68903 3 Normalizat 1.3091 .20048 .22479E-03 -.83294 4 Prefactor .68528 .16456 .24822E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.73919e-11 Minuit parameter uncertainties: 1 1.98665 2 0.263041 3 0.200602 4 0.164678 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) = 7011.03295097 delta logL = 2.31328972855 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.682e+00 1.987e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 1.821e+00 2.630e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 6.853e-01 1.647e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.309e+00 2.006e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 49.52 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.82 +/- 0.26 Photon Flux (Free Index): 8.06e-08 +/- 3.65e-08 Energy Flux (Free Index): 9.06e-05 +/- 5.33e-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/36578978/cmap_HighResolution_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='9.06e-05', photon_flux_error='4.31e-08', dlogl='2.31e+00', energy_flux='4.31e-05', photon_flux2='8.06e-08', job_status='DONE', time_completed='2026-08-31 15:56:43.316990', photon_index_error2='0.26', photon_index2='1.82', ts='44.94', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='5.33e-05', EG='1.24', time_epoch_completed='1788217003.32', return_code='0', job_id='36578978', GAL2='0.69', EG2='1.31', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.65e-08', ts2='49.52', photon_index='2.42' WHERE bin_id='2200' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Aug 31 15:56:43 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7013.3462407 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.427e+00 1.093e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.238e-01 1.401e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.236e+00 1.733e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 44.94 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.35e-07 +/- 4.31e-08 Energy Flux (Fixed Index): 4.31e-05 +/- 1.38e-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) = 7011.03517532 delta logL = 2.31106538345 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7011.03295097 delta logL = 2.31328972852 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6817 1.0000 .0000 .10000E+07 2 'Index ' 1.8211 1.0000 .0000 10.000 3 'Normalizat' 1.3091 1.0000 .10000E-01 10.000 4 'Prefactor ' .68528 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7011.033 FROM MIGRAD STATUS=CONVERGED 42 CALLS 237 TOTAL EDM= .17E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6817 33.887 .42118E-03 -.33824E-02 2 Index 1.8211 2.9677 .11986 -.30779E-04 3 Normalizat 1.3091 .34840 .50844E-01 .21889E-05 4 Prefactor .68528 .19551 .42205E-01 .11855E-04 ERR DEF= .500 Final values: Prefactor = 5.68171 Index = 1.82106 Normalizat = 1.30913 Prefactor = 0.685278 ********** ** 18 **HESSE ********** FCN= 7011.033 FROM HESSE STATUS=OK 33 CALLS 270 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6817 1.9867 .65884E-05 -1.5660 2 Index 1.8211 .26284 .48359E-02 -.68903 3 Normalizat 1.3091 .20048 .22479E-03 -.83294 4 Prefactor .68528 .16456 .24822E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.73919e-11 Minuit parameter uncertainties: 1 1.98665 2 0.263041 3 0.200602 4 0.164678 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) = 7011.03295097 delta logL = 2.31328972855 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.682e+00 1.987e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 1.821e+00 2.630e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 6.853e-01 1.647e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.309e+00 2.006e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 49.52 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.82 +/- 0.26 Photon Flux (Free Index): 8.06e-08 +/- 3.65e-08 Energy Flux (Free Index): 9.06e-05 +/- 5.33e-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/36578983/cmap_HighResolution_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='9.06e-05', photon_flux_error='4.31e-08', dlogl='2.31e+00', energy_flux='4.31e-05', photon_flux2='8.06e-08', job_status='DONE', time_completed='2026-08-31 15:56:50.265072', photon_index_error2='0.26', photon_index2='1.82', ts='44.94', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='5.33e-05', EG='1.24', time_epoch_completed='1788217010.27', return_code='0', job_id='36578983', GAL2='0.69', EG2='1.31', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.65e-08', ts2='49.52', photon_index='2.42' WHERE bin_id='2200' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Aug 31 15:56:50 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). number of points = 7527 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin2200 RA = 250.119, Dec = 39.7626 tmin = 809568001, tmax = 809827201 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='36579349', job_status='RUN', time_executed='2026-08-31 15:56:19.289412', time_epoch_executed='1788216979.29' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='2200' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36579349 Creating custom pfile directory: /lscratch/kocevski/36579349/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809568001.0 && nMetStart<809827201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809568001.0 && nMetStart<809827201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36579349/ft1_4FGL_J1640.4+3945_daily_bin2200.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809568001.0 && nMetStart<809827201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36579349/ft1_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579349/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin2200.fits ra=250.119 dec=39.7626 rad=12.0 tmin=809568001.0 tmax=809827201.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.30 user 2.91 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.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/36579349/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin2200.fits evtable="EVENTS" outfile="/lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.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.49 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 663 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36579172/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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/36579172/ft2_4FGL_J1640.4+3945_daily_bin2200.fits .....................! real 9.15 user 8.48 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36579172/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36579172/ft2_4FGL_J1640.4+3945_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36579172/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579172/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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/36579172/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits .....................! real 77.69 user 71.20 sys 4.44 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36579172/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits scfile=/lscratch/kocevski/36579172/ft2_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579172/cmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.11 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36579172/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits scfile=/lscratch/kocevski/36579172/ft2_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579172/cmap_HighResolution_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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.119 yref=39.7626 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.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36579172/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36579172/ft2_4FGL_J1640.4+3945_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36579172/Model_4FGL_J1640.4+3945_daily_bin2200.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 = 7527 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin2200 RA = 250.119, Dec = 39.7626 tmin = 809568001, tmax = 809827201 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='36579444', job_status='RUN', time_executed='2026-08-31 15:57:09.733070', time_epoch_executed='1788217029.73' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='2200' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36579444 Creating custom pfile directory: /lscratch/kocevski/36579444/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809568001.0 && nMetStart<809827201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809568001.0 && nMetStart<809827201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36579444/ft1_4FGL_J1640.4+3945_daily_bin2200.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809568001.0 && nMetStart<809827201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36579444/ft1_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579444/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin2200.fits ra=250.119 dec=39.7626 rad=12.0 tmin=809568001.0 tmax=809827201.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.90 user 3.18 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.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/36579444/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin2200.fits evtable="EVENTS" outfile="/lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.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.58 user 0.21 sys 0.11 Number of photons that the gtmktime cut: 663 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36579349/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits .....................! real 7.57 user 7.13 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36579349/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579349/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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/36579349/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits .....................! real 68.83 user 64.39 sys 3.85 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits scfile=/lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579349/cmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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.119 yref=39.7626 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.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits scfile=/lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579349/cmap_HighResolution_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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.119 yref=39.7626 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.46 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36579349/Model_4FGL_J1640.4+3945_daily_bin2200.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/36579172/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits.....................! real 26.57 user 24.84 sys 1.08 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36579172/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits', '/lscratch/kocevski/36579172/ft2_4FGL_J1640.4+3945_daily_bin2200.fits', expMap='/lscratch/kocevski/36579172/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits', expCube='/lscratch/kocevski/36579172/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36579172/Model_4FGL_J1640.4+3945_daily_bin2200.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36579172/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits Spacecraft file(s): /lscratch/kocevski/36579172/ft2_4FGL_J1640.4+3945_daily_bin2200.fits Exposure map: /lscratch/kocevski/36579172/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits Exposure cube: /lscratch/kocevski/36579172/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36579172/Model_4FGL_J1640.4+3945_daily_bin2200.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) = 7013.34747118 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7013.3495202 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 11.788 1.0000 .0000 .10000E+07 2 'Prefactor ' 41.582 1.0000 .0000 .10000E+07 3 'Prefactor ' .84049E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .19789E-03 1.0000 .0000 .10000E+07 5 'Prefactor ' .32402 1.0000 .0000 .10000E+07 6 'Prefactor ' .37270E-03 1.0000 .0000 .10000E+07 7 'norm ' .0000 1.0000 .0000 .10000E+07 8 'norm ' .44203E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 3.0096 1.0000 .0000 .10000E+07 10 'Prefactor ' .77039E-04 1.0000 .0000 .10000E+07 11 'norm ' 10.765 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.4286 1.0000 .0000 .10000E+07 13 'Prefactor ' .17730E-06 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.1097 1.0000 .0000 .10000E+07 15 'Prefactor ' .10389E-05 1.0000 .0000 .10000E+07 16 'norm ' 3.9697 1.0000 .0000 .10000E+07 17 'norm ' .96762 1.0000 .0000 .10000E+07 18 'Prefactor ' .49249E-03 1.0000 .0000 .10000E+07 19 'norm ' .14133E-06 1.0000 .0000 .10000E+07 20 'norm ' 3.1489 1.0000 .0000 .10000E+07 21 'norm ' .72225 1.0000 .0000 .10000E+07 22 'norm ' 16.011 1.0000 .0000 .10000E+07 23 'Prefactor ' .13638E-01 1.0000 .0000 .10000E+07 24 'Normalizat' 1.2352 1.0000 .10000E-01 10.000 25 'Prefactor ' .72404 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7013.346 FROM MIGRAD STATUS=CONVERGED 170 CALLS 2160 TOTAL EDM= .62E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 11.768 13.454 -.24199E-06 -.14315E-01 2 Prefactor 41.641 1.9643 -.51476E-08 .34458E-01 3 Prefactor .0000 2.6347 .98845E-07** at limit ** 4 Prefactor .0000 1.4004 -.12777E-07** at limit ** 5 Prefactor .20761E-07 70.454 .25295E-06** at limit ** 6 Prefactor .0000 1.5141 .50394E-07** at limit ** 7 norm .0000 .35991E-01 .50773E-08** at limit ** 8 norm .0000 4.7694 .46278E-08** at limit ** 9 Prefactor 2.9824 1.2747 -.23375E-07 .27084E-02 10 Prefactor .0000 2.0669 -.40796E-07** at limit ** 11 norm 10.789 8.8367 -.17373E-06 .19137E-01 12 Prefactor 3.4268 1.0718 .11441E-07 -.98005E-03 13 Prefactor .0000 .32975 .19330E-07** at limit ** 14 Prefactor 1.1087 2.0850 .41649E-07 -.28013E-03 15 Prefactor .0000 .71314 -.36428E-07** at limit ** 16 norm 3.9695 1.6489 -.35791E-07 .17134E-02 17 norm .96734 .59158 -.15412E-07 .16921E-02 18 Prefactor .0000 7.6232 .64851E-07** at limit ** 19 norm .0000 .17869 .91794E-08** at limit ** 20 norm 3.1450 7.5583 .14209E-06 -.62303E-04 21 norm .71920 1.3615 -.14445E-07 .24866E-03 22 norm 16.020 6.6050 .79351E-07 -.17046E-02 23 Prefactor .11879E-07 190.66 -.28918E-05** at limit ** 24 Normalizat 1.2361 .20249 .62117E-06 .79254E-05 25 Prefactor .72376 .16719 -.10913E-05 .14738E-04 ERR DEF= .500 Final values: Prefactor = 11.768 Prefactor = 41.6413 Prefactor = 0 Prefactor = 0 Prefactor = 2.07612e-08 Prefactor = 0 norm = 0 norm = 0 Prefactor = 2.98241 Prefactor = 0 norm = 10.7893 Prefactor = 3.42675 Prefactor = 0 Prefactor = 1.10867 Prefactor = 0 norm = 3.96952 norm = 0.967341 Prefactor = 0 norm = 0 norm = 3.14502 norm = 0.719199 norm = 16.02 Prefactor = 1.18794e-08 Normalizat = 1.23611 Prefactor = 0.723759 ********** ** 18 **HESSE ********** FCN= 7013.346 FROM HESSE STATUS=OK 481 CALLS 2641 TOTAL EDM= .23E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 11.768 15.271 .29153E-03 -1.5639 2 Prefactor 41.641 52.082 .15509E-03 -1.5579 3 Prefactor .0000 2.6082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 1.4005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .20761E-07 7.8010 .98877E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .0000 1.5110 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .0000 .35662E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 4.7805 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.9824 24.236 .58479E-03 -1.5673 10 Prefactor .0000 2.0498 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 10.789 17.672 .30512E-03 -1.5642 12 Prefactor 3.4268 1.0929 .54603E-03 -1.5671 13 Prefactor .0000 .32842 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.1087 2.1367 .11213E-02 -1.5687 15 Prefactor .0000 .71325 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.9695 1.6463 .50600E-03 -1.5668 17 norm .96734 .59221 .42616E-03 -1.5688 18 Prefactor .0000 7.5836 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .0000 .17835 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 3.1450 7.6057 .57098E-03 -1.5672 21 norm .71920 1.3737 .58920E-03 -1.5691 22 norm 16.020 6.6308 .25004E-03 -1.5628 23 Prefactor .11879E-07 190.21 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.2361 .17324 .52035E-01 -.85494 25 Prefactor .72376 .14005 .42720E-01 -1.0260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.3126e-07 Minuit parameter uncertainties: 1 15.2714 2 52.0822 3 6.46292e-06 4 3.64223e-07 5 0.00080444 6 2.57141e-06 7 4.54045e-08 8 5.67745e-06 9 17.0039 10 2.12277e-06 11 17.6726 12 1.09292 13 5.00479e-07 14 2.13674 15 9.72352e-07 16 1.64625 17 0.592213 18 9.09623e-06 19 1.80496e-07 20 7.60571 21 1.37375 22 6.63078 23 0.00300457 24 0.173316 25 0.140119 tfile=/lscratch/kocevski/36579444/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits .....................! real 8.83 user 8.02 sys 0.20 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36579444/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579444/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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/36579444/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits .....................! real 73.32 user 68.11 sys 4.24 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits scfile=/lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579444/cmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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.119 yref=39.7626 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.78 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits scfile=/lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits outfile=/lscratch/kocevski/36579444/cmap_HighResolution_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.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.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.13 user 0.22 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36579444/Model_4FGL_J1640.4+3945_daily_bin2200.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 GALDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7013.3462407 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.427e+00 1.093e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.238e-01 1.401e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.236e+00 1.733e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 44.94 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.35e-07 +/- 4.31e-08 Energy Flux (Fixed Index): 4.31e-05 +/- 1.38e-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) = 7011.03517532 delta logL = 2.31106538345 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7011.03295097 delta logL = 2.31328972852 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6817 1.0000 .0000 .10000E+07 2 'Index ' 1.8211 1.0000 .0000 10.000 3 'Normalizat' 1.3091 1.0000 .10000E-01 10.000 4 'Prefactor ' .68528 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7011.033 FROM MIGRAD STATUS=CONVERGED 42 CALLS 237 TOTAL EDM= .17E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6817 33.887 .42118E-03 -.33824E-02 2 Index 1.8211 2.9677 .11986 -.30779E-04 3 Normalizat 1.3091 .34840 .50844E-01 .21889E-05 4 Prefactor .68528 .19551 .42205E-01 .11855E-04 ERR DEF= .500 Final values: Prefactor = 5.68171 Index = 1.82106 Normalizat = 1.30913 Prefactor = 0.685278 ********** ** 18 **HESSE ********** FCN= 7011.033 FROM HESSE STATUS=OK 33 CALLS 270 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6817 1.9867 .65884E-05 -1.5660 2 Index 1.8211 .26284 .48359E-02 -.68903 3 Normalizat 1.3091 .20048 .22479E-03 -.83294 4 Prefactor .68528 .16456 .24822E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.73919e-11 Minuit parameter uncertainties: 1 1.98665 2 0.263041 3 0.200602 4 0.164678 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) = 7011.03295097 delta logL = 2.31328972855 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.682e+00 1.987e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 1.821e+00 2.630e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 6.853e-01 1.647e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.309e+00 2.006e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 49.52 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.82 +/- 0.26 Photon Flux (Free Index): 8.06e-08 +/- 3.65e-08 Energy Flux (Free Index): 9.06e-05 +/- 5.33e-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/36579172/cmap_HighResolution_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='9.06e-05', photon_flux_error='4.31e-08', dlogl='2.31e+00', energy_flux='4.31e-05', photon_flux2='8.06e-08', job_status='DONE', time_completed='2026-08-31 16:00:41.433564', photon_index_error2='0.26', photon_index2='1.82', ts='44.94', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='5.33e-05', EG='1.24', time_epoch_completed='1788217241.43', return_code='0', job_id='36579172', GAL2='0.69', EG2='1.31', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.65e-08', ts2='49.52', photon_index='2.42' WHERE bin_id='2200' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Aug 31 16:00:41 PDT 2026 _V02 Working on... /lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits.....................! real 23.89 user 22.52 sys 1.07 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits', '/lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits', expMap='/lscratch/kocevski/36579349/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits', expCube='/lscratch/kocevski/36579349/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36579349/Model_4FGL_J1640.4+3945_daily_bin2200.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36579349/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits Spacecraft file(s): /lscratch/kocevski/36579349/ft2_4FGL_J1640.4+3945_daily_bin2200.fits Exposure map: /lscratch/kocevski/36579349/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits Exposure cube: /lscratch/kocevski/36579349/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36579349/Model_4FGL_J1640.4+3945_daily_bin2200.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) = 7013.34747118 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7013.3495202 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 11.788 1.0000 .0000 .10000E+07 2 'Prefactor ' 41.582 1.0000 .0000 .10000E+07 3 'Prefactor ' .84049E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .19789E-03 1.0000 .0000 .10000E+07 5 'Prefactor ' .32402 1.0000 .0000 .10000E+07 6 'Prefactor ' .37270E-03 1.0000 .0000 .10000E+07 7 'norm ' .0000 1.0000 .0000 .10000E+07 8 'norm ' .44203E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 3.0096 1.0000 .0000 .10000E+07 10 'Prefactor ' .77039E-04 1.0000 .0000 .10000E+07 11 'norm ' 10.765 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.4286 1.0000 .0000 .10000E+07 13 'Prefactor ' .17730E-06 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.1097 1.0000 .0000 .10000E+07 15 'Prefactor ' .10389E-05 1.0000 .0000 .10000E+07 16 'norm ' 3.9697 1.0000 .0000 .10000E+07 17 'norm ' .96762 1.0000 .0000 .10000E+07 18 'Prefactor ' .49249E-03 1.0000 .0000 .10000E+07 19 'norm ' .14133E-06 1.0000 .0000 .10000E+07 20 'norm ' 3.1489 1.0000 .0000 .10000E+07 21 'norm ' .72225 1.0000 .0000 .10000E+07 22 'norm ' 16.011 1.0000 .0000 .10000E+07 23 'Prefactor ' .13638E-01 1.0000 .0000 .10000E+07 24 'Normalizat' 1.2352 1.0000 .10000E-01 10.000 25 'Prefactor ' .72404 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7013.346 FROM MIGRAD STATUS=CONVERGED 170 CALLS 2160 TOTAL EDM= .62E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 11.768 13.454 -.24199E-06 -.14315E-01 2 Prefactor 41.641 1.9643 -.51476E-08 .34458E-01 3 Prefactor .0000 2.6347 .98845E-07** at limit ** 4 Prefactor .0000 1.4004 -.12777E-07** at limit ** 5 Prefactor .20761E-07 70.454 .25295E-06** at limit ** 6 Prefactor .0000 1.5141 .50394E-07** at limit ** 7 norm .0000 .35991E-01 .50773E-08** at limit ** 8 norm .0000 4.7694 .46278E-08** at limit ** 9 Prefactor 2.9824 1.2747 -.23375E-07 .27084E-02 10 Prefactor .0000 2.0669 -.40796E-07** at limit ** 11 norm 10.789 8.8367 -.17373E-06 .19137E-01 12 Prefactor 3.4268 1.0718 .11441E-07 -.98005E-03 13 Prefactor .0000 .32975 .19330E-07** at limit ** 14 Prefactor 1.1087 2.0850 .41649E-07 -.28013E-03 15 Prefactor .0000 .71314 -.36428E-07** at limit ** 16 norm 3.9695 1.6489 -.35791E-07 .17134E-02 17 norm .96734 .59158 -.15412E-07 .16921E-02 18 Prefactor .0000 7.6232 .64851E-07** at limit ** 19 norm .0000 .17869 .91794E-08** at limit ** 20 norm 3.1450 7.5583 .14209E-06 -.62303E-04 21 norm .71920 1.3615 -.14445E-07 .24866E-03 22 norm 16.020 6.6050 .79351E-07 -.17046E-02 23 Prefactor .11879E-07 190.66 -.28918E-05** at limit ** 24 Normalizat 1.2361 .20249 .62117E-06 .79254E-05 25 Prefactor .72376 .16719 -.10913E-05 .14738E-04 ERR DEF= .500 Final values: Prefactor = 11.768 Prefactor = 41.6413 Prefactor = 0 Prefactor = 0 Prefactor = 2.07612e-08 Prefactor = 0 norm = 0 norm = 0 Prefactor = 2.98241 Prefactor = 0 norm = 10.7893 Prefactor = 3.42675 Prefactor = 0 Prefactor = 1.10867 Prefactor = 0 norm = 3.96952 norm = 0.967341 Prefactor = 0 norm = 0 norm = 3.14502 norm = 0.719199 norm = 16.02 Prefactor = 1.18794e-08 Normalizat = 1.23611 Prefactor = 0.723759 ********** ** 18 **HESSE ********** FCN= 7013.346 FROM HESSE STATUS=OK 481 CALLS 2641 TOTAL EDM= .23E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 11.768 15.271 .29153E-03 -1.5639 2 Prefactor 41.641 52.082 .15509E-03 -1.5579 3 Prefactor .0000 2.6082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 1.4005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .20761E-07 7.8010 .98877E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .0000 1.5110 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .0000 .35662E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 4.7805 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.9824 24.236 .58479E-03 -1.5673 10 Prefactor .0000 2.0498 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 10.789 17.672 .30512E-03 -1.5642 12 Prefactor 3.4268 1.0929 .54603E-03 -1.5671 13 Prefactor .0000 .32842 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.1087 2.1367 .11213E-02 -1.5687 15 Prefactor .0000 .71325 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.9695 1.6463 .50600E-03 -1.5668 17 norm .96734 .59221 .42616E-03 -1.5688 18 Prefactor .0000 7.5836 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .0000 .17835 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 3.1450 7.6057 .57098E-03 -1.5672 21 norm .71920 1.3737 .58920E-03 -1.5691 22 norm 16.020 6.6308 .25004E-03 -1.5628 23 Prefactor .11879E-07 190.21 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.2361 .17324 .52035E-01 -.85494 25 Prefactor .72376 .14005 .42720E-01 -1.0260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.3126e-07 Minuit parameter uncertainties: 1 15.2714 2 52.0822 3 6.46292e-06 4 3.64223e-07 5 0.00080444 6 2.57141e-06 7 4.54045e-08 8 5.67745e-06 9 17.0039 10 2.12277e-06 11 17.6726 12 1.09292 13 5.00479e-07 14 2.13674 15 9.72352e-07 16 1.64625 17 0.592213 18 9.09623e-06 19 1.80496e-07 20 7.60571 21 1.37375 22 6.63078 23 0.00300457 24 0.173316 25 0.140119 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7013.3462407 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.427e+00 1.093e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.238e-01 1.401e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.236e+00 1.733e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 44.94 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.35e-07 +/- 4.31e-08 Energy Flux (Fixed Index): 4.31e-05 +/- 1.38e-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) = 7011.03517532 delta logL = 2.31106538345 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7011.03295097 delta logL = 2.31328972852 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6817 1.0000 .0000 .10000E+07 2 'Index ' 1.8211 1.0000 .0000 10.000 3 'Normalizat' 1.3091 1.0000 .10000E-01 10.000 4 'Prefactor ' .68528 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7011.033 FROM MIGRAD STATUS=CONVERGED 42 CALLS 237 TOTAL EDM= .17E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6817 33.887 .42118E-03 -.33824E-02 2 Index 1.8211 2.9677 .11986 -.30779E-04 3 Normalizat 1.3091 .34840 .50844E-01 .21889E-05 4 Prefactor .68528 .19551 .42205E-01 .11855E-04 ERR DEF= .500 Final values: Prefactor = 5.68171 Index = 1.82106 Normalizat = 1.30913 Prefactor = 0.685278 ********** ** 18 **HESSE ********** FCN= 7011.033 FROM HESSE STATUS=OK 33 CALLS 270 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6817 1.9867 .65884E-05 -1.5660 2 Index 1.8211 .26284 .48359E-02 -.68903 3 Normalizat 1.3091 .20048 .22479E-03 -.83294 4 Prefactor .68528 .16456 .24822E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.73919e-11 Minuit parameter uncertainties: 1 1.98665 2 0.263041 3 0.200602 4 0.164678 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) = 7011.03295097 delta logL = 2.31328972855 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.682e+00 1.987e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 1.821e+00 2.630e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 6.853e-01 1.647e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.309e+00 2.006e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 49.52 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.82 +/- 0.26 Photon Flux (Free Index): 8.06e-08 +/- 3.65e-08 Energy Flux (Free Index): 9.06e-05 +/- 5.33e-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/36579349/cmap_HighResolution_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='9.06e-05', photon_flux_error='4.31e-08', dlogl='2.31e+00', energy_flux='4.31e-05', photon_flux2='8.06e-08', job_status='DONE', time_completed='2026-08-31 16:01:45.159968', photon_index_error2='0.26', photon_index2='1.82', ts='44.94', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='5.33e-05', EG='1.24', time_epoch_completed='1788217305.16', return_code='0', job_id='36579349', GAL2='0.69', EG2='1.31', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.65e-08', ts2='49.52', photon_index='2.42' WHERE bin_id='2200' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Aug 31 16:01:45 PDT 2026 _V02 Working on... /lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits.....................! real 25.13 user 23.25 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits', '/lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits', expMap='/lscratch/kocevski/36579444/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits', expCube='/lscratch/kocevski/36579444/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36579444/Model_4FGL_J1640.4+3945_daily_bin2200.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36579444/ft1_filtered_4FGL_J1640.4+3945_daily_bin2200.fits Spacecraft file(s): /lscratch/kocevski/36579444/ft2_4FGL_J1640.4+3945_daily_bin2200.fits Exposure map: /lscratch/kocevski/36579444/expmap_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits Exposure cube: /lscratch/kocevski/36579444/ltcube_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36579444/Model_4FGL_J1640.4+3945_daily_bin2200.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) = 7013.34747118 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7013.3495202 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 11.788 1.0000 .0000 .10000E+07 2 'Prefactor ' 41.582 1.0000 .0000 .10000E+07 3 'Prefactor ' .84049E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .19789E-03 1.0000 .0000 .10000E+07 5 'Prefactor ' .32402 1.0000 .0000 .10000E+07 6 'Prefactor ' .37270E-03 1.0000 .0000 .10000E+07 7 'norm ' .0000 1.0000 .0000 .10000E+07 8 'norm ' .44203E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 3.0096 1.0000 .0000 .10000E+07 10 'Prefactor ' .77039E-04 1.0000 .0000 .10000E+07 11 'norm ' 10.765 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.4286 1.0000 .0000 .10000E+07 13 'Prefactor ' .17730E-06 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.1097 1.0000 .0000 .10000E+07 15 'Prefactor ' .10389E-05 1.0000 .0000 .10000E+07 16 'norm ' 3.9697 1.0000 .0000 .10000E+07 17 'norm ' .96762 1.0000 .0000 .10000E+07 18 'Prefactor ' .49249E-03 1.0000 .0000 .10000E+07 19 'norm ' .14133E-06 1.0000 .0000 .10000E+07 20 'norm ' 3.1489 1.0000 .0000 .10000E+07 21 'norm ' .72225 1.0000 .0000 .10000E+07 22 'norm ' 16.011 1.0000 .0000 .10000E+07 23 'Prefactor ' .13638E-01 1.0000 .0000 .10000E+07 24 'Normalizat' 1.2352 1.0000 .10000E-01 10.000 25 'Prefactor ' .72404 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7013.346 FROM MIGRAD STATUS=CONVERGED 170 CALLS 2160 TOTAL EDM= .62E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 11.768 13.454 -.24199E-06 -.14315E-01 2 Prefactor 41.641 1.9643 -.51476E-08 .34458E-01 3 Prefactor .0000 2.6347 .98845E-07** at limit ** 4 Prefactor .0000 1.4004 -.12777E-07** at limit ** 5 Prefactor .20761E-07 70.454 .25295E-06** at limit ** 6 Prefactor .0000 1.5141 .50394E-07** at limit ** 7 norm .0000 .35991E-01 .50773E-08** at limit ** 8 norm .0000 4.7694 .46278E-08** at limit ** 9 Prefactor 2.9824 1.2747 -.23375E-07 .27084E-02 10 Prefactor .0000 2.0669 -.40796E-07** at limit ** 11 norm 10.789 8.8367 -.17373E-06 .19137E-01 12 Prefactor 3.4268 1.0718 .11441E-07 -.98005E-03 13 Prefactor .0000 .32975 .19330E-07** at limit ** 14 Prefactor 1.1087 2.0850 .41649E-07 -.28013E-03 15 Prefactor .0000 .71314 -.36428E-07** at limit ** 16 norm 3.9695 1.6489 -.35791E-07 .17134E-02 17 norm .96734 .59158 -.15412E-07 .16921E-02 18 Prefactor .0000 7.6232 .64851E-07** at limit ** 19 norm .0000 .17869 .91794E-08** at limit ** 20 norm 3.1450 7.5583 .14209E-06 -.62303E-04 21 norm .71920 1.3615 -.14445E-07 .24866E-03 22 norm 16.020 6.6050 .79351E-07 -.17046E-02 23 Prefactor .11879E-07 190.66 -.28918E-05** at limit ** 24 Normalizat 1.2361 .20249 .62117E-06 .79254E-05 25 Prefactor .72376 .16719 -.10913E-05 .14738E-04 ERR DEF= .500 Final values: Prefactor = 11.768 Prefactor = 41.6413 Prefactor = 0 Prefactor = 0 Prefactor = 2.07612e-08 Prefactor = 0 norm = 0 norm = 0 Prefactor = 2.98241 Prefactor = 0 norm = 10.7893 Prefactor = 3.42675 Prefactor = 0 Prefactor = 1.10867 Prefactor = 0 norm = 3.96952 norm = 0.967341 Prefactor = 0 norm = 0 norm = 3.14502 norm = 0.719199 norm = 16.02 Prefactor = 1.18794e-08 Normalizat = 1.23611 Prefactor = 0.723759 ********** ** 18 **HESSE ********** FCN= 7013.346 FROM HESSE STATUS=OK 481 CALLS 2641 TOTAL EDM= .23E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 11.768 15.271 .29153E-03 -1.5639 2 Prefactor 41.641 52.082 .15509E-03 -1.5579 3 Prefactor .0000 2.6082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 1.4005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .20761E-07 7.8010 .98877E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .0000 1.5110 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .0000 .35662E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 4.7805 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.9824 24.236 .58479E-03 -1.5673 10 Prefactor .0000 2.0498 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 10.789 17.672 .30512E-03 -1.5642 12 Prefactor 3.4268 1.0929 .54603E-03 -1.5671 13 Prefactor .0000 .32842 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.1087 2.1367 .11213E-02 -1.5687 15 Prefactor .0000 .71325 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.9695 1.6463 .50600E-03 -1.5668 17 norm .96734 .59221 .42616E-03 -1.5688 18 Prefactor .0000 7.5836 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .0000 .17835 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 3.1450 7.6057 .57098E-03 -1.5672 21 norm .71920 1.3737 .58920E-03 -1.5691 22 norm 16.020 6.6308 .25004E-03 -1.5628 23 Prefactor .11879E-07 190.21 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.2361 .17324 .52035E-01 -.85494 25 Prefactor .72376 .14005 .42720E-01 -1.0260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.3126e-07 Minuit parameter uncertainties: 1 15.2714 2 52.0822 3 6.46292e-06 4 3.64223e-07 5 0.00080444 6 2.57141e-06 7 4.54045e-08 8 5.67745e-06 9 17.0039 10 2.12277e-06 11 17.6726 12 1.09292 13 5.00479e-07 14 2.13674 15 9.72352e-07 16 1.64625 17 0.592213 18 9.09623e-06 19 1.80496e-07 20 7.60571 21 1.37375 22 6.63078 23 0.00300457 24 0.173316 25 0.140119 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7013.3462407 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.427e+00 1.093e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.238e-01 1.401e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.236e+00 1.733e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 44.94 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.35e-07 +/- 4.31e-08 Energy Flux (Fixed Index): 4.31e-05 +/- 1.38e-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) = 7011.03517532 delta logL = 2.31106538345 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7011.03295097 delta logL = 2.31328972852 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6817 1.0000 .0000 .10000E+07 2 'Index ' 1.8211 1.0000 .0000 10.000 3 'Normalizat' 1.3091 1.0000 .10000E-01 10.000 4 'Prefactor ' .68528 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7011.033 FROM MIGRAD STATUS=CONVERGED 42 CALLS 237 TOTAL EDM= .17E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6817 33.887 .42118E-03 -.33824E-02 2 Index 1.8211 2.9677 .11986 -.30779E-04 3 Normalizat 1.3091 .34840 .50844E-01 .21889E-05 4 Prefactor .68528 .19551 .42205E-01 .11855E-04 ERR DEF= .500 Final values: Prefactor = 5.68171 Index = 1.82106 Normalizat = 1.30913 Prefactor = 0.685278 ********** ** 18 **HESSE ********** FCN= 7011.033 FROM HESSE STATUS=OK 33 CALLS 270 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6817 1.9867 .65884E-05 -1.5660 2 Index 1.8211 .26284 .48359E-02 -.68903 3 Normalizat 1.3091 .20048 .22479E-03 -.83294 4 Prefactor .68528 .16456 .24822E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.73919e-11 Minuit parameter uncertainties: 1 1.98665 2 0.263041 3 0.200602 4 0.164678 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) = 7011.03295097 delta logL = 2.31328972855 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.682e+00 1.987e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 1.821e+00 2.630e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 6.853e-01 1.647e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.309e+00 2.006e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 49.52 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.82 +/- 0.26 Photon Flux (Free Index): 8.06e-08 +/- 3.65e-08 Energy Flux (Free Index): 9.06e-05 +/- 5.33e-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/36579444/cmap_HighResolution_809568001_809827201_4FGL_J1640.4+3945_daily_bin2200.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='9.06e-05', photon_flux_error='4.31e-08', dlogl='2.31e+00', energy_flux='4.31e-05', photon_flux2='8.06e-08', job_status='DONE', time_completed='2026-08-31 16:03:22.194500', photon_index_error2='0.26', photon_index2='1.82', ts='44.94', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='5.33e-05', EG='1.24', time_epoch_completed='1788217402.19', return_code='0', job_id='36579444', GAL2='0.69', EG2='1.31', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.65e-08', ts2='49.52', photon_index='2.42' WHERE bin_id='2200' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Aug 31 16:03:22 PDT 2026