/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2334.2+0736_weekly_bin780 RA = 353.557, Dec = 7.602 tmin = 710726401, tmax = 711331201 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='19667904', job_status='RUN', time_executed='2023-07-18 02:12:10.105850', time_epoch_executed='1689671530.11' WHERE source_name='4FGL J2334.2+0736' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19667904 Creating custom pfile directory: /lscratch/kocevski/19667904/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19667904/ft1_4FGL_J2334.2+0736_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19667904/ft1_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19667904/ft1_filteredMKT_4FGL_J2334.2+0736_weekly_bin780.fits ra=353.557 dec=7.602 rad=12.0 tmin=710726401.0 tmax=711331201.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 4.76 user 3.54 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.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/19667904/ft1_filteredMKT_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.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.98 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 1492 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" outorking on... /lscratch/kocevski/19667487/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits.....................! real 54.35 user 52.08 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19667487/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits', '/lscratch/kocevski/19667487/ft2_4FGL_J2334.2+0736_weekly_bin780.fits', expMap='/lscratch/kocevski/19667487/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits', expCube='/lscratch/kocevski/19667487/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19667487/Model_4FGL_J2334.2+0736_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2334.2+0736' 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 5.621e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 2.471e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19667487/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19667487/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Exposure map: /lscratch/kocevski/19667487/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19667487/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19667487/Model_4FGL_J2334.2+0736_weekly_bin780.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) = 16589.8916838 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16588.8237035 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .32844E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' .10589E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .12393 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.7731 1.0000 .0000 .10000E+07 5 'norm ' .57621E-07 1.0000 .0000 .10000E+07 6 'Prefactor ' 7.5099 1.0000 .0000 .10000E+07 7 'Prefactor ' .83419E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' .10177E-04 1.0000 .0000 .10000E+07 9 'norm ' 1.1006 1.0000 .0000 .10000E+07 10 'Prefactor ' .63583E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .17371E-02 1.0000 .0000 .10000E+07 12 'norm ' .52025E-06 1.0000 .0000 .10000E+07 13 'norm ' 18.150 1.0000 .0000 .10000E+07 14 'Prefactor ' .29921E-07 1.0000 .0000 .10000E+07 15 'Prefactor ' .31503E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 7.4199 1.0000 .0000 .10000E+07 17 'Prefactor ' 4.9554 1.0000 .0000 .10000E+07 18 'Normalizat' .71030 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.1144 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16588.82 FROM MIGRAD STATUS=CONVERGED 205 CALLS 1268 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 9.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14583E-06 4.2127 -.28251E-07** at limit ** 2 Prefactor .29421E-08 9.3938 -.64987E-07** at limit ** 3 Prefactor .16904 6.3540 -.15554E-07** at limit ** 4 Prefactor 2.7199 5.5400 -.50179E-07 -.47899E-03 5 norm .0000 .67933 .20026E-08** at limit ** 6 Prefactor 7.4677 6.6057 -.30599E-07 .11668E-02 7 Prefactor .40046E-06 2022.0 .11861E-04** at limit ** 8 Prefactor .83267E-09 8.0139 -.81787E-08** at limit ** 9 norm 1.1117 3.8776 -.44476E-07 -.27441E-03 10 Prefactor .25779E-06 3.4688 .51680E-07** at limit ** 11 Prefactor .61062E-09 16.582 -.70031E-07** at limit ** 12 norm .88818E-09 3.3308 .77972E-08** at limit ** 13 norm 18.379 11.689 -.93076E-08 .32345E-01 14 Prefactor .72164E-09 2.1835 .58393E-08** at limit ** 15 Prefactor .11102E-09 57.077 -.14995E-06** at limit ** 16 Prefactor 7.3943 10.600 .37728E-07 .13278E-01 17 Prefactor 4.9540 3.6588 .43631E-08 .94883E-03 18 Normalizat .71017 .13299 .59251E-06 .29273E-03 19 Prefactor 1.1143 .89990E-01 .29408E-06 .58736E-03 ERR DEF= .500 Final values: Prefactor = 1.45828e-07 Prefactor = 2.94209e-09 Prefactor = 0.169037 Prefactor = 2.71994 norm = 0 Prefactor = 7.46775 Prefactor = 4.00457e-07 Prefactor = 8.32667e-10 norm = 1.1117 Prefactor = 2.57794e-07 Prefactor = 6.10623e-10 norm = 8.88178e-10 norm = 18.3791 Prefactor = 7.21645e-10 Prefactor = 1.11022e-10 Prefactor = 7.39425 Prefactor = 4.95398 Normalizat = 0.710169 Prefactor = 1.1143 ********** ** 18 **HESSE ********** FCN= 16588.82 FROM HESSE STATUS=OK 324 CALLS 1592 TOTAL EDM= .19E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .14583E-06 6.2221 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .29421E-08 9.4431 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .16904 .97961 .68106E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 2.7199 5.5767 .61087E-03 -1.5675 5 norm .0000 .22777 .19592E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 7.4677 6.7975 .36572E-03 -1.5653 7 Prefactor .40046E-06 6.3351 .78639E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .83267E-09 8.0777 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.1117 3.9966 .11322E-02 -1.5687 10 Prefactor .25779E-06 6.7643 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .61062E-09 16.644 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .88818E-09 3.3719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 18.379 12.512 .23482E-03 -1.5622 14 Prefactor .72164E-09 2.1718 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11102E-09 57.057 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 7.3943 10.816 .36796E-03 -1.5654 17 Prefactor 4.9540 3.6645 .45155E-03 -1.5663 18 Normalizat .71017 .11827 .74684E-01 -1.0349 19 Prefactor 1.1143 .79455E-01 .37064E-01 -.89011 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.94509e-07 Minuit parameter uncertainties: 1 0.00190522 2 0.000333784 3 0.813858 4 5.57674 5 9.03856e-07 6 6.7975 7 0.00318545 8 0.000161567 9 3.99663 10 0.0026411 11 0.000197075 12 0.000108251 13 12.5122 14 8.01985e-05 15 0.000175525 16 10.8162 17 3.66449 18 0.118308 19 0.0794634 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16588.8230811 Extracting fit parameters... 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 6.106e-10 1.971e-04 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 2.471e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 502 Prefactor: 1.114e+00 7.946e-02 0.000e+00 1.000e+01 ( 1.000e+00) 503 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 504 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 501 Normalization: 7.102e-01 1.183e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 353.557 7.602 Photon Flux Upper Limit: 5.36428251716e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00416438037507 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19667487/likelihoodResults_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16588.8534276 delta logL = -0.0303464373792 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 16588.8198991 delta logL = 0.00318204492942 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .28526 1.0000 .0000 .10000E+07 2 'Index ' 3.4095 1.0000 .0000 10.000 3 'Normalizat' .70796 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1148 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16588.82 FROM MIGRAD STATUS=CONVERGED 70 CALLS 245 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .29018 1.9543 .81431E-02 .82374E-02 2 Index 3.4001 .59100 .50000 .16735E-04 3 Normalizat .70794 .40213E-02 .74791E-01 .15288E-03 4 Prefactor 1.1147 .27405E-02 .37051E-01 .68257E-04 ERR DEF= .500 Final values: Prefactor = 0.29018 Index = 3.40007 Normalizat = 0.707943 Prefactor = 1.11473 ********** ** 18 **HESSE ********** FCN= 16588.82 FROM HESSE STATUS=NOT POSDEF 35 CALLS 280 TOTAL EDM= .75E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .29018 2200.3 .26244E-03 -1.5697 2 Index 3.4001 8.0238 .11741E-01 -.32571 3 Normalizat .70794 .18798 .33108E-03 -1.0358 4 Prefactor 1.1147 .74243E-01 .18257E-03 -.88997 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7.53683e-09 Minuit parameter uncertainties: 1 50.5544 2 48.2966 3 0.188151 4 0.0742497 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) = 16588.8198957 delta logL = 0.00318542252353 Extracting fit parameters... 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 2.902e-01 5.055e+01 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 3.400e+00 4.830e+01 0.000e+00 1.000e+01 (-1.000e+00) 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 502 Prefactor: 1.115e+00 7.425e-02 0.000e+00 1.000e+01 ( 1.000e+00) 503 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 504 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 501 Normalization: 7.079e-01 1.882e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 353.557 7.602 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/19667487/cmap_HighResolution_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.36e-08', time_completed='2023-07-18 02:25:26.042054', job_id='19667487', GAL2='1.11', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1689672326.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.19e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='780' AND source_name='4FGL J2334.2+0736' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:25:26 PDT 2023 file=/lscratch/kocevski/19667904/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits .....................! real 16.43 user 15.26 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19667904/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19667904/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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/19667904/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits .....................! real 60.22 user 55.74 sys 3.44 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 154 point sources and 0 extended sources Setting source of interest to: 4FGL J2334.2+0736 @ 353.557 7.602 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits scfile=/lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19667904/cmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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=353.557 yref=7.602 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.11 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits scfile=/lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19667904/cmap_HighResolution_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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=353.557 yref=7.602 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.14 user 0.21 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19667904/Model_4FGL_J2334.2+0736_weekly_bin780.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/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits.....................! real 54.23 user 52.10 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits', '/lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits', expMap='/lscratch/kocevski/19667904/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits', expCube='/lscratch/kocevski/19667904/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19667904/Model_4FGL_J2334.2+0736_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2334.2+0736' 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 5.621e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 2.471e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19667904/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19667904/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Exposure map: /lscratch/kocevski/19667904/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19667904/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19667904/Model_4FGL_J2334.2+0736_weekly_bin780.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) = 16589.8916838 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16588.8237035 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .32844E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' .10589E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .12393 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.7731 1.0000 .0000 .10000E+07 5 'norm ' .57621E-07 1.0000 .0000 .10000E+07 6 'Prefactor ' 7.5099 1.0000 .0000 .10000E+07 7 'Prefactor ' .83419E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' .10177E-04 1.0000 .0000 .10000E+07 9 'norm ' 1.1006 1.0000 .0000 .10000E+07 10 'Prefactor ' .63583E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .17371E-02 1.0000 .0000 .10000E+07 12 'norm ' .52025E-06 1.0000 .0000 .10000E+07 13 'norm ' 18.150 1.0000 .0000 .10000E+07 14 'Prefactor ' .29921E-07 1.0000 .0000 .10000E+07 15 'Prefactor ' .31503E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 7.4199 1.0000 .0000 .10000E+07 17 'Prefactor ' 4.9554 1.0000 .0000 .10000E+07 18 'Normalizat' .71030 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.1144 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16588.82 FROM MIGRAD STATUS=CONVERGED 205 CALLS 1268 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 9.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14583E-06 4.2127 -.28251E-07** at limit ** 2 Prefactor .29421E-08 9.3938 -.64987E-07** at limit ** 3 Prefactor .16904 6.3540 -.15554E-07** at limit ** 4 Prefactor 2.7199 5.5400 -.50179E-07 -.47899E-03 5 norm .0000 .67933 .20026E-08** at limit ** 6 Prefactor 7.4677 6.6057 -.30599E-07 .11668E-02 7 Prefactor .40046E-06 2022.0 .11861E-04** at limit ** 8 Prefactor .83267E-09 8.0139 -.81787E-08** at limit ** 9 norm 1.1117 3.8776 -.44476E-07 -.27441E-03 10 Prefactor .25779E-06 3.4688 .51680E-07** at limit ** 11 Prefactor .61062E-09 16.582 -.70031E-07** at limit ** 12 norm .88818E-09 3.3308 .77972E-08** at limit ** 13 norm 18.379 11.689 -.93076E-08 .32345E-01 14 Prefactor .72164E-09 2.1835 .58393E-08** at limit ** 15 Prefactor .11102E-09 57.077 -.14995E-06** at limit ** 16 Prefactor 7.3943 10.600 .37728E-07 .13278E-01 17 Prefactor 4.9540 3.6588 .43631E-08 .94883E-03 18 Normalizat .71017 .13299 .59251E-06 .29273E-03 19 Prefactor 1.1143 .89990E-01 .29408E-06 .58736E-03 ERR DEF= .500 Final values: Prefactor = 1.45828e-07 Prefactor = 2.94209e-09 Prefactor = 0.169037 Prefactor = 2.71994 norm = 0 Prefactor = 7.46775 Prefactor = 4.00457e-07 Prefactor = 8.32667e-10 norm = 1.1117 Prefactor = 2.57794e-07 Prefactor = 6.10623e-10 norm = 8.88178e-10 norm = 18.3791 Prefactor = 7.21645e-10 Prefactor = 1.11022e-10 Prefactor = 7.39425 Prefactor = 4.95398 Normalizat = 0.710169 Prefactor = 1.1143 ********** ** 18 **HESSE ********** FCN= 16588.82 FROM HESSE STATUS=OK 324 CALLS 1592 TOTAL EDM= .19E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .14583E-06 6.2221 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .29421E-08 9.4431 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .16904 .97961 .68106E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 2.7199 5.5767 .61087E-03 -1.5675 5 norm .0000 .22777 .19592E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 7.4677 6.7975 .36572E-03 -1.5653 7 Prefactor .40046E-06 6.3351 .78639E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .83267E-09 8.0777 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.1117 3.9966 .11322E-02 -1.5687 10 Prefactor .25779E-06 6.7643 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .61062E-09 16.644 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .88818E-09 3.3719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 18.379 12.512 .23482E-03 -1.5622 14 Prefactor .72164E-09 2.1718 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11102E-09 57.057 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 7.3943 10.816 .36796E-03 -1.5654 17 Prefactor 4.9540 3.6645 .45155E-03 -1.5663 18 Normalizat .71017 .11827 .74684E-01 -1.0349 19 Prefactor 1.1143 .79455E-01 .37064E-01 -.89011 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.94509e-07 Minuit parameter uncertainties: 1 0.00190522 2 0.000333784 3 0.813858 4 5.57674 5 9.03856e-07 6 6.7975 7 0.00318545 8 0.000161567 9 3.99663 10 0.0026411 11 0.000197075 12 0.000108251 13 12.5122 14 8.01985e-05 15 0.000175525 16 10.8162 17 3.66449 18 0.118308 19 0.0794634 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16588.8230811 Extracting fit parameters... 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 6.106e-10 1.971e-04 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 2.471e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 502 Prefactor: 1.114e+00 7.946e-02 0.000e+00 1.000e+01 ( 1.000e+00) 503 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 504 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 501 Normalization: 7.102e-01 1.183e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 353.557 7.602 Photon Flux Upper Limit: 5.36428251716e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00416438037507 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19667904/likelihoodResults_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16588.8534276 delta logL = -0.0303464373792 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 16588.8198991 delta logL = 0.00318204492942 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .28526 1.0000 .0000 .10000E+07 2 'Index ' 3.4095 1.0000 .0000 10.000 3 'Normalizat' .70796 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1148 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16588.82 FROM MIGRAD STATUS=CONVERGED 70 CALLS 245 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .29018 1.9543 .81431E-02 .82374E-02 2 Index 3.4001 .59100 .50000 .16735E-04 3 Normalizat .70794 .40213E-02 .74791E-01 .15288E-03 4 Prefactor 1.1147 .27405E-02 .37051E-01 .68257E-04 ERR DEF= .500 Final values: Prefactor = 0.29018 Index = 3.40007 Normalizat = 0.707943 Prefactor = 1.11473 ********** ** 18 **HESSE ********** FCN= 16588.82 FROM HESSE STATUS=NOT POSDEF 35 CALLS 280 TOTAL EDM= .75E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .29018 2200.3 .26244E-03 -1.5697 2 Index 3.4001 8.0238 .11741E-01 -.32571 3 Normalizat .70794 .18798 .33108E-03 -1.0358 4 Prefactor 1.1147 .74243E-01 .18257E-03 -.88997 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7.53683e-09 Minuit parameter uncertainties: 1 50.5544 2 48.2966 3 0.188151 4 0.0742497 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) = 16588.8198957 delta logL = 0.00318542252353 Extracting fit parameters... 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 2.902e-01 5.055e+01 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 3.400e+00 4.830e+01 0.000e+00 1.000e+01 (-1.000e+00) 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 502 Prefactor: 1.115e+00 7.425e-02 0.000e+00 1.000e+01 ( 1.000e+00) 503 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 504 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 501 Normalization: 7.079e-01 1.882e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 353.557 7.602 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/19667904/cmap_HighResolution_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.36e-08', time_completed='2023-07-18 02:28:56.836168', job_id='19667904', GAL2='1.11', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1689672536.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.19e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='780' AND source_name='4FGL J2334.2+0736' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:28:57 PDT 2023 number of points = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2334.2+0736_weekly_bin780 RA = 353.557, Dec = 7.602 tmin = 710726401, tmax = 711331201 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='19669041', job_status='RUN', time_executed='2023-07-18 02:20:25.350398', time_epoch_executed='1689672025.35' WHERE source_name='4FGL J2334.2+0736' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19669041 Creating custom pfile directory: /lscratch/kocevski/19669041/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19669041/ft1_4FGL_J2334.2+0736_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19669041/ft1_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19669041/ft1_filteredMKT_4FGL_J2334.2+0736_weekly_bin780.fits ra=353.557 dec=7.602 rad=12.0 tmin=710726401.0 tmax=711331201.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 4.26 user 3.49 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.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/19669041/ft1_filteredMKT_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.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.92 user 0.17 sys 0.14 Number of photons that the gtmktime cut: 1492 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19669041/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits .....................! real 15.95 user 15.04 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19669041/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19669041/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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/19669041/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits .....................! real 59.84 user 55.51 sys 3.55 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 154 point sources and 0 extended sources Setting source of interest to: 4FGL J2334.2+0736 @ 353.557 7.602 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits scfile=/lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19669041/cmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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=353.557 yref=7.602 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.99 user 0.20 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits scfile=/lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19669041/cmap_HighResolution_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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=353.557 yref=7.602 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.06 user 0.20 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19669041/Model_4FGL_J2334.2+0736_weekly_bin780.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 number of points = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2334.2+0736_weekly_bin780 RA = 353.557, Dec = 7.602 tmin = 710726401, tmax = 711331201 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='19669430', job_status='RUN', time_executed='2023-07-18 02:23:43.114200', time_epoch_executed='1689672223.11' WHERE source_name='4FGL J2334.2+0736' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19669430 Creating custom pfile directory: /lscratch/kocevski/19669430/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19669430/ft1_4FGL_J2334.2+0736_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19669430/ft1_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19669430/ft1_filteredMKT_4FGL_J2334.2+0736_weekly_bin780.fits ra=353.557 dec=7.602 rad=12.0 tmin=710726401.0 tmax=711331201.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 4.41 user 3.53 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.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/19669430/ft1_filteredMKT_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.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.99 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 1492 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" outWorking on... /lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits.....................! real 55.72 user 53.28 sys 1.43 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits', '/lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits', expMap='/lscratch/kocevski/19669041/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits', expCube='/lscratch/kocevski/19669041/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19669041/Model_4FGL_J2334.2+0736_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2334.2+0736' 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 5.621e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 2.471e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19669041/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19669041/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Exposure map: /lscratch/kocevski/19669041/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19669041/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19669041/Model_4FGL_J2334.2+0736_weekly_bin780.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) = 16589.8916838 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16588.8237035 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .32844E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' .10589E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .12393 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.7731 1.0000 .0000 .10000E+07 5 'norm ' .57621E-07 1.0000 .0000 .10000E+07 6 'Prefactor ' 7.5099 1.0000 .0000 .10000E+07 7 'Prefactor ' .83419E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' .10177E-04 1.0000 .0000 .10000E+07 9 'norm ' 1.1006 1.0000 .0000 .10000E+07 10 'Prefactor ' .63583E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .17371E-02 1.0000 .0000 .10000E+07 12 'norm ' .52025E-06 1.0000 .0000 .10000E+07 13 'norm ' 18.150 1.0000 .0000 .10000E+07 14 'Prefactor ' .29921E-07 1.0000 .0000 .10000E+07 15 'Prefactor ' .31503E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 7.4199 1.0000 .0000 .10000E+07 17 'Prefactor ' 4.9554 1.0000 .0000 .10000E+07 18 'Normalizat' .71030 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.1144 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16588.82 FROM MIGRAD STATUS=CONVERGED 205 CALLS 1268 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 9.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14583E-06 4.2127 -.28251E-07** at limit ** 2 Prefactor .29421E-08 9.3938 -.64987E-07** at limit ** 3 Prefactor .16904 6.3540 -.15554E-07** at limit ** 4 Prefactor 2.7199 5.5400 -.50179E-07 -.47899E-03 5 norm .0000 .67933 .20026E-08** at limit ** 6 Prefactor 7.4677 6.6057 -.30599E-07 .11668E-02 7 Prefactor .40046E-06 2022.0 .11861E-04** at limit ** 8 Prefactor .83267E-09 8.0139 -.81787E-08** at limit ** 9 norm 1.1117 3.8776 -.44476E-07 -.27441E-03 10 Prefactor .25779E-06 3.4688 .51680E-07** at limit ** 11 Prefactor .61062E-09 16.582 -.70031E-07** at limit ** 12 norm .88818E-09 3.3308 .77972E-08** at limit ** 13 norm 18.379 11.689 -.93076E-08 .32345E-01 14 Prefactor .72164E-09 2.1835 .58393E-08** at limit ** 15 Prefactor .11102E-09 57.077 -.14995E-06** at limit ** 16 Prefactor 7.3943 10.600 .37728E-07 .13278E-01 17 Prefactor 4.9540 3.6588 .43631E-08 .94883E-03 18 Normalizat .71017 .13299 .59251E-06 .29273E-03 19 Prefactor 1.1143 .89990E-01 .29408E-06 .58736E-03 ERR DEF= .500 Final values: Prefactor = 1.45828e-07 Prefactor = 2.94209e-09 Prefactor = 0.169037 Prefactor = 2.71994 norm = 0 Prefactor = 7.46775 Prefactor = 4.00457e-07 Prefactor = 8.32667e-10 norm = 1.1117 Prefactor = 2.57794e-07 Prefactor = 6.10623e-10 norm = 8.88178e-10 norm = 18.3791 Prefactor = 7.21645e-10 Prefactor = 1.11022e-10 Prefactor = 7.39425 Prefactor = 4.95398 Normalizat = 0.710169 Prefactor = 1.1143 ********** ** 18 **HESSE ********** FCN= 16588.82 FROM HESSE STATUS=OK 324 CALLS 1592 TOTAL EDM= .19E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .14583E-06 6.2221 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .29421E-08 9.4431 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .16904 .97961 .68106E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 2.7199 5.5767 .61087E-03 -1.5675 5 norm .0000 .22777 .19592E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 7.4677 6.7975 .36572E-03 -1.5653 7 Prefactor .40046E-06 6.3351 .78639E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .83267E-09 8.0777 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.1117 3.9966 .11322E-02 -1.5687 10 Prefactor .25779E-06 6.7643 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .61062E-09 16.644 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .88818E-09 3.3719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 18.379 12.512 .23482E-03 -1.5622 14 Prefactor .72164E-09 2.1718 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11102E-09 57.057 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 7.3943 10.816 .36796E-03 -1.5654 17 Prefactor 4.9540 3.6645 .45155E-03 -1.5663 18 Normalizat .71017 .11827 .74684E-01 -1.0349 19 Prefactor 1.1143 .79455E-01 .37064E-01 -.89011 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.94509e-07 Minuit parameter uncertainties: 1 0.00190522 2 0.000333784 3 0.813858 4 5.57674 5 9.03856e-07 6 6.7975 7 0.00318545 8 0.000161567 9 3.99663 10 0.0026411 11 0.000197075 12 0.000108251 13 12.5122 14 8.01985e-05 15 0.000175525 16 10.8162 17 3.66449 18 0.118308 19 0.0794634 file=/lscratch/kocevski/19669430/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits .....................! real 15.99 user 15.03 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19669430/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19669430/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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/19669430/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits .....................! real 60.43 user 55.88 sys 3.54 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 154 point sources and 0 extended sources Setting source of interest to: 4FGL J2334.2+0736 @ 353.557 7.602 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits scfile=/lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19669430/cmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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=353.557 yref=7.602 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.09 user 0.20 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits scfile=/lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits outfile=/lscratch/kocevski/19669430/cmap_HighResolution_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.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=353.557 yref=7.602 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.01 user 0.21 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19669430/Model_4FGL_J2334.2+0736_weekly_bin780.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 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16588.8230811 Extracting fit parameters... 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 6.106e-10 1.971e-04 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 2.471e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 502 Prefactor: 1.114e+00 7.946e-02 0.000e+00 1.000e+01 ( 1.000e+00) 503 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 504 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 501 Normalization: 7.102e-01 1.183e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 353.557 7.602 Photon Flux Upper Limit: 5.36428251716e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00416438037507 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19669041/likelihoodResults_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16588.8534276 delta logL = -0.0303464373792 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 16588.8198991 delta logL = 0.00318204492942 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .28526 1.0000 .0000 .10000E+07 2 'Index ' 3.4095 1.0000 .0000 10.000 3 'Normalizat' .70796 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1148 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16588.82 FROM MIGRAD STATUS=CONVERGED 70 CALLS 245 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .29018 1.9543 .81431E-02 .82374E-02 2 Index 3.4001 .59100 .50000 .16735E-04 3 Normalizat .70794 .40213E-02 .74791E-01 .15288E-03 4 Prefactor 1.1147 .27405E-02 .37051E-01 .68257E-04 ERR DEF= .500 Final values: Prefactor = 0.29018 Index = 3.40007 Normalizat = 0.707943 Prefactor = 1.11473 ********** ** 18 **HESSE ********** FCN= 16588.82 FROM HESSE STATUS=NOT POSDEF 35 CALLS 280 TOTAL EDM= .75E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .29018 2200.3 .26244E-03 -1.5697 2 Index 3.4001 8.0238 .11741E-01 -.32571 3 Normalizat .70794 .18798 .33108E-03 -1.0358 4 Prefactor 1.1147 .74243E-01 .18257E-03 -.88997 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7.53683e-09 Minuit parameter uncertainties: 1 50.5544 2 48.2966 3 0.188151 4 0.0742497 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) = 16588.8198957 delta logL = 0.00318542252353 Extracting fit parameters... 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 2.902e-01 5.055e+01 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 3.400e+00 4.830e+01 0.000e+00 1.000e+01 (-1.000e+00) 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 502 Prefactor: 1.115e+00 7.425e-02 0.000e+00 1.000e+01 ( 1.000e+00) 503 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 504 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 501 Normalization: 7.079e-01 1.882e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 353.557 7.602 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/19669041/cmap_HighResolution_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.36e-08', time_completed='2023-07-18 02:40:03.664244', job_id='19669041', GAL2='1.11', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1689673203.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.19e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='780' AND source_name='4FGL J2334.2+0736' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:40:04 PDT 2023 Working on... /lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits.....................! real 53.74 user 51.95 sys 0.74 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits', '/lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits', expMap='/lscratch/kocevski/19669430/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits', expCube='/lscratch/kocevski/19669430/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19669430/Model_4FGL_J2334.2+0736_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2334.2+0736' 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 5.621e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 2.471e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19669430/ft1_filtered_4FGL_J2334.2+0736_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19669430/ft2_4FGL_J2334.2+0736_weekly_bin780.fits Exposure map: /lscratch/kocevski/19669430/expmap_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19669430/ltcube_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19669430/Model_4FGL_J2334.2+0736_weekly_bin780.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) = 16589.8916838 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16588.8237035 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .32844E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' .10589E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .12393 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.7731 1.0000 .0000 .10000E+07 5 'norm ' .57621E-07 1.0000 .0000 .10000E+07 6 'Prefactor ' 7.5099 1.0000 .0000 .10000E+07 7 'Prefactor ' .83419E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' .10177E-04 1.0000 .0000 .10000E+07 9 'norm ' 1.1006 1.0000 .0000 .10000E+07 10 'Prefactor ' .63583E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .17371E-02 1.0000 .0000 .10000E+07 12 'norm ' .52025E-06 1.0000 .0000 .10000E+07 13 'norm ' 18.150 1.0000 .0000 .10000E+07 14 'Prefactor ' .29921E-07 1.0000 .0000 .10000E+07 15 'Prefactor ' .31503E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 7.4199 1.0000 .0000 .10000E+07 17 'Prefactor ' 4.9554 1.0000 .0000 .10000E+07 18 'Normalizat' .71030 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.1144 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16588.82 FROM MIGRAD STATUS=CONVERGED 205 CALLS 1268 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 9.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14583E-06 4.2127 -.28251E-07** at limit ** 2 Prefactor .29421E-08 9.3938 -.64987E-07** at limit ** 3 Prefactor .16904 6.3540 -.15554E-07** at limit ** 4 Prefactor 2.7199 5.5400 -.50179E-07 -.47899E-03 5 norm .0000 .67933 .20026E-08** at limit ** 6 Prefactor 7.4677 6.6057 -.30599E-07 .11668E-02 7 Prefactor .40046E-06 2022.0 .11861E-04** at limit ** 8 Prefactor .83267E-09 8.0139 -.81787E-08** at limit ** 9 norm 1.1117 3.8776 -.44476E-07 -.27441E-03 10 Prefactor .25779E-06 3.4688 .51680E-07** at limit ** 11 Prefactor .61062E-09 16.582 -.70031E-07** at limit ** 12 norm .88818E-09 3.3308 .77972E-08** at limit ** 13 norm 18.379 11.689 -.93076E-08 .32345E-01 14 Prefactor .72164E-09 2.1835 .58393E-08** at limit ** 15 Prefactor .11102E-09 57.077 -.14995E-06** at limit ** 16 Prefactor 7.3943 10.600 .37728E-07 .13278E-01 17 Prefactor 4.9540 3.6588 .43631E-08 .94883E-03 18 Normalizat .71017 .13299 .59251E-06 .29273E-03 19 Prefactor 1.1143 .89990E-01 .29408E-06 .58736E-03 ERR DEF= .500 Final values: Prefactor = 1.45828e-07 Prefactor = 2.94209e-09 Prefactor = 0.169037 Prefactor = 2.71994 norm = 0 Prefactor = 7.46775 Prefactor = 4.00457e-07 Prefactor = 8.32667e-10 norm = 1.1117 Prefactor = 2.57794e-07 Prefactor = 6.10623e-10 norm = 8.88178e-10 norm = 18.3791 Prefactor = 7.21645e-10 Prefactor = 1.11022e-10 Prefactor = 7.39425 Prefactor = 4.95398 Normalizat = 0.710169 Prefactor = 1.1143 ********** ** 18 **HESSE ********** FCN= 16588.82 FROM HESSE STATUS=OK 324 CALLS 1592 TOTAL EDM= .19E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .14583E-06 6.2221 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .29421E-08 9.4431 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .16904 .97961 .68106E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 2.7199 5.5767 .61087E-03 -1.5675 5 norm .0000 .22777 .19592E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 7.4677 6.7975 .36572E-03 -1.5653 7 Prefactor .40046E-06 6.3351 .78639E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .83267E-09 8.0777 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.1117 3.9966 .11322E-02 -1.5687 10 Prefactor .25779E-06 6.7643 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .61062E-09 16.644 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .88818E-09 3.3719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 18.379 12.512 .23482E-03 -1.5622 14 Prefactor .72164E-09 2.1718 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11102E-09 57.057 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 7.3943 10.816 .36796E-03 -1.5654 17 Prefactor 4.9540 3.6645 .45155E-03 -1.5663 18 Normalizat .71017 .11827 .74684E-01 -1.0349 19 Prefactor 1.1143 .79455E-01 .37064E-01 -.89011 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.94509e-07 Minuit parameter uncertainties: 1 0.00190522 2 0.000333784 3 0.813858 4 5.57674 5 9.03856e-07 6 6.7975 7 0.00318545 8 0.000161567 9 3.99663 10 0.0026411 11 0.000197075 12 0.000108251 13 12.5122 14 8.01985e-05 15 0.000175525 16 10.8162 17 3.66449 18 0.118308 19 0.0794634 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16588.8230811 Extracting fit parameters... 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 6.106e-10 1.971e-04 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 2.471e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 502 Prefactor: 1.114e+00 7.946e-02 0.000e+00 1.000e+01 ( 1.000e+00) 503 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 504 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 501 Normalization: 7.102e-01 1.183e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 353.557 7.602 Photon Flux Upper Limit: 5.36428251716e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00416438037507 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19669430/likelihoodResults_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16588.8534276 delta logL = -0.0303464373792 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 16588.8198991 delta logL = 0.00318204492942 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .28526 1.0000 .0000 .10000E+07 2 'Index ' 3.4095 1.0000 .0000 10.000 3 'Normalizat' .70796 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1148 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16588.82 FROM MIGRAD STATUS=CONVERGED 70 CALLS 245 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .29018 1.9543 .81431E-02 .82374E-02 2 Index 3.4001 .59100 .50000 .16735E-04 3 Normalizat .70794 .40213E-02 .74791E-01 .15288E-03 4 Prefactor 1.1147 .27405E-02 .37051E-01 .68257E-04 ERR DEF= .500 Final values: Prefactor = 0.29018 Index = 3.40007 Normalizat = 0.707943 Prefactor = 1.11473 ********** ** 18 **HESSE ********** FCN= 16588.82 FROM HESSE STATUS=NOT POSDEF 35 CALLS 280 TOTAL EDM= .75E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .29018 2200.3 .26244E-03 -1.5697 2 Index 3.4001 8.0238 .11741E-01 -.32571 3 Normalizat .70794 .18798 .33108E-03 -1.0358 4 Prefactor 1.1147 .74243E-01 .18257E-03 -.88997 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7.53683e-09 Minuit parameter uncertainties: 1 50.5544 2 48.2966 3 0.188151 4 0.0742497 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) = 16588.8198957 delta logL = 0.00318542252353 Extracting fit parameters... 4FGL J2334.2+0736 Spectrum: PowerLaw 430 Prefactor: 2.902e-01 5.055e+01 0.000e+00 1.000e+06 ( 1.000e-13) 431 Index: 3.400e+00 4.830e+01 0.000e+00 1.000e+01 (-1.000e+00) 432 Scale: 9.656e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 502 Prefactor: 1.115e+00 7.425e-02 0.000e+00 1.000e+01 ( 1.000e+00) 503 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 504 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 501 Normalization: 7.079e-01 1.882e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 353.557 7.602 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/19669430/cmap_HighResolution_710726401_711331201_4FGL_J2334.2+0736_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.36e-08', time_completed='2023-07-18 02:42:10.483074', job_id='19669430', GAL2='1.11', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1689673330.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.19e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='780' AND source_name='4FGL J2334.2+0736' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:42:11 PDT 2023