/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) _V02 Working on... /lscratch/kocevski/18892368/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits.....................! real 97.91 user 96.30 sys 0.90 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18892368/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits', '/lscratch/kocevski/18892368/ft2_4FGL_J2304.3+0618_weekly_bin777.fits', expMap='/lscratch/kocevski/18892368/expmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits', expCube='/lscratch/kocevski/18892368/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18892368/Model_4FGL_J2304.3+0618_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.3+0618' 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 4.761e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 2.530e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18892368/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18892368/ft2_4FGL_J2304.3+0618_weekly_bin777.fits Exposure map: /lscratch/kocevski/18892368/expmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18892368/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18892368/Model_4FGL_J2304.3+0618_weekly_bin777.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) = 27261.9932276 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27261.973342 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14176E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.9343 1.0000 .10000E-03 10000. 3 'Prefactor ' 5.7311 1.0000 .10000E-03 10000. 4 'Prefactor ' 11.203 1.0000 .0000 .10000E+07 5 'Prefactor ' .74334 1.0000 .10000E-03 10000. 6 'norm ' 2.2517 1.0000 .0000 .10000E+07 7 'Prefactor ' 3.7400 1.0000 .0000 .10000E+07 8 'Prefactor ' .89871E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.7973 1.0000 .0000 .10000E+07 10 'norm ' .42910 1.0000 .0000 .10000E+07 11 'Prefactor ' .70980 1.0000 .0000 .10000E+07 12 'Prefactor ' .49668E-03 1.0000 .0000 .10000E+07 13 'norm ' 17.379 1.0000 .0000 .10000E+07 14 'Prefactor ' 5.0613 1.0000 .0000 .10000E+07 15 'Prefactor ' .26357E-06 1.0000 .0000 .10000E+07 16 'norm ' 2.7641 1.0000 .0000 .10000E+07 17 'norm ' 8.6528 1.0000 .0000 .10000E+07 18 'Prefactor ' 44.837 1.0000 .0000 .10000E+07 19 'Prefactor ' 13.693 1.0000 .0000 .10000E+07 20 'Normalizat' 1.0331 1.0000 .10000E-01 10.000 21 'Prefactor ' .95228 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 27261.97 FROM MIGRAD STATUS=CONVERGED 117 CALLS 1301 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61062E-09 6.3510 -.69400E-06** at limit ** 2 Prefactor 2.9344 .18773 .12896E-06 .13468E-02 3 Prefactor 5.7267 3.2968 -.14804E-05 -.23375E-03 4 Prefactor 11.175 1.4643 -.10129E-06 .12003E-01 5 Prefactor .74342 .90513E-01 -.25217E-07 -.12501E-02 6 norm 2.2407 4.4978 -.30009E-06 -.36502E-01 7 Prefactor 3.7274 1.7497 -.26207E-06 .14251E-01 8 Prefactor .87153E-08 10.424 .18511E-05** at limit ** 9 Prefactor 1.8129 5.5510 .94460E-06 -.44542E-02 10 norm .42898 .38144 .56941E-07 .12897E-02 11 Prefactor .71077 2.5968 .41790E-06 -.39234E-01 12 Prefactor .27756E-09 17.730 -.33098E-06** at limit ** 13 norm 17.374 3.7505 -.89657E-07 -.14721 14 Prefactor 5.0587 3.1750 -.93416E-07 .27861E-01 15 Prefactor .47740E-08 4.9810 .12303E-05** at limit ** 16 norm 2.7681 4.9106 -.17705E-06 -.48814E-02 17 norm 8.6955 8.4740 .41447E-06 .40916E-03 18 Prefactor 45.084 1.4098 .46612E-08 -.21890E-01 19 Prefactor 13.729 2.1343 -.44758E-07 -.60200E-01 20 Normalizat 1.0328 .13345 -.85466E-05 -.24515E-03 21 Prefactor .95235 .78911E-01 .23683E-05 -.33507E-03 ERR DEF= .500 Final values: Prefactor = 6.10623e-10 Prefactor = 2.93441 Prefactor = 5.72675 Prefactor = 11.175 Prefactor = 0.743416 norm = 2.24071 Prefactor = 3.7274 Prefactor = 8.71525e-09 Prefactor = 1.81292 norm = 0.428975 Prefactor = 0.710771 Prefactor = 2.77556e-10 norm = 17.3736 Prefactor = 5.05868 Prefactor = 4.77396e-09 norm = 2.76812 norm = 8.69555 Prefactor = 45.0843 Prefactor = 13.729 Normalizat = 1.03284 Prefactor = 0.952355 WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). ********** ** 18 **HESSE ********** FCN= 27261.97 FROM HESSE STATUS=OK 373 CALLS 1674 TOTAL EDM= .92E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .61062E-09 6.4608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.9344 .18782 .38957E-02 -1.5365 3 Prefactor 5.7267 3.2945 .41945E-02 -1.5229 4 Prefactor 11.175 11.726 .29907E-03 -1.5641 5 Prefactor .74342 .91777E-01 .37576E-02 -1.5536 6 norm 2.2407 5.1337 .68445E-03 -1.5678 7 Prefactor 3.7274 12.151 .52186E-03 -1.5669 8 Prefactor .87153E-08 10.167 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 1.8129 5.5996 .77960E-03 -1.5681 10 norm .42898 .43297 .21770E-02 -1.5695 11 Prefactor .71077 2.8465 .59917E-03 -1.5691 12 Prefactor .27756E-09 17.722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 17.374 5.2579 .23998E-03 -1.5625 14 Prefactor 5.0587 3.4620 .44670E-03 -1.5663 15 Prefactor .47740E-08 5.1278 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.7681 4.9378 .61193E-03 -1.5675 17 norm 8.6955 8.5553 .34053E-03 -1.5649 18 Prefactor 45.084 19.554 .14936E-03 -1.5574 19 Prefactor 13.729 10.004 .27043E-03 -1.5634 20 Normalizat 1.0328 .11668 .77600E-01 -.91938 21 Prefactor .95235 .67296E-01 .45668E-01 -.94335 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.18955e-07 Minuit parameter uncertainties: 1 0.000125198 2 0.18782 3 3.29458 4 11.7258 5 0.0917767 6 5.13372 7 12.1513 8 0.000595867 9 5.59959 10 0.43297 11 2.84481 12 0.000142491 13 5.25788 14 3.46201 15 0.000312053 16 4.93784 17 8.55529 18 19.5542 19 10.0043 20 0.11671 21 0.0673014 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27261.9732081 Extracting fit parameters... 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 3.727e+00 1.215e+01 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 2.530e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.524e-01 6.730e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.033e+00 1.167e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 346.078 6.307 Photon Flux Upper Limit: 4.48488981641e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00349493969787 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18892022/likelihoodResults_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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) = 27261.8921207 delta logL = 0.081087391598 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 27261.8885776 delta logL = 0.0846304539664 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6619 1.0000 .0000 .10000E+07 2 'Index ' 1.8828 1.0000 .0000 10.000 3 'Normalizat' 1.0360 1.0000 .10000E-01 10.000 4 'Prefactor ' .95085 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 27261.89 FROM MIGRAD STATUS=CONVERGED 59 CALLS 252 TOTAL EDM= .11E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6515 591.60 .42192E-03 .10130E-02 2 Index 1.8777 5.8677 .50000 -.48961E-04 3 Normalizat 1.0360 .32561E-01 .77492E-01 .82723E-04 4 Prefactor .95084 .18119E-01 .45650E-01 .24983E-04 ERR DEF= .500 Final values: Prefactor = 5.65146 Index = 1.87769 Normalizat = 1.03596 Prefactor = 0.950838 ********** ** 18 **HESSE ********** FCN= 27261.89 FROM HESSE STATUS=OK 33 CALLS 285 TOTAL EDM= .22E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6515 12.720 .16877E-04 -1.5660 2 Index 1.8777 1.3010 .19665E-01 -.67444 3 Normalizat 1.0360 .12979 .34298E-03 -.91835 4 Prefactor .95084 .78480E-01 .21413E-03 -.94387 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.219e-11 Minuit parameter uncertainties: 1 12.7199 2 1.32634 3 0.129826 4 0.0784896 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) = 27261.8885703 delta logL = 0.0846377352136 Extracting fit parameters... 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 5.651e+00 1.272e+01 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 1.878e+00 1.326e+00 0.000e+00 1.000e+01 (-1.000e+00) 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.508e-01 7.849e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.036e+00 1.298e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 Ra Dec: 346.078 6.307 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/18892022/cmap_HighResolution_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.48e-08', time_completed='2023-07-10 10:47:19.818587', job_id='18892022', GAL2='0.95', fit_tolerance='1e-08', EG2='1.04', EG='1.03', time_epoch_completed='1689011239.82', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.46e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='777' AND source_name='4FGL J2304.3+0618' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 10:47:20 PDT 2023 number of points = 17691 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.3+0618_weekly_bin777 RA = 346.078, Dec = 6.3071 tmin = 708912001, tmax = 709516801 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='18895439', job_status='RUN', time_executed='2023-07-10 10:45:31.318640', time_epoch_executed='1689011131.32' WHERE source_name='4FGL J2304.3+0618' and cadence='weekly' and bin_id='777' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18895439 Creating custom pfile directory: /lscratch/kocevski/18895439/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18895439/ft1_4FGL_J2304.3+0618_weekly_bin777.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18895439/ft1_4FGL_J2304.3+0618_weekly_bin777.fits outfile=/lscratch/kocevski/18895439/ft1_filteredMKT_4FGL_J2304.3+0618_weekly_bin777.fits ra=346.078 dec=6.3071 rad=12.0 tmin=708912001.0 tmax=709516801.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.44 user 3.06 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.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/18895439/ft1_filteredMKT_4FGL_J2304.3+0618_weekly_bin777.fits evtable="EVENTS" outfile="/lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.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.48 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 2595 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18894337/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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/18894337/ft2_4FGL_J2304.3+0618_weekly_bin777.fits .....................! real 19.69 user 19.17 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18894337/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18894337/ft2_4FGL_J2304.3+0618_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18894337/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits outfile=/lscratch/kocevski/18894337/expmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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/18894337/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits .....................! real 62.68 user 58.52 sys 3.73 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 165 point sources and 0 extended sources Setting source of interest to: 4FGL J2304.3+0618 @ 346.078 6.3071 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18894337/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits scfile=/lscratch/kocevski/18894337/ft2_4FGL_J2304.3+0618_weekly_bin777.fits outfile=/lscratch/kocevski/18894337/cmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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.078 yref=6.3071 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.47 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18894337/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits scfile=/lscratch/kocevski/18894337/ft2_4FGL_J2304.3+0618_weekly_bin777.fits outfile=/lscratch/kocevski/18894337/cmap_HighResolution_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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.078 yref=6.3071 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.47 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18894337/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18894337/ft2_4FGL_J2304.3+0618_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18894337/Model_4FGL_J2304.3+0618_weekly_bin777.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) = 27261.9732081 Extracting fit parameters... 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 3.727e+00 1.215e+01 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 2.530e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.524e-01 6.730e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.033e+00 1.167e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 346.078 6.307 Photon Flux Upper Limit: 4.48488981641e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00349493969787 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18892368/likelihoodResults_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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) = 27261.8921207 delta logL = 0.081087391598 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 27261.8885776 delta logL = 0.0846304539664 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6619 1.0000 .0000 .10000E+07 2 'Index ' 1.8828 1.0000 .0000 10.000 3 'Normalizat' 1.0360 1.0000 .10000E-01 10.000 4 'Prefactor ' .95085 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 27261.89 FROM MIGRAD STATUS=CONVERGED 59 CALLS 252 TOTAL EDM= .11E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6515 591.60 .42192E-03 .10130E-02 2 Index 1.8777 5.8677 .50000 -.48961E-04 3 Normalizat 1.0360 .32561E-01 .77492E-01 .82723E-04 4 Prefactor .95084 .18119E-01 .45650E-01 .24983E-04 ERR DEF= .500 Final values: Prefactor = 5.65146 Index = 1.87769 Normalizat = 1.03596 Prefactor = 0.950838 ********** ** 18 **HESSE ********** FCN= 27261.89 FROM HESSE STATUS=OK 33 CALLS 285 TOTAL EDM= .22E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6515 12.720 .16877E-04 -1.5660 2 Index 1.8777 1.3010 .19665E-01 -.67444 3 Normalizat 1.0360 .12979 .34298E-03 -.91835 4 Prefactor .95084 .78480E-01 .21413E-03 -.94387 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.219e-11 Minuit parameter uncertainties: 1 12.7199 2 1.32634 3 0.129826 4 0.0784896 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) = 27261.8885703 delta logL = 0.0846377352136 Extracting fit parameters... 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 5.651e+00 1.272e+01 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 1.878e+00 1.326e+00 0.000e+00 1.000e+01 (-1.000e+00) 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.508e-01 7.849e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.036e+00 1.298e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 Ra Dec: 346.078 6.307 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/18892368/cmap_HighResolution_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.48e-08', time_completed='2023-07-10 10:48:54.764475', job_id='18892368', GAL2='0.95', fit_tolerance='1e-08', EG2='1.04', EG='1.03', time_epoch_completed='1689011334.76', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.46e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='777' AND source_name='4FGL J2304.3+0618' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 10:48:54 PDT 2023 utfile=/lscratch/kocevski/18895439/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits .....................! real 18.79 user 18.35 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18895439/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits outfile=/lscratch/kocevski/18895439/expmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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/18895439/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits .....................! real 68.82 user 64.28 sys 4.05 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 165 point sources and 0 extended sources Setting source of interest to: 4FGL J2304.3+0618 @ 346.078 6.3071 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits scfile=/lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits outfile=/lscratch/kocevski/18895439/cmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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.078 yref=6.3071 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.52 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits scfile=/lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits outfile=/lscratch/kocevski/18895439/cmap_HighResolution_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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.078 yref=6.3071 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.49 user 0.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18895439/Model_4FGL_J2304.3+0618_weekly_bin777.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/18894337/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits.....................! real 90.49 user 89.00 sys 0.99 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18894337/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits', '/lscratch/kocevski/18894337/ft2_4FGL_J2304.3+0618_weekly_bin777.fits', expMap='/lscratch/kocevski/18894337/expmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits', expCube='/lscratch/kocevski/18894337/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18894337/Model_4FGL_J2304.3+0618_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.3+0618' 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 4.761e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 2.530e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18894337/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18894337/ft2_4FGL_J2304.3+0618_weekly_bin777.fits Exposure map: /lscratch/kocevski/18894337/expmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18894337/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18894337/Model_4FGL_J2304.3+0618_weekly_bin777.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) = 27261.9932276 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27261.973342 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14176E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.9343 1.0000 .10000E-03 10000. 3 'Prefactor ' 5.7311 1.0000 .10000E-03 10000. 4 'Prefactor ' 11.203 1.0000 .0000 .10000E+07 5 'Prefactor ' .74334 1.0000 .10000E-03 10000. 6 'norm ' 2.2517 1.0000 .0000 .10000E+07 7 'Prefactor ' 3.7400 1.0000 .0000 .10000E+07 8 'Prefactor ' .89871E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.7973 1.0000 .0000 .10000E+07 10 'norm ' .42910 1.0000 .0000 .10000E+07 11 'Prefactor ' .70980 1.0000 .0000 .10000E+07 12 'Prefactor ' .49668E-03 1.0000 .0000 .10000E+07 13 'norm ' 17.379 1.0000 .0000 .10000E+07 14 'Prefactor ' 5.0613 1.0000 .0000 .10000E+07 15 'Prefactor ' .26357E-06 1.0000 .0000 .10000E+07 16 'norm ' 2.7641 1.0000 .0000 .10000E+07 17 'norm ' 8.6528 1.0000 .0000 .10000E+07 18 'Prefactor ' 44.837 1.0000 .0000 .10000E+07 19 'Prefactor ' 13.693 1.0000 .0000 .10000E+07 20 'Normalizat' 1.0331 1.0000 .10000E-01 10.000 21 'Prefactor ' .95228 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 27261.97 FROM MIGRAD STATUS=CONVERGED 117 CALLS 1301 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61062E-09 6.3510 -.69400E-06** at limit ** 2 Prefactor 2.9344 .18773 .12896E-06 .13468E-02 3 Prefactor 5.7267 3.2968 -.14804E-05 -.23375E-03 4 Prefactor 11.175 1.4643 -.10129E-06 .12003E-01 5 Prefactor .74342 .90513E-01 -.25217E-07 -.12501E-02 6 norm 2.2407 4.4978 -.30009E-06 -.36502E-01 7 Prefactor 3.7274 1.7497 -.26207E-06 .14251E-01 8 Prefactor .87153E-08 10.424 .18511E-05** at limit ** 9 Prefactor 1.8129 5.5510 .94460E-06 -.44542E-02 10 norm .42898 .38144 .56941E-07 .12897E-02 11 Prefactor .71077 2.5968 .41790E-06 -.39234E-01 12 Prefactor .27756E-09 17.730 -.33098E-06** at limit ** 13 norm 17.374 3.7505 -.89657E-07 -.14721 14 Prefactor 5.0587 3.1750 -.93416E-07 .27861E-01 15 Prefactor .47740E-08 4.9810 .12303E-05** at limit ** 16 norm 2.7681 4.9106 -.17705E-06 -.48814E-02 17 norm 8.6955 8.4740 .41447E-06 .40916E-03 18 Prefactor 45.084 1.4098 .46612E-08 -.21890E-01 19 Prefactor 13.729 2.1343 -.44758E-07 -.60200E-01 20 Normalizat 1.0328 .13345 -.85466E-05 -.24515E-03 21 Prefactor .95235 .78911E-01 .23683E-05 -.33507E-03 ERR DEF= .500 Final values: Prefactor = 6.10623e-10 Prefactor = 2.93441 Prefactor = 5.72675 Prefactor = 11.175 Prefactor = 0.743416 norm = 2.24071 Prefactor = 3.7274 Prefactor = 8.71525e-09 Prefactor = 1.81292 norm = 0.428975 Prefactor = 0.710771 Prefactor = 2.77556e-10 norm = 17.3736 Prefactor = 5.05868 Prefactor = 4.77396e-09 norm = 2.76812 norm = 8.69555 Prefactor = 45.0843 Prefactor = 13.729 Normalizat = 1.03284 Prefactor = 0.952355 ********** ** 18 **HESSE ********** FCN= 27261.97 FROM HESSE STATUS=OK 373 CALLS 1674 TOTAL EDM= .92E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .61062E-09 6.4608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.9344 .18782 .38957E-02 -1.5365 3 Prefactor 5.7267 3.2945 .41945E-02 -1.5229 4 Prefactor 11.175 11.726 .29907E-03 -1.5641 5 Prefactor .74342 .91777E-01 .37576E-02 -1.5536 6 norm 2.2407 5.1337 .68445E-03 -1.5678 7 Prefactor 3.7274 12.151 .52186E-03 -1.5669 8 Prefactor .87153E-08 10.167 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 1.8129 5.5996 .77960E-03 -1.5681 10 norm .42898 .43297 .21770E-02 -1.5695 11 Prefactor .71077 2.8465 .59917E-03 -1.5691 12 Prefactor .27756E-09 17.722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 17.374 5.2579 .23998E-03 -1.5625 14 Prefactor 5.0587 3.4620 .44670E-03 -1.5663 15 Prefactor .47740E-08 5.1278 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.7681 4.9378 .61193E-03 -1.5675 17 norm 8.6955 8.5553 .34053E-03 -1.5649 18 Prefactor 45.084 19.554 .14936E-03 -1.5574 19 Prefactor 13.729 10.004 .27043E-03 -1.5634 20 Normalizat 1.0328 .11668 .77600E-01 -.91938 21 Prefactor .95235 .67296E-01 .45668E-01 -.94335 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.18955e-07 Minuit parameter uncertainties: 1 0.000125198 2 0.18782 3 3.29458 4 11.7258 5 0.0917767 6 5.13372 7 12.1513 8 0.000595867 9 5.59959 10 0.43297 11 2.84481 12 0.000142491 13 5.25788 14 3.46201 15 0.000312053 16 4.93784 17 8.55529 18 19.5542 19 10.0043 20 0.11671 21 0.0673014 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27261.9732081 Extracting fit parameters... 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 3.727e+00 1.215e+01 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 2.530e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.524e-01 6.730e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.033e+00 1.167e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 346.078 6.307 Photon Flux Upper Limit: 4.48488981641e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00349493969787 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18894337/likelihoodResults_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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) = 27261.8921207 delta logL = 0.081087391598 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 27261.8885776 delta logL = 0.0846304539664 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6619 1.0000 .0000 .10000E+07 2 'Index ' 1.8828 1.0000 .0000 10.000 3 'Normalizat' 1.0360 1.0000 .10000E-01 10.000 4 'Prefactor ' .95085 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 27261.89 FROM MIGRAD STATUS=CONVERGED 59 CALLS 252 TOTAL EDM= .11E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6515 591.60 .42192E-03 .10130E-02 2 Index 1.8777 5.8677 .50000 -.48961E-04 3 Normalizat 1.0360 .32561E-01 .77492E-01 .82723E-04 4 Prefactor .95084 .18119E-01 .45650E-01 .24983E-04 ERR DEF= .500 Final values: Prefactor = 5.65146 Index = 1.87769 Normalizat = 1.03596 Prefactor = 0.950838 ********** ** 18 **HESSE ********** FCN= 27261.89 FROM HESSE STATUS=OK 33 CALLS 285 TOTAL EDM= .22E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6515 12.720 .16877E-04 -1.5660 2 Index 1.8777 1.3010 .19665E-01 -.67444 3 Normalizat 1.0360 .12979 .34298E-03 -.91835 4 Prefactor .95084 .78480E-01 .21413E-03 -.94387 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.219e-11 Minuit parameter uncertainties: 1 12.7199 2 1.32634 3 0.129826 4 0.0784896 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) = 27261.8885703 delta logL = 0.0846377352136 Extracting fit parameters... 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 5.651e+00 1.272e+01 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 1.878e+00 1.326e+00 0.000e+00 1.000e+01 (-1.000e+00) 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.508e-01 7.849e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.036e+00 1.298e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 Ra Dec: 346.078 6.307 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/18894337/cmap_HighResolution_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.48e-08', time_completed='2023-07-10 10:53:47.998062', job_id='18894337', GAL2='0.95', fit_tolerance='1e-08', EG2='1.04', EG='1.03', time_epoch_completed='1689011628.0', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.46e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='777' AND source_name='4FGL J2304.3+0618' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 10:53:48 PDT 2023 _V02 Working on... /lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits.....................! real 97.09 user 94.98 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits', '/lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits', expMap='/lscratch/kocevski/18895439/expmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits', expCube='/lscratch/kocevski/18895439/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18895439/Model_4FGL_J2304.3+0618_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.3+0618' 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 4.761e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 2.530e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18895439/ft1_filtered_4FGL_J2304.3+0618_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18895439/ft2_4FGL_J2304.3+0618_weekly_bin777.fits Exposure map: /lscratch/kocevski/18895439/expmap_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18895439/ltcube_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18895439/Model_4FGL_J2304.3+0618_weekly_bin777.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) = 27261.9932276 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27261.973342 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14176E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.9343 1.0000 .10000E-03 10000. 3 'Prefactor ' 5.7311 1.0000 .10000E-03 10000. 4 'Prefactor ' 11.203 1.0000 .0000 .10000E+07 5 'Prefactor ' .74334 1.0000 .10000E-03 10000. 6 'norm ' 2.2517 1.0000 .0000 .10000E+07 7 'Prefactor ' 3.7400 1.0000 .0000 .10000E+07 8 'Prefactor ' .89871E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.7973 1.0000 .0000 .10000E+07 10 'norm ' .42910 1.0000 .0000 .10000E+07 11 'Prefactor ' .70980 1.0000 .0000 .10000E+07 12 'Prefactor ' .49668E-03 1.0000 .0000 .10000E+07 13 'norm ' 17.379 1.0000 .0000 .10000E+07 14 'Prefactor ' 5.0613 1.0000 .0000 .10000E+07 15 'Prefactor ' .26357E-06 1.0000 .0000 .10000E+07 16 'norm ' 2.7641 1.0000 .0000 .10000E+07 17 'norm ' 8.6528 1.0000 .0000 .10000E+07 18 'Prefactor ' 44.837 1.0000 .0000 .10000E+07 19 'Prefactor ' 13.693 1.0000 .0000 .10000E+07 20 'Normalizat' 1.0331 1.0000 .10000E-01 10.000 21 'Prefactor ' .95228 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 27261.97 FROM MIGRAD STATUS=CONVERGED 117 CALLS 1301 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61062E-09 6.3510 -.69400E-06** at limit ** 2 Prefactor 2.9344 .18773 .12896E-06 .13468E-02 3 Prefactor 5.7267 3.2968 -.14804E-05 -.23375E-03 4 Prefactor 11.175 1.4643 -.10129E-06 .12003E-01 5 Prefactor .74342 .90513E-01 -.25217E-07 -.12501E-02 6 norm 2.2407 4.4978 -.30009E-06 -.36502E-01 7 Prefactor 3.7274 1.7497 -.26207E-06 .14251E-01 8 Prefactor .87153E-08 10.424 .18511E-05** at limit ** 9 Prefactor 1.8129 5.5510 .94460E-06 -.44542E-02 10 norm .42898 .38144 .56941E-07 .12897E-02 11 Prefactor .71077 2.5968 .41790E-06 -.39234E-01 12 Prefactor .27756E-09 17.730 -.33098E-06** at limit ** 13 norm 17.374 3.7505 -.89657E-07 -.14721 14 Prefactor 5.0587 3.1750 -.93416E-07 .27861E-01 15 Prefactor .47740E-08 4.9810 .12303E-05** at limit ** 16 norm 2.7681 4.9106 -.17705E-06 -.48814E-02 17 norm 8.6955 8.4740 .41447E-06 .40916E-03 18 Prefactor 45.084 1.4098 .46612E-08 -.21890E-01 19 Prefactor 13.729 2.1343 -.44758E-07 -.60200E-01 20 Normalizat 1.0328 .13345 -.85466E-05 -.24515E-03 21 Prefactor .95235 .78911E-01 .23683E-05 -.33507E-03 ERR DEF= .500 Final values: Prefactor = 6.10623e-10 Prefactor = 2.93441 Prefactor = 5.72675 Prefactor = 11.175 Prefactor = 0.743416 norm = 2.24071 Prefactor = 3.7274 Prefactor = 8.71525e-09 Prefactor = 1.81292 norm = 0.428975 Prefactor = 0.710771 Prefactor = 2.77556e-10 norm = 17.3736 Prefactor = 5.05868 Prefactor = 4.77396e-09 norm = 2.76812 norm = 8.69555 Prefactor = 45.0843 Prefactor = 13.729 Normalizat = 1.03284 Prefactor = 0.952355 ********** ** 18 **HESSE ********** FCN= 27261.97 FROM HESSE STATUS=OK 373 CALLS 1674 TOTAL EDM= .92E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .61062E-09 6.4608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.9344 .18782 .38957E-02 -1.5365 3 Prefactor 5.7267 3.2945 .41945E-02 -1.5229 4 Prefactor 11.175 11.726 .29907E-03 -1.5641 5 Prefactor .74342 .91777E-01 .37576E-02 -1.5536 6 norm 2.2407 5.1337 .68445E-03 -1.5678 7 Prefactor 3.7274 12.151 .52186E-03 -1.5669 8 Prefactor .87153E-08 10.167 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 1.8129 5.5996 .77960E-03 -1.5681 10 norm .42898 .43297 .21770E-02 -1.5695 11 Prefactor .71077 2.8465 .59917E-03 -1.5691 12 Prefactor .27756E-09 17.722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 17.374 5.2579 .23998E-03 -1.5625 14 Prefactor 5.0587 3.4620 .44670E-03 -1.5663 15 Prefactor .47740E-08 5.1278 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.7681 4.9378 .61193E-03 -1.5675 17 norm 8.6955 8.5553 .34053E-03 -1.5649 18 Prefactor 45.084 19.554 .14936E-03 -1.5574 19 Prefactor 13.729 10.004 .27043E-03 -1.5634 20 Normalizat 1.0328 .11668 .77600E-01 -.91938 21 Prefactor .95235 .67296E-01 .45668E-01 -.94335 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.18955e-07 Minuit parameter uncertainties: 1 0.000125198 2 0.18782 3 3.29458 4 11.7258 5 0.0917767 6 5.13372 7 12.1513 8 0.000595867 9 5.59959 10 0.43297 11 2.84481 12 0.000142491 13 5.25788 14 3.46201 15 0.000312053 16 4.93784 17 8.55529 18 19.5542 19 10.0043 20 0.11671 21 0.0673014 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27261.9732081 Extracting fit parameters... 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 3.727e+00 1.215e+01 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 2.530e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.524e-01 6.730e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.033e+00 1.167e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 346.078 6.307 Photon Flux Upper Limit: 4.48488981641e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00349493969787 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18895439/likelihoodResults_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.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) = 27261.8921207 delta logL = 0.081087391598 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 27261.8885776 delta logL = 0.0846304539664 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6619 1.0000 .0000 .10000E+07 2 'Index ' 1.8828 1.0000 .0000 10.000 3 'Normalizat' 1.0360 1.0000 .10000E-01 10.000 4 'Prefactor ' .95085 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 27261.89 FROM MIGRAD STATUS=CONVERGED 59 CALLS 252 TOTAL EDM= .11E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6515 591.60 .42192E-03 .10130E-02 2 Index 1.8777 5.8677 .50000 -.48961E-04 3 Normalizat 1.0360 .32561E-01 .77492E-01 .82723E-04 4 Prefactor .95084 .18119E-01 .45650E-01 .24983E-04 ERR DEF= .500 Final values: Prefactor = 5.65146 Index = 1.87769 Normalizat = 1.03596 Prefactor = 0.950838 ********** ** 18 **HESSE ********** FCN= 27261.89 FROM HESSE STATUS=OK 33 CALLS 285 TOTAL EDM= .22E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6515 12.720 .16877E-04 -1.5660 2 Index 1.8777 1.3010 .19665E-01 -.67444 3 Normalizat 1.0360 .12979 .34298E-03 -.91835 4 Prefactor .95084 .78480E-01 .21413E-03 -.94387 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.219e-11 Minuit parameter uncertainties: 1 12.7199 2 1.32634 3 0.129826 4 0.0784896 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) = 27261.8885703 delta logL = 0.0846377352136 Extracting fit parameters... 4FGL J2304.3+0618 Spectrum: PowerLaw 362 Prefactor: 5.651e+00 1.272e+01 0.000e+00 1.000e+06 ( 1.000e-13) 363 Index: 1.878e+00 1.326e+00 0.000e+00 1.000e+01 (-1.000e+00) 364 Scale: 8.008e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.508e-01 7.849e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.036e+00 1.298e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 Ra Dec: 346.078 6.307 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/18895439/cmap_HighResolution_708912001_709516801_4FGL_J2304.3+0618_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.48e-08', time_completed='2023-07-10 10:57:44.801216', job_id='18895439', GAL2='0.95', fit_tolerance='1e-08', EG2='1.04', EG='1.03', time_epoch_completed='1689011864.8', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.46e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='777' AND source_name='4FGL J2304.3+0618' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 10:57:44 PDT 2023