L_V02 Working on... /lscratch/kocevski/18923095/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits.....................! real 55.76 user 54.71 sys 0.66 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18923095/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits', '/lscratch/kocevski/18923095/ft2_4FGL_J2307.6+1451_daily_bin1814.fits', expMap='/lscratch/kocevski/18923095/expmap_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits', expCube='/lscratch/kocevski/18923095/ltcube_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18923095/Model_4FGL_J2307.6+1451_daily_bin1814.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2307.6+1451' 4FGL J2307.6+1451 Spectrum: PowerLaw 343 Prefactor: 1.115e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 344 Index: 2.184e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 345 Scale: 1.928e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18923095/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits Spacecraft file(s): /lscratch/kocevski/18923095/ft2_4FGL_J2307.6+1451_daily_bin1814.fits Exposure map: /lscratch/kocevski/18923095/expmap_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits Exposure cube: /lscratch/kocevski/18923095/ltcube_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18923095/Model_4FGL_J2307.6+1451_daily_bin1814.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) = 14768.841807 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14768.7471081 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .56097E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .47907E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 3.9908 1.0000 .10000E-03 10000. 4 'Prefactor ' .11012E-03 1.0000 .10000E-03 10000. 5 'norm ' 3.3830 1.0000 .0000 .10000E+07 6 'Prefactor ' .43764E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.4068 1.0000 .0000 .10000E+07 8 'Prefactor ' 1.1868 1.0000 .10000E-03 10000. 9 'Prefactor ' .29039E-04 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.4210 1.0000 .0000 .10000E+07 11 'Prefactor ' 8.8782 1.0000 .0000 .10000E+07 12 'Prefactor ' .77404E-05 1.0000 .0000 .10000E+07 13 'Prefactor ' .69739E-02 1.0000 .0000 .10000E+07 14 'Prefactor ' 8.2656 1.0000 .0000 .10000E+07 15 'norm ' 20.697 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.9950 1.0000 .0000 .10000E+07 17 'Prefactor ' 8.7818 1.0000 .0000 .10000E+07 18 'norm ' .32224E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.6168 1.0000 .0000 .10000E+07 20 'Normalizat' .86085 1.0000 .10000E-01 10.000 21 'Prefactor ' .98985 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14768.74 FROM MIGRAD STATUS=CONVERGED 140 CALLS 1303 TOTAL EDM= .85E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61062E-09 7.3909 -.11412E-05** at limit ** 2 Prefactor .54623E-07 10.407 .38525E-05** at limit ** 3 Prefactor 3.9913 .29588 -.17087E-06 .15197E-02 4 Prefactor .10000E-03 2.9149 -.55586E-05** at limit ** 5 norm 3.3826 1.2966 -.89329E-07 .40155E-02 6 Prefactor .50959E-07 17.625 -.77769E-06** at limit ** 7 Prefactor 2.4457 8.1612 .12138E-05 .26348E-02 8 Prefactor 1.1871 .14971 .29473E-06 .47640E-03 9 Prefactor .29754E-07 10.700 -.21766E-05** at limit ** 10 Prefactor 2.4194 3.4162 -.17355E-06 -.55185E-03 11 Prefactor 8.9840 4.3029 -.10244E-05 -.48463E-03 12 Prefactor .55511E-10 1.8200 .35829E-06** at limit ** 13 Prefactor .69833E-07 47.657 -.11598E-04** at limit ** 14 Prefactor 8.2358 5.3002 -.13573E-05 -.56644E-01 15 norm 20.590 8.3314 .39350E-06 .32135E-03 16 Prefactor 3.9688 5.2281 -.73821E-06 -.14546E-03 17 Prefactor 10.020 7.5131 .12545E-06 .32045E-01 18 norm .0000 2.8954 .78389E-07** at limit ** 19 Prefactor 2.6238 2.8398 -.72386E-06 -.31712E-02 20 Normalizat .86003 .18644 .61085E-05 .26644E-03 21 Prefactor .98969 .10557 -.26086E-05 .32329E-03 ERR DEF= .500 Final values: Prefactor = 6.10623e-10 Prefactor = 5.4623e-08 Prefactor = 3.9913 Prefactor = 0.0001 norm = 3.38265 Prefactor = 5.09592e-08 Prefactor = 2.44569 Prefactor = 1.18709 Prefactor = 2.9754e-08 Prefactor = 2.41941 Prefactor = 8.984 Prefactor = 5.55112e-11 Prefactor = 6.9833e-08 Prefactor = 8.23582 norm = 20.59 Prefactor = 3.96878 Prefactor = 10.0196 norm = 0 Prefactor = 2.62378 Normalizat = 0.860025 Prefactor = 0.989693 /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= 14768.74 FROM HESSE STATUS=OK 363 CALLS 1666 TOTAL EDM= .45E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .61062E-09 7.3827 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .54623E-07 11.641 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.9913 .29603 .38930E-02 -1.5308 4 Prefactor .10000E-03 2.8918 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.3826 1.3030 .54987E-03 -1.5671 6 Prefactor .50959E-07 19.405 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.4457 8.2162 .65967E-03 -1.5677 8 Prefactor 1.1871 .14979 .35739E-02 -1.5490 9 Prefactor .29754E-07 12.114 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.4194 3.4414 .65754E-03 -1.5677 11 Prefactor 8.9840 15.599 .33615E-03 -1.5648 12 Prefactor .55511E-10 1.8210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .69833E-07 47.165 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 8.2358 13.161 .34847E-03 -1.5651 15 norm 20.590 8.7601 .21988E-03 -1.5617 16 Prefactor 3.9688 5.2728 .50434E-03 -1.5668 17 Prefactor 10.020 21.726 .33800E-03 -1.5645 18 norm .0000 2.8989 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.6238 2.8392 .63026E-03 -1.5676 20 Normalizat .86003 .16378 .85259E-01 -.97879 21 Prefactor .98969 .90998E-01 .46140E-01 -.93074 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48754e-07 Minuit parameter uncertainties: 1 0.000131806 2 0.00159442 3 0.296029 4 1.86459e-05 5 1.303 6 0.00198884 7 8.21629 8 0.149792 9 0.0012011 10 3.44143 11 15.5993 12 1.95398e-05 13 0.00363005 14 13.1614 15 8.76006 16 5.27283 17 21.7265 18 6.49255e-06 19 2.83918 20 0.163871 21 0.0910121 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14768.7447955 Extracting fit parameters... 4FGL J2307.6+1451 Spectrum: PowerLaw 343 Prefactor: 2.419e+00 3.441e+00 0.000e+00 1.000e+06 ( 1.000e-13) 344 Index: 2.184e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 345 Scale: 1.928e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.897e-01 9.101e-02 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 8.600e-01 1.639e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.81 Ra Dec: 346.922 14.864 Photon Flux Upper Limit: 6.32807827217e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0048155553524 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18923095/likelihoodResults_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.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) = 14768.7315532 delta logL = 0.0132422897877 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14768.7294904 delta logL = 0.0153050762365 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.6529 1.0000 .0000 .10000E+07 2 'Index ' 1.9563 1.0000 .0000 10.000 3 'Normalizat' .86370 1.0000 .10000E-01 10.000 4 'Prefactor ' .98892 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14768.73 FROM MIGRAD STATUS=CONVERGED 61 CALLS 227 TOTAL EDM= .15E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.6551 19.833 .62561E-03 .44175E-02 2 Index 1.9562 .47568 .50000 .29684E-06 3 Normalizat .86368 .15362E-01 .85104E-01 .49250E-04 4 Prefactor .98892 .90111E-02 .46128E-01 .10566E-05 ERR DEF= .500 Final values: Prefactor = 2.65512 Index = 1.95625 Normalizat = 0.863685 Prefactor = 0.988924 ********** ** 18 **HESSE ********** FCN= 14768.73 FROM HESSE STATUS=OK 33 CALLS 260 TOTAL EDM= .68E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.6551 3.8839 .25024E-04 -1.5675 2 Index 1.9562 1.2414 .37686E-02 -.65448 3 Normalizat .86368 .17781 .37685E-03 -.97748 4 Prefactor .98892 .10500 .20831E-03 -.93100 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.78884e-14 Minuit parameter uncertainties: 1 3.88395 2 1.26261 3 0.177926 4 0.105024 number of points = 7523 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2307.6+1451_daily_bin1814 RA = 346.922, Dec = 14.8644 tmin = 709516801, tmax = 709776001 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='18923508', job_status='RUN', time_executed='2023-07-10 14:40:43.538395', time_epoch_executed='1689025243.54' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1814' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18923508 Creating custom pfile directory: /lscratch/kocevski/18923508/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=709516801.0 && nMetStart<709776001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=709516801.0 && nMetStart<709776001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18923508/ft1_4FGL_J2307.6+1451_daily_bin1814.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=709516801.0 && nMetStart<709776001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18923508/ft1_4FGL_J2307.6+1451_daily_bin1814.fits outfile=/lscratch/kocevski/18923508/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1814.fits ra=346.922 dec=14.8644 rad=12.0 tmin=709516801.0 tmax=709776001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 1.36 user 1.15 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.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/18923508/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1814.fits evtable="EVENTS" outfile="/lscratch/kocevski/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.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.36 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 1456 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits sctable="SC_DATA" oshell-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) = 14768.7294902 delta logL = 0.0153052519709 Extracting fit parameters... 4FGL J2307.6+1451 Spectrum: PowerLaw 343 Prefactor: 2.655e+00 3.884e+00 0.000e+00 1.000e+06 ( 1.000e-13) 344 Index: 1.956e+00 1.263e+00 0.000e+00 1.000e+01 (-1.000e+00) 345 Scale: 1.928e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.889e-01 1.050e-01 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 8.637e-01 1.779e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.81 Ra Dec: 346.922 14.864 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/18923095/cmap_HighResolution_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.82e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2023-07-10 14:41:55.606304', job_id='18923095', GAL2='0.99', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1689025315.61', return_code2='0', ts='0.81', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.53e-02', ts2='0.84', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1814' AND source_name='4FGL J2307.6+1451' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 10 14:41:55 PDT 2023 utfile=/lscratch/kocevski/18923508/ltcube_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.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/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits .....................! real 8.89 user 8.51 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits evtable="EVENTS" scfile=/lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18923508/ltcube_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits outfile=/lscratch/kocevski/18923508/expmap_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.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/18923508/ltcube_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits .....................! real 66.82 user 62.60 sys 3.75 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 160 point sources and 0 extended sources Setting source of interest to: 4FGL J2307.6+1451 @ 346.922 14.8644 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits scfile=/lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits outfile=/lscratch/kocevski/18923508/cmap_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.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=346.922 yref=14.8644 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.38 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits scfile=/lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits outfile=/lscratch/kocevski/18923508/cmap_HighResolution_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.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=346.922 yref=14.8644 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.38 user 0.21 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits evtable="EVENTS" scfile=/lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18923508/Model_4FGL_J2307.6+1451_daily_bin1814.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/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits.....................! real 57.01 user 55.77 sys 0.90 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits', '/lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits', expMap='/lscratch/kocevski/18923508/expmap_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits', expCube='/lscratch/kocevski/18923508/ltcube_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18923508/Model_4FGL_J2307.6+1451_daily_bin1814.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2307.6+1451' 4FGL J2307.6+1451 Spectrum: PowerLaw 343 Prefactor: 1.115e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 344 Index: 2.184e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 345 Scale: 1.928e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18923508/ft1_filtered_4FGL_J2307.6+1451_daily_bin1814.fits Spacecraft file(s): /lscratch/kocevski/18923508/ft2_4FGL_J2307.6+1451_daily_bin1814.fits Exposure map: /lscratch/kocevski/18923508/expmap_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits Exposure cube: /lscratch/kocevski/18923508/ltcube_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18923508/Model_4FGL_J2307.6+1451_daily_bin1814.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) = 14768.841807 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14768.7471081 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .56097E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .47907E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 3.9908 1.0000 .10000E-03 10000. 4 'Prefactor ' .11012E-03 1.0000 .10000E-03 10000. 5 'norm ' 3.3830 1.0000 .0000 .10000E+07 6 'Prefactor ' .43764E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.4068 1.0000 .0000 .10000E+07 8 'Prefactor ' 1.1868 1.0000 .10000E-03 10000. 9 'Prefactor ' .29039E-04 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.4210 1.0000 .0000 .10000E+07 11 'Prefactor ' 8.8782 1.0000 .0000 .10000E+07 12 'Prefactor ' .77404E-05 1.0000 .0000 .10000E+07 13 'Prefactor ' .69739E-02 1.0000 .0000 .10000E+07 14 'Prefactor ' 8.2656 1.0000 .0000 .10000E+07 15 'norm ' 20.697 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.9950 1.0000 .0000 .10000E+07 17 'Prefactor ' 8.7818 1.0000 .0000 .10000E+07 18 'norm ' .32224E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.6168 1.0000 .0000 .10000E+07 20 'Normalizat' .86085 1.0000 .10000E-01 10.000 21 'Prefactor ' .98985 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14768.74 FROM MIGRAD STATUS=CONVERGED 140 CALLS 1303 TOTAL EDM= .85E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61062E-09 7.3909 -.11412E-05** at limit ** 2 Prefactor .54623E-07 10.407 .38525E-05** at limit ** 3 Prefactor 3.9913 .29588 -.17087E-06 .15197E-02 4 Prefactor .10000E-03 2.9149 -.55586E-05** at limit ** 5 norm 3.3826 1.2966 -.89329E-07 .40155E-02 6 Prefactor .50959E-07 17.625 -.77769E-06** at limit ** 7 Prefactor 2.4457 8.1612 .12138E-05 .26348E-02 8 Prefactor 1.1871 .14971 .29473E-06 .47640E-03 9 Prefactor .29754E-07 10.700 -.21766E-05** at limit ** 10 Prefactor 2.4194 3.4162 -.17355E-06 -.55185E-03 11 Prefactor 8.9840 4.3029 -.10244E-05 -.48463E-03 12 Prefactor .55511E-10 1.8200 .35829E-06** at limit ** 13 Prefactor .69833E-07 47.657 -.11598E-04** at limit ** 14 Prefactor 8.2358 5.3002 -.13573E-05 -.56644E-01 15 norm 20.590 8.3314 .39350E-06 .32135E-03 16 Prefactor 3.9688 5.2281 -.73821E-06 -.14546E-03 17 Prefactor 10.020 7.5131 .12545E-06 .32045E-01 18 norm .0000 2.8954 .78389E-07** at limit ** 19 Prefactor 2.6238 2.8398 -.72386E-06 -.31712E-02 20 Normalizat .86003 .18644 .61085E-05 .26644E-03 21 Prefactor .98969 .10557 -.26086E-05 .32329E-03 ERR DEF= .500 Final values: Prefactor = 6.10623e-10 Prefactor = 5.4623e-08 Prefactor = 3.9913 Prefactor = 0.0001 norm = 3.38265 Prefactor = 5.09592e-08 Prefactor = 2.44569 Prefactor = 1.18709 Prefactor = 2.9754e-08 Prefactor = 2.41941 Prefactor = 8.984 Prefactor = 5.55112e-11 Prefactor = 6.9833e-08 Prefactor = 8.23582 norm = 20.59 Prefactor = 3.96878 Prefactor = 10.0196 norm = 0 Prefactor = 2.62378 Normalizat = 0.860025 Prefactor = 0.989693 ********** ** 18 **HESSE ********** FCN= 14768.74 FROM HESSE STATUS=OK 363 CALLS 1666 TOTAL EDM= .45E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .61062E-09 7.3827 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .54623E-07 11.641 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.9913 .29603 .38930E-02 -1.5308 4 Prefactor .10000E-03 2.8918 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.3826 1.3030 .54987E-03 -1.5671 6 Prefactor .50959E-07 19.405 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.4457 8.2162 .65967E-03 -1.5677 8 Prefactor 1.1871 .14979 .35739E-02 -1.5490 9 Prefactor .29754E-07 12.114 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.4194 3.4414 .65754E-03 -1.5677 11 Prefactor 8.9840 15.599 .33615E-03 -1.5648 12 Prefactor .55511E-10 1.8210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .69833E-07 47.165 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 8.2358 13.161 .34847E-03 -1.5651 15 norm 20.590 8.7601 .21988E-03 -1.5617 16 Prefactor 3.9688 5.2728 .50434E-03 -1.5668 17 Prefactor 10.020 21.726 .33800E-03 -1.5645 18 norm .0000 2.8989 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.6238 2.8392 .63026E-03 -1.5676 20 Normalizat .86003 .16378 .85259E-01 -.97879 21 Prefactor .98969 .90998E-01 .46140E-01 -.93074 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48754e-07 Minuit parameter uncertainties: 1 0.000131806 2 0.00159442 3 0.296029 4 1.86459e-05 5 1.303 6 0.00198884 7 8.21629 8 0.149792 9 0.0012011 10 3.44143 11 15.5993 12 1.95398e-05 13 0.00363005 14 13.1614 15 8.76006 16 5.27283 17 21.7265 18 6.49255e-06 19 2.83918 20 0.163871 21 0.0910121 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14768.7447955 Extracting fit parameters... 4FGL J2307.6+1451 Spectrum: PowerLaw 343 Prefactor: 2.419e+00 3.441e+00 0.000e+00 1.000e+06 ( 1.000e-13) 344 Index: 2.184e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 345 Scale: 1.928e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.897e-01 9.101e-02 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 8.600e-01 1.639e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.81 Ra Dec: 346.922 14.864 Photon Flux Upper Limit: 6.32807827217e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0048155553524 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18923508/likelihoodResults_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.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) = 14768.7315532 delta logL = 0.0132422897877 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14768.7294904 delta logL = 0.0153050762365 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.6529 1.0000 .0000 .10000E+07 2 'Index ' 1.9563 1.0000 .0000 10.000 3 'Normalizat' .86370 1.0000 .10000E-01 10.000 4 'Prefactor ' .98892 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14768.73 FROM MIGRAD STATUS=CONVERGED 61 CALLS 227 TOTAL EDM= .15E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.6551 19.833 .62561E-03 .44175E-02 2 Index 1.9562 .47568 .50000 .29684E-06 3 Normalizat .86368 .15362E-01 .85104E-01 .49250E-04 4 Prefactor .98892 .90111E-02 .46128E-01 .10566E-05 ERR DEF= .500 Final values: Prefactor = 2.65512 Index = 1.95625 Normalizat = 0.863685 Prefactor = 0.988924 ********** ** 18 **HESSE ********** FCN= 14768.73 FROM HESSE STATUS=OK 33 CALLS 260 TOTAL EDM= .68E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.6551 3.8839 .25024E-04 -1.5675 2 Index 1.9562 1.2414 .37686E-02 -.65448 3 Normalizat .86368 .17781 .37685E-03 -.97748 4 Prefactor .98892 .10500 .20831E-03 -.93100 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.78884e-14 Minuit parameter uncertainties: 1 3.88395 2 1.26261 3 0.177926 4 0.105024 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) = 14768.7294902 delta logL = 0.0153052519709 Extracting fit parameters... 4FGL J2307.6+1451 Spectrum: PowerLaw 343 Prefactor: 2.655e+00 3.884e+00 0.000e+00 1.000e+06 ( 1.000e-13) 344 Index: 1.956e+00 1.263e+00 0.000e+00 1.000e+01 (-1.000e+00) 345 Scale: 1.928e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.889e-01 1.050e-01 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 8.637e-01 1.779e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.81 Ra Dec: 346.922 14.864 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/18923508/cmap_HighResolution_709516801_709776001_4FGL_J2307.6+1451_daily_bin1814.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.82e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2023-07-10 14:47:29.050179', job_id='18923508', GAL2='0.99', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1689025649.05', return_code2='0', ts='0.81', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.53e-02', ts2='0.84', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1814' AND source_name='4FGL J2307.6+1451' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 10 14:47:29 PDT 2023