17 **MINIMIZE .6530E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6546.663 FROM MIGRAD STATUS=CONVERGED 164 CALLS 2158 TOTAL EDM= .73E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.3216 2.1783 .13525E-06 -.42195E-02 2 Prefactor .55511E-10 19.427 .43288E-06** at limit ** 3 Prefactor .0000 .68203 .24603E-06** at limit ** 4 Prefactor .0000 2.1738 .28422E-06** at limit ** 5 Prefactor .11147E-06 10.214 -.82576E-06** at limit ** 6 Prefactor 2.8724 2.7349 -.83797E-07 .20686E-02 7 norm .14298 .11441 -.23073E-07** at limit ** 8 norm .0000 5.7065 .95580E-07** at limit ** 9 Prefactor 37.745 5.1940 .96998E-07 -.18491 10 Prefactor 1.3197 3.5875 -.22880E-06 -.28859E-03 11 norm .12423E-06 10.500 .16140E-06** at limit ** 12 Prefactor .0000 2.6472 -.16315E-06** at limit ** 13 Prefactor .46680 .81214 -.24938E-06 .33417E-02 14 Prefactor 3.2075 3.0121 .39151E-06 -.35722E-02 15 Prefactor 2.1542 2.2529 .12606E-06 -.32159E-04 16 norm 6.4325 2.1256 -.83426E-07 .30302E-02 17 norm .0000 .29834 -.27583E-07** at limit ** 18 Prefactor .0000 3.3910 .13361E-06** at limit ** 19 norm .0000 .18983 -.14897E-07** at limit ** 20 norm 2.5704 5.6518 .12619E-06 -.66929E-03 21 norm 5.1612 1.7446 -.46688E-07 -.11568E-03 22 norm 7.7619 4.2853 .19382E-07 -.58656E-03 23 Prefactor 9.6215 39.851 -.31467E-06 -.51447E-02 24 Normalizat 1.0533 .20626 -.20985E-04 -.16824E-04 25 Prefactor .66786 .15936 .20207E-04 -.13016E-03 ERR DEF= .500 Final values: Prefactor = 2.32157 Prefactor = 5.55112e-11 Prefactor = 0 Prefactor = 0 Prefactor = 1.11466e-07 Prefactor = 2.87241 norm = 0.142984 norm = 0 Prefactor = 37.7446 Prefactor = 1.31975 norm = 1.24234e-07 Prefactor = 0 Prefactor = 0.466802 Prefactor = 3.20754 Prefactor = 2.15423 norm = 6.43251 norm = 0 Prefactor = 0 norm = 0 norm = 2.57039 norm = 5.1612 norm = 7.76186 Prefactor = 9.62148 Normalizat = 1.05329 Prefactor = 0.667858 /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). ********** ** 18 **HESSE ********** FCN= 6546.663 FROM HESSE STATUS=OK 485 CALLS 2643 TOTAL EDM= .70E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.3216 29.814 .67292E-03 -1.5677 2 Prefactor .55511E-10 19.417 .17120E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .68323 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 2.1725 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11147E-06 10.516 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.8724 2.7531 .59914E-03 -1.5674 7 norm .14298 .13392 .51705E-03 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 5.7079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 37.745 20.179 .16280E-03 -1.5585 10 Prefactor 1.3197 3.6406 .95468E-03 -1.5685 11 norm .12423E-06 10.841 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .0000 .71033 .31388E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .46680 .98122 .82190E-03 -1.5694 14 Prefactor 3.2075 3.0495 .56573E-03 -1.5672 15 Prefactor 2.1542 2.2752 .70186E-03 -1.5679 16 norm 6.4325 2.1360 .39551E-03 -1.5657 17 norm .0000 .29605 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 3.3867 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .0000 .18954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.5704 5.6646 .64113E-03 -1.5676 21 norm 5.1612 1.7451 .44227E-03 -1.5663 22 norm 7.7619 4.2911 .35862E-03 -1.5652 23 Prefactor 9.6215 40.058 .33249E-03 -1.5646 24 Normalizat 1.0533 .17789 .40349E-01 -.91266 25 Prefactor .66786 .13615 .41974E-01 -1.0480 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.036e-07 Minuit parameter uncertainties: 1 16.6394 2 7.07848e-05 3 3.67014e-06 4 1.27174e-05 5 0.0021651 6 2.75312 7 0.133924 8 7.99754e-07 9 20.1793 10 3.64058 11 0.002321 12 2.2447e-06 13 0.981224 14 3.04948 15 2.27524 16 2.13596 17 8.77117e-07 18 9.82657e-06 19 3.76295e-07 20 5.66465 21 1.74514 22 4.29107 23 39.2647 24 0.177992 25 0.136219 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6546.66265868 Extracting fit parameters... 4FGL J1642.9+3948 Spectrum: PowerLaw 304 Prefactor: 4.668e-01 9.812e-01 0.000e+00 1.000e+06 ( 1.000e-12) 305 Index: 2.402e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 306 Scale: 1.373e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 650 Prefactor: 6.679e-01 1.362e-01 0.000e+00 1.000e+01 ( 1.000e+00) 651 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 652 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 649 Normalization: 1.053e+00 1.780e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.51 Ra Dec: 250.734 39.816 Photon Flux Upper Limit: 9.4536642972e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0073061047976 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18914747/likelihoodResults_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6546.19942333 delta logL = 0.463235352511 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6546.19763043 delta logL = 0.465028256346 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .77407E-01 1.0000 .0000 .10000E+07 2 'Index ' 3.7717 1.0000 .0000 10.000 3 'Normalizat' 1.0078 1.0000 .10000E-01 10.000 4 'Prefactor ' .69242 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6530E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6546.198 FROM MIGRAD STATUS=CONVERGED 54 CALLS 305 TOTAL EDM= .90E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .77229E-01 1.0770 .44594E-03** at limit ** 2 Index 3.7727 2.5198 .98517E-01 .19005E-03 3 Normalizat 1.0078 .35483E-01 .46265E-01 .57049E-05 4 Prefactor .69245 .28829E-01 .42300E-01 .97695E-05 ERR DEF= .500 Final values: Prefactor = 0.0772287 Index = 3.77274 Normalizat = 1.00779 Prefactor = 0.692446 ********** ** 18 **HESSE ********** FCN= 6546.198 FROM HESSE STATUS=NOT POSDEF 35 CALLS 340 TOTAL EDM= .16E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .77229E-01 3.1621 .20267E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 3.7727 6.8659 .53376E-02 -.24799 3 Normalizat 1.0078 .14469 .23818E-03 -.92770 4 Prefactor .69245 .11583 .22864E-03 -1.0382 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.61237e-07 Minuit parameter uncertainties: 1 0.988338 2 5.79048 3 0.144744 4 0.115867 number of points = 7600 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1642.9+3948_daily_bin1816 RA = 250.734, Dec = 39.8164 tmin = 710035201, tmax = 710294401 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='18915219', job_status='RUN', time_executed='2023-07-10 13:10:40.298053', time_epoch_executed='1689019840.3' WHERE source_name='4FGL J1642.9+3948' and cadence='daily' and bin_id='1816' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18915219 Creating custom pfile directory: /lscratch/kocevski/18915219/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710035201.0 && nMetStart<710294401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710035201.0 && nMetStart<710294401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18915219/ft1_4FGL_J1642.9+3948_daily_bin1816.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710035201.0 && nMetStart<710294401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18915219/ft1_4FGL_J1642.9+3948_daily_bin1816.fits outfile=/lscratch/kocevski/18915219/ft1_filteredMKT_4FGL_J1642.9+3948_daily_bin1816.fits ra=250.734 dec=39.8164 rad=12.0 tmin=710035201.0 tmax=710294401.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.54 user 2.21 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.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/18915219/ft1_filteredMKT_4FGL_J1642.9+3948_daily_bin1816.fits evtable="EVENTS" outfile="/lscratch/kocevski/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.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.44 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 606 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits sctable="SC_DATA" outshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6546.1976302 delta logL = 0.465028480239 Extracting fit parameters... 4FGL J1642.9+3948 Spectrum: PowerLaw 304 Prefactor: 7.723e-02 9.883e-01 0.000e+00 1.000e+06 ( 1.000e-12) 305 Index: 3.773e+00 5.790e+00 0.000e+00 1.000e+01 (-1.000e+00) 306 Scale: 1.373e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 650 Prefactor: 6.924e-01 1.159e-01 0.000e+00 1.000e+01 ( 1.000e+00) 651 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 652 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 649 Normalization: 1.008e+00 1.447e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.50 Ra Dec: 250.734 39.816 Photon Index (Free Index): 3.77 +/- 5.79 Photon Flux (Free Index): 5.47e-08 +/- 5.05e-08 Energy Flux (Free Index): 8.54e-06 +/- 1.05e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /lscratch/kocevski/18914747/cmap_HighResolution_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.31e-03', comment='SUCCESS', energy_flux2='8.54e-06', dlogl='4.65e-01', photon_flux2='5.47e-08', job_status='DONE', time_completed='2023-07-10 13:11:39.708731', photon_index_error2='5.79', photon_index2='3.77', ts='0.51', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.05e-05', EG='1.05', time_epoch_completed='1689019899.71', return_code='0', job_id='18914747', GAL2='0.69', EG2='1.01', return_code2='102', photon_flux_error2='5.05e-08', ts2='1.50', photon_index='2.40' WHERE bin_id='1816' AND source_name='4FGL J1642.9+3948' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 10 13:11:39 PDT 2023 file=/lscratch/kocevski/18915219/ltcube_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.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/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits .....................! real 8.33 user 7.96 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.fits evtable="EVENTS" scfile=/lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18915219/ltcube_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.fits outfile=/lscratch/kocevski/18915219/expmap_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.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/18915219/ltcube_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.fits .....................! real 71.88 user 67.25 sys 4.16 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 202 point sources and 0 extended sources Setting source of interest to: 4FGL J1642.9+3948 @ 250.734 39.8164 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.fits scfile=/lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits outfile=/lscratch/kocevski/18915219/cmap_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.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.734 yref=39.8164 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.39 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.fits scfile=/lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits outfile=/lscratch/kocevski/18915219/cmap_HighResolution_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.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.734 yref=39.8164 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.41 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.fits evtable="EVENTS" scfile=/lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18915219/Model_4FGL_J1642.9+3948_daily_bin1816.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/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.fits.....................! real 23.16 user 21.88 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.fits', '/lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits', expMap='/lscratch/kocevski/18915219/expmap_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.fits', expCube='/lscratch/kocevski/18915219/ltcube_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18915219/Model_4FGL_J1642.9+3948_daily_bin1816.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1642.9+3948' 4FGL J1642.9+3948 Spectrum: PowerLaw 304 Prefactor: 1.494e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 305 Index: 2.402e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 306 Scale: 1.373e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18915219/ft1_filtered_4FGL_J1642.9+3948_daily_bin1816.fits Spacecraft file(s): /lscratch/kocevski/18915219/ft2_4FGL_J1642.9+3948_daily_bin1816.fits Exposure map: /lscratch/kocevski/18915219/expmap_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.fits Exposure cube: /lscratch/kocevski/18915219/ltcube_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18915219/Model_4FGL_J1642.9+3948_daily_bin1816.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) = 6546.66621957 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6546.66358335 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.3216 1.0000 .0000 .10000E+07 2 'Prefactor ' .18750E-01 1.0000 .0000 .10000E+07 3 'Prefactor ' .51625E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' .11289E-03 1.0000 .0000 .10000E+07 5 'Prefactor ' .17664E-02 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.8756 1.0000 .0000 .10000E+07 7 'norm ' .14291 1.0000 .0000 .10000E+07 8 'norm ' .79375E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 37.736 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.3251 1.0000 .0000 .10000E+07 11 'norm ' .14200E-02 1.0000 .0000 .10000E+07 12 'Prefactor ' .47545E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' .46615 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.2046 1.0000 .0000 .10000E+07 15 'Prefactor ' 2.1532 1.0000 .0000 .10000E+07 16 'norm ' 6.4317 1.0000 .0000 .10000E+07 17 'norm ' .79936E-08 1.0000 .0000 .10000E+07 18 'Prefactor ' .16850E-03 1.0000 .0000 .10000E+07 19 'norm ' .37415E-07 1.0000 .0000 .10000E+07 20 'norm ' 2.5356 1.0000 .0000 .10000E+07 21 'norm ' 5.1613 1.0000 .0000 .10000E+07 22 'norm ' 7.8076 1.0000 .0000 .10000E+07 23 'Prefactor ' 9.0732 1.0000 .0000 .10000E+07 24 'Normalizat' 1.0532 1.0000 .10000E-01 10.000 25 'Prefactor ' .66804 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6530E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6546.663 FROM MIGRAD STATUS=CONVERGED 164 CALLS 2158 TOTAL EDM= .73E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.3216 2.1783 .13525E-06 -.42195E-02 2 Prefactor .55511E-10 19.427 .43288E-06** at limit ** 3 Prefactor .0000 .68203 .24603E-06** at limit ** 4 Prefactor .0000 2.1738 .28422E-06** at limit ** 5 Prefactor .11147E-06 10.214 -.82576E-06** at limit ** 6 Prefactor 2.8724 2.7349 -.83797E-07 .20686E-02 7 norm .14298 .11441 -.23073E-07** at limit ** 8 norm .0000 5.7065 .95580E-07** at limit ** 9 Prefactor 37.745 5.1940 .96998E-07 -.18491 10 Prefactor 1.3197 3.5875 -.22880E-06 -.28859E-03 11 norm .12423E-06 10.500 .16140E-06** at limit ** 12 Prefactor .0000 2.6472 -.16315E-06** at limit ** 13 Prefactor .46680 .81214 -.24938E-06 .33417E-02 14 Prefactor 3.2075 3.0121 .39151E-06 -.35722E-02 15 Prefactor 2.1542 2.2529 .12606E-06 -.32159E-04 16 norm 6.4325 2.1256 -.83426E-07 .30302E-02 17 norm .0000 .29834 -.27583E-07** at limit ** 18 Prefactor .0000 3.3910 .13361E-06** at limit ** 19 norm .0000 .18983 -.14897E-07** at limit ** 20 norm 2.5704 5.6518 .12619E-06 -.66929E-03 21 norm 5.1612 1.7446 -.46688E-07 -.11568E-03 22 norm 7.7619 4.2853 .19382E-07 -.58656E-03 23 Prefactor 9.6215 39.851 -.31467E-06 -.51447E-02 24 Normalizat 1.0533 .20626 -.20985E-04 -.16824E-04 25 Prefactor .66786 .15936 .20207E-04 -.13016E-03 ERR DEF= .500 Final values: Prefactor = 2.32157 Prefactor = 5.55112e-11 Prefactor = 0 Prefactor = 0 Prefactor = 1.11466e-07 Prefactor = 2.87241 norm = 0.142984 norm = 0 Prefactor = 37.7446 Prefactor = 1.31975 norm = 1.24234e-07 Prefactor = 0 Prefactor = 0.466802 Prefactor = 3.20754 Prefactor = 2.15423 norm = 6.43251 norm = 0 Prefactor = 0 norm = 0 norm = 2.57039 norm = 5.1612 norm = 7.76186 Prefactor = 9.62148 Normalizat = 1.05329 Prefactor = 0.667858 ********** ** 18 **HESSE ********** FCN= 6546.663 FROM HESSE STATUS=OK 485 CALLS 2643 TOTAL EDM= .70E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.3216 29.814 .67292E-03 -1.5677 2 Prefactor .55511E-10 19.417 .17120E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .68323 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 2.1725 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11147E-06 10.516 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.8724 2.7531 .59914E-03 -1.5674 7 norm .14298 .13392 .51705E-03 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 5.7079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 37.745 20.179 .16280E-03 -1.5585 10 Prefactor 1.3197 3.6406 .95468E-03 -1.5685 11 norm .12423E-06 10.841 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .0000 .71033 .31388E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .46680 .98122 .82190E-03 -1.5694 14 Prefactor 3.2075 3.0495 .56573E-03 -1.5672 15 Prefactor 2.1542 2.2752 .70186E-03 -1.5679 16 norm 6.4325 2.1360 .39551E-03 -1.5657 17 norm .0000 .29605 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 3.3867 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .0000 .18954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.5704 5.6646 .64113E-03 -1.5676 21 norm 5.1612 1.7451 .44227E-03 -1.5663 22 norm 7.7619 4.2911 .35862E-03 -1.5652 23 Prefactor 9.6215 40.058 .33249E-03 -1.5646 24 Normalizat 1.0533 .17789 .40349E-01 -.91266 25 Prefactor .66786 .13615 .41974E-01 -1.0480 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.036e-07 Minuit parameter uncertainties: 1 16.6394 2 7.07848e-05 3 3.67014e-06 4 1.27174e-05 5 0.0021651 6 2.75312 7 0.133924 8 7.99754e-07 9 20.1793 10 3.64058 11 0.002321 12 2.2447e-06 13 0.981224 14 3.04948 15 2.27524 16 2.13596 17 8.77117e-07 18 9.82657e-06 19 3.76295e-07 20 5.66465 21 1.74514 22 4.29107 23 39.2647 24 0.177992 25 0.136219 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6546.66265868 Extracting fit parameters... 4FGL J1642.9+3948 Spectrum: PowerLaw 304 Prefactor: 4.668e-01 9.812e-01 0.000e+00 1.000e+06 ( 1.000e-12) 305 Index: 2.402e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 306 Scale: 1.373e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 650 Prefactor: 6.679e-01 1.362e-01 0.000e+00 1.000e+01 ( 1.000e+00) 651 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 652 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 649 Normalization: 1.053e+00 1.780e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.51 Ra Dec: 250.734 39.816 Photon Flux Upper Limit: 9.4536642972e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0073061047976 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18915219/likelihoodResults_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6546.19942333 delta logL = 0.463235352511 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6546.19763043 delta logL = 0.465028256346 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .77407E-01 1.0000 .0000 .10000E+07 2 'Index ' 3.7717 1.0000 .0000 10.000 3 'Normalizat' 1.0078 1.0000 .10000E-01 10.000 4 'Prefactor ' .69242 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6530E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6546.198 FROM MIGRAD STATUS=CONVERGED 54 CALLS 305 TOTAL EDM= .90E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .77229E-01 1.0770 .44594E-03** at limit ** 2 Index 3.7727 2.5198 .98517E-01 .19005E-03 3 Normalizat 1.0078 .35483E-01 .46265E-01 .57049E-05 4 Prefactor .69245 .28829E-01 .42300E-01 .97695E-05 ERR DEF= .500 Final values: Prefactor = 0.0772287 Index = 3.77274 Normalizat = 1.00779 Prefactor = 0.692446 ********** ** 18 **HESSE ********** FCN= 6546.198 FROM HESSE STATUS=NOT POSDEF 35 CALLS 340 TOTAL EDM= .16E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .77229E-01 3.1621 .20267E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 3.7727 6.8659 .53376E-02 -.24799 3 Normalizat 1.0078 .14469 .23818E-03 -.92770 4 Prefactor .69245 .11583 .22864E-03 -1.0382 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.61237e-07 Minuit parameter uncertainties: 1 0.988338 2 5.79048 3 0.144744 4 0.115867 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6546.1976302 delta logL = 0.465028480239 Extracting fit parameters... 4FGL J1642.9+3948 Spectrum: PowerLaw 304 Prefactor: 7.723e-02 9.883e-01 0.000e+00 1.000e+06 ( 1.000e-12) 305 Index: 3.773e+00 5.790e+00 0.000e+00 1.000e+01 (-1.000e+00) 306 Scale: 1.373e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 650 Prefactor: 6.924e-01 1.159e-01 0.000e+00 1.000e+01 ( 1.000e+00) 651 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 652 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 649 Normalization: 1.008e+00 1.447e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.50 Ra Dec: 250.734 39.816 Photon Index (Free Index): 3.77 +/- 5.79 Photon Flux (Free Index): 5.47e-08 +/- 5.05e-08 Energy Flux (Free Index): 8.54e-06 +/- 1.05e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /lscratch/kocevski/18915219/cmap_HighResolution_710035201_710294401_4FGL_J1642.9+3948_daily_bin1816.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.31e-03', comment='SUCCESS', energy_flux2='8.54e-06', dlogl='4.65e-01', photon_flux2='5.47e-08', job_status='DONE', time_completed='2023-07-10 13:16:34.778267', photon_index_error2='5.79', photon_index2='3.77', ts='0.51', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.05e-05', EG='1.05', time_epoch_completed='1689020194.78', return_code='0', job_id='18915219', GAL2='0.69', EG2='1.01', return_code2='102', photon_flux_error2='5.05e-08', ts2='1.50', photon_index='2.40' WHERE bin_id='1816' AND source_name='4FGL J1642.9+3948' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 10 13:16:34 PDT 2023