/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 = 17691 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1841.8+3218_weekly_bin777 RA = 280.453, Dec = 32.301 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='18886851', job_status='RUN', time_executed='2023-07-10 10:12:48.652385', time_epoch_executed='1689009168.65' WHERE source_name='4FGL J1841.8+3218' and cadence='weekly' and bin_id='777' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18886851 Creating custom pfile directory: /lscratch/kocevski/18886851/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/18886851/ft1_4FGL_J1841.8+3218_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/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18886851/ft1_4FGL_J1841.8+3218_weekly_bin777.fits outfile=/lscratch/kocevski/18886851/ft1_filteredMKT_4FGL_J1841.8+3218_weekly_bin777.fits ra=280.453 dec=32.301 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.14 user 2.65 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18886851/ft2_4FGL_J1841.8+3218_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/18886851/ft1_filteredMKT_4FGL_J1841.8+3218_weekly_bin777.fits evtable="EVENTS" outfile="/lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_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.59 user 0.18 sys 0.14 Number of photons that the gtmktime cut: 4190 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits sctable="SC_DATA" oDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43710.9618018 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 7.550e-09 3.633e-04 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.655e-01 3.193e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.312e+00 1.179e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 280.453 32.301 Photon Flux Upper Limit: 4.33390371897e-09 ph cm-2 s-1 Energy Flux Upper Limit: 1.40874476946e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18883097/likelihoodResults_708912001_709516801_4FGL_J1841.8+3218_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) = 43710.9620028 delta logL = -0.000200944690732 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 43710.9618025 delta logL = -7.21724063624e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .41134E-07 1.0000 .0000 .10000E+07 2 'alpha ' .14532 1.0000 .0000 5.0000 3 'Normalizat' 1.3121 1.0000 .10000E-01 10.000 4 'Prefactor ' .96550 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 43710.96 FROM MIGRAD STATUS=CONVERGED 82 CALLS 291 TOTAL EDM= .88E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11102E-09 .42994 .42118E-02** at limit ** 2 alpha 3.9462 4.3492 .49809 -.73039E-10 3 Normalizat 1.3121 .57244E-02 .10060 .19039E-02 4 Prefactor .96547 .16231E-02 .32577E-01 .56961E-02 ERR DEF= .500 Final values: norm = 1.11022e-10 alpha = 3.94623 Normalizat = 1.31212 Prefactor = 0.965469 ********** ** 18 **HESSE ********** FCN= 43710.96 FROM HESSE STATUS=OK 29 CALLS 320 TOTAL EDM= .21E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11102E-09 1.8588 .15401E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 3.9462 4.1702 .50000 .61688 3 Normalizat 1.3121 .12240 .44577E-03 -.83205 4 Prefactor .96547 .34802E-01 .14395E-03 -.93890 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.09889e-09 Minuit parameter uncertainties: 1 2.89123e-05 2 3.01122 3 0.122426 4 0.0348026 utfile=/lscratch/kocevski/18886851/ltcube_708912001_709516801_4FGL_J1841.8+3218_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/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits .....................! real 16.60 user 16.10 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18886851/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits outfile=/lscratch/kocevski/18886851/expmap_708912001_709516801_4FGL_J1841.8+3218_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/18886851/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits .....................! real 59.93 user 55.92 sys 3.52 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 Extended source W 51C in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template. Extended source gamma Cygni in ROI with RadialDisk spatial model. Added 236 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1841.8+3218 @ 280.453 32.301 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits scfile=/lscratch/kocevski/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits outfile=/lscratch/kocevski/18886851/cmap_708912001_709516801_4FGL_J1841.8+3218_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=280.453 yref=32.301 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.60 user 0.20 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits scfile=/lscratch/kocevski/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits outfile=/lscratch/kocevski/18886851/cmap_HighResolution_708912001_709516801_4FGL_J1841.8+3218_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=280.453 yref=32.301 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.58 user 0.21 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kshell-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) = 43710.9618018 delta logL = -8.0035533756e-11 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 1.110e-10 2.891e-05 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 3.946e+00 3.011e+00 0.000e+00 5.000e+00 ( 1.000e+00) 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.655e-01 3.480e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.312e+00 1.224e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 280.453 32.301 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/18883097/cmap_HighResolution_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-05', job_status='DONE', photon_flux_upper_limit='4.33e-09', time_completed='2023-07-10 10:17:42.197128', job_id='18883097', GAL2='0.97', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1689009462.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-8.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.56' WHERE bin_id='777' AND source_name='4FGL J1841.8+3218' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 10:17:42 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_J1841.8+3218_weekly_bin777 RA = 280.453, Dec = 32.301 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='18887329', job_status='RUN', time_executed='2023-07-10 10:14:53.775197', time_epoch_executed='1689009293.78' WHERE source_name='4FGL J1841.8+3218' and cadence='weekly' and bin_id='777' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18887329 Creating custom pfile directory: /lscratch/kocevski/18887329/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/18887329/ft1_4FGL_J1841.8+3218_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/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18887329/ft1_4FGL_J1841.8+3218_weekly_bin777.fits outfile=/lscratch/kocevski/18887329/ft1_filteredMKT_4FGL_J1841.8+3218_weekly_bin777.fits ra=280.453 dec=32.301 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.02 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18887329/ft2_4FGL_J1841.8+3218_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/18887329/ft1_filteredMKT_4FGL_J1841.8+3218_weekly_bin777.fits evtable="EVENTS" outfile="/lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_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.56 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 4190 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18887329/ltcube_708912001_709516801_4FGL_J1841.8+3218_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/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits .....................! real 18.59 user 18.03 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18887329/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits outfile=/lscratch/kocevski/18887329/expmap_708912001_709516801_4FGL_J1841.8+3218_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/18887329/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits .....................! real 69.57 user 65.05 sys 3.95 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 Extended source W 51C in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template. Extended source gamma Cygni in ROI with RadialDisk spatial model. Added 236 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1841.8+3218 @ 280.453 32.301 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits scfile=/lscratch/kocevski/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits outfile=/lscratch/kocevski/18887329/cmap_708912001_709516801_4FGL_J1841.8+3218_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=280.453 yref=32.301 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.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits scfile=/lscratch/kocevski/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits outfile=/lscratch/kocevski/18887329/cmap_HighResolution_708912001_709516801_4FGL_J1841.8+3218_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=280.453 yref=32.301 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.50 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18884858/ft2_4FGL_J1841.8+3218_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18884858/Model_4FGL_J1841.8+3218_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 adding source W 51C adding source gamma Cygni Working on... /lscratch/kocevski/18884858/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits.....................! real 280.55 user 277.99 sys 0.85 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18884858/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits', '/lscratch/kocevski/18884858/ft2_4FGL_J1841.8+3218_weekly_bin777.fits', expMap='/lscratch/kocevski/18884858/expmap_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits', expCube='/lscratch/kocevski/18884858/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18884858/Model_4FGL_J1841.8+3218_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1841.8+3218' 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 4.939e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18884858/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18884858/ft2_4FGL_J1841.8+3218_weekly_bin777.fits Exposure map: /lscratch/kocevski/18884858/expmap_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18884858/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18884858/Model_4FGL_J1841.8+3218_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) = 43711.0371518 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43710.9621032 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .95990E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' .18270E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .17920E-03 1.0000 .0000 .10000E+07 4 'norm ' .13126 1.0000 .0000 .10000E+07 5 'norm ' 14.378 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.4132 1.0000 .0000 .10000E+07 7 'norm ' .39047E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' 5.1149 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.2363 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.6295 1.0000 .0000 .10000E+07 11 'norm ' .61721E-03 1.0000 .0000 .10000E+07 12 'norm ' .17314E-06 1.0000 .0000 .10000E+07 13 'norm ' .11652E-06 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.9089 1.0000 .0000 .10000E+07 15 'Prefactor ' .74639E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' .45882E-03 1.0000 .0000 .10000E+07 17 'Normalizat' 1.3118 1.0000 .10000E-01 10.000 18 'Prefactor ' .96549 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 43710.96 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1126 TOTAL EDM= .98E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .27756E-09 2.0607 -.65428E-07** at limit ** 2 Prefactor .62172E-08 7.0871 -.14622E-06** at limit ** 3 Prefactor .42566E-06 11.445 -.21573E-06** at limit ** 4 norm .13119 .44585 -.21686E-07** at limit ** 5 norm 14.203 1.5255 -.70681E-08 .10892E-01 6 Prefactor 3.4146 2.3709 .29170E-07 .44880E-02 7 norm .10954E-04 4.6608 -.85162E-07** at limit ** 8 Prefactor 5.1297 2.7652 .22699E-07 .23724E-02 9 Prefactor 9.0103 11.982 .36387E-07 .57812E-01 10 Prefactor 2.6382 4.3544 -.73060E-07 -.23389E-02 11 norm .75495E-08 4.3396 .94848E-07** at limit ** 12 norm .55511E-10 1.8788 -.47146E-07** at limit ** 13 norm .11102E-09 .81833 .77334E-07** at limit ** 14 Prefactor 1.8969 5.0232 -.31892E-07 -.37740E-03 15 Prefactor .55511E-10 1.6429 -.40627E-07** at limit ** 16 Prefactor .28000E-06 19.517 -.22095E-06** at limit ** 17 Normalizat 1.3121 .12748 .21455E-06 .93881E-04 18 Prefactor .96547 .34963E-01 -.19200E-07 .13988E-03 ERR DEF= .500 Final values: Prefactor = 2.77556e-10 Prefactor = 6.21725e-09 Prefactor = 4.2566e-07 norm = 0.131188 norm = 14.2028 Prefactor = 3.41465 norm = 1.09537e-05 Prefactor = 5.12974 Prefactor = 9.01033 Prefactor = 2.63824 norm = 7.54952e-09 norm = 5.55112e-11 norm = 1.11022e-10 Prefactor = 1.8969 Prefactor = 5.55112e-11 Prefactor = 2.79998e-07 Normalizat = 1.31212 Prefactor = 0.965469 ********** ** 18 **HESSE ********** FCN= 43710.96 FROM HESSE STATUS=OK 296 CALLS 1422 TOTAL EDM= .17E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27756E-09 2.0654 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .62172E-08 7.1215 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .42566E-06 12.203 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .13119 .45187 .13156E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 14.203 22.400 .26389E-03 -1.5633 6 Prefactor 3.4146 2.3893 .54732E-03 -1.5671 7 norm .10954E-04 1.6148 .89161E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 5.1297 2.7925 .44431E-03 -1.5663 9 Prefactor 9.0103 12.999 .32953E-03 -1.5648 10 Prefactor 2.6382 4.4274 .62860E-03 -1.5675 11 norm .75495E-08 4.3652 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .55511E-10 .42873 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .11102E-09 .24988 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.8969 5.0223 .75219E-03 -1.5680 15 Prefactor .55511E-10 1.6498 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .28000E-06 20.082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Normalizat 1.3121 .11784 .10060 -.83205 18 Prefactor .96547 .31933E-01 .32577E-01 -.93890 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.72151e-06 Minuit parameter uncertainties: 1 4.64182e-05 2 0.000420133 3 0.0045583 4 0.451873 5 22.4001 6 2.38931 7 0.00841135 8 2.79246 9 12.9994 10 4.42742 11 0.000363309 12 7.17988e-06 13 9.26214e-06 14 5.02236 15 1.94878e-05 16 0.00474259 17 0.11786 18 0.0319336 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43710.9618018 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 7.550e-09 3.633e-04 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.655e-01 3.193e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.312e+00 1.179e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 280.453 32.301 Photon Flux Upper Limit: 4.33390371897e-09 ph cm-2 s-1 Energy Flux Upper Limit: 1.40874476946e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18884858/likelihoodResults_708912001_709516801_4FGL_J1841.8+3218_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) = 43710.9620028 delta logL = -0.000200944690732 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 43710.9618025 delta logL = -7.21724063624e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .41134E-07 1.0000 .0000 .10000E+07 2 'alpha ' .14532 1.0000 .0000 5.0000 3 'Normalizat' 1.3121 1.0000 .10000E-01 10.000 4 'Prefactor ' .96550 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 43710.96 FROM MIGRAD STATUS=CONVERGED 82 CALLS 291 TOTAL EDM= .88E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11102E-09 .42994 .42118E-02** at limit ** 2 alpha 3.9462 4.3492 .49809 -.73039E-10 3 Normalizat 1.3121 .57244E-02 .10060 .19039E-02 4 Prefactor .96547 .16231E-02 .32577E-01 .56961E-02 ERR DEF= .500 Final values: norm = 1.11022e-10 alpha = 3.94623 Normalizat = 1.31212 Prefactor = 0.965469 ********** ** 18 **HESSE ********** FCN= 43710.96 FROM HESSE STATUS=OK 29 CALLS 320 TOTAL EDM= .21E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11102E-09 1.8588 .15401E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 3.9462 4.1702 .50000 .61688 3 Normalizat 1.3121 .12240 .44577E-03 -.83205 4 Prefactor .96547 .34802E-01 .14395E-03 -.93890 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.09889e-09 Minuit parameter uncertainties: 1 2.89123e-05 2 3.01122 3 0.122426 4 0.0348026 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) = 43710.9618018 delta logL = -8.0035533756e-11 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 1.110e-10 2.891e-05 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 3.946e+00 3.011e+00 0.000e+00 5.000e+00 ( 1.000e+00) 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.655e-01 3.480e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.312e+00 1.224e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 280.453 32.301 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/18884858/cmap_HighResolution_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-05', job_status='DONE', photon_flux_upper_limit='4.33e-09', time_completed='2023-07-10 10:26:25.453911', job_id='18884858', GAL2='0.97', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1689009985.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-8.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.56' WHERE bin_id='777' AND source_name='4FGL J1841.8+3218' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 10:26:25 PDT 2023 ocevski/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18886851/Model_4FGL_J1841.8+3218_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 adding source W 51C adding source gamma Cygni Working on... /lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits.....................! real 240.30 user 238.34 sys 0.76 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits', '/lscratch/kocevski/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits', expMap='/lscratch/kocevski/18886851/expmap_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits', expCube='/lscratch/kocevski/18886851/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18886851/Model_4FGL_J1841.8+3218_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1841.8+3218' 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 4.939e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18886851/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18886851/ft2_4FGL_J1841.8+3218_weekly_bin777.fits Exposure map: /lscratch/kocevski/18886851/expmap_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18886851/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18886851/Model_4FGL_J1841.8+3218_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) = 43711.0371518 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43710.9621032 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .95990E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' .18270E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .17920E-03 1.0000 .0000 .10000E+07 4 'norm ' .13126 1.0000 .0000 .10000E+07 5 'norm ' 14.378 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.4132 1.0000 .0000 .10000E+07 7 'norm ' .39047E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' 5.1149 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.2363 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.6295 1.0000 .0000 .10000E+07 11 'norm ' .61721E-03 1.0000 .0000 .10000E+07 12 'norm ' .17314E-06 1.0000 .0000 .10000E+07 13 'norm ' .11652E-06 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.9089 1.0000 .0000 .10000E+07 15 'Prefactor ' .74639E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' .45882E-03 1.0000 .0000 .10000E+07 17 'Normalizat' 1.3118 1.0000 .10000E-01 10.000 18 'Prefactor ' .96549 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 43710.96 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1126 TOTAL EDM= .98E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .27756E-09 2.0607 -.65428E-07** at limit ** 2 Prefactor .62172E-08 7.0871 -.14622E-06** at limit ** 3 Prefactor .42566E-06 11.445 -.21573E-06** at limit ** 4 norm .13119 .44585 -.21686E-07** at limit ** 5 norm 14.203 1.5255 -.70681E-08 .10892E-01 6 Prefactor 3.4146 2.3709 .29170E-07 .44880E-02 7 norm .10954E-04 4.6608 -.85162E-07** at limit ** 8 Prefactor 5.1297 2.7652 .22699E-07 .23724E-02 9 Prefactor 9.0103 11.982 .36387E-07 .57812E-01 10 Prefactor 2.6382 4.3544 -.73060E-07 -.23389E-02 11 norm .75495E-08 4.3396 .94848E-07** at limit ** 12 norm .55511E-10 1.8788 -.47146E-07** at limit ** 13 norm .11102E-09 .81833 .77334E-07** at limit ** 14 Prefactor 1.8969 5.0232 -.31892E-07 -.37740E-03 15 Prefactor .55511E-10 1.6429 -.40627E-07** at limit ** 16 Prefactor .28000E-06 19.517 -.22095E-06** at limit ** 17 Normalizat 1.3121 .12748 .21455E-06 .93881E-04 18 Prefactor .96547 .34963E-01 -.19200E-07 .13988E-03 ERR DEF= .500 Final values: Prefactor = 2.77556e-10 Prefactor = 6.21725e-09 Prefactor = 4.2566e-07 norm = 0.131188 norm = 14.2028 Prefactor = 3.41465 norm = 1.09537e-05 Prefactor = 5.12974 Prefactor = 9.01033 Prefactor = 2.63824 norm = 7.54952e-09 norm = 5.55112e-11 norm = 1.11022e-10 Prefactor = 1.8969 Prefactor = 5.55112e-11 Prefactor = 2.79998e-07 Normalizat = 1.31212 Prefactor = 0.965469 ********** ** 18 **HESSE ********** FCN= 43710.96 FROM HESSE STATUS=OK 296 CALLS 1422 TOTAL EDM= .17E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27756E-09 2.0654 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .62172E-08 7.1215 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .42566E-06 12.203 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .13119 .45187 .13156E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 14.203 22.400 .26389E-03 -1.5633 6 Prefactor 3.4146 2.3893 .54732E-03 -1.5671 7 norm .10954E-04 1.6148 .89161E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 5.1297 2.7925 .44431E-03 -1.5663 9 Prefactor 9.0103 12.999 .32953E-03 -1.5648 10 Prefactor 2.6382 4.4274 .62860E-03 -1.5675 11 norm .75495E-08 4.3652 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .55511E-10 .42873 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .11102E-09 .24988 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.8969 5.0223 .75219E-03 -1.5680 15 Prefactor .55511E-10 1.6498 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .28000E-06 20.082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Normalizat 1.3121 .11784 .10060 -.83205 18 Prefactor .96547 .31933E-01 .32577E-01 -.93890 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.72151e-06 Minuit parameter uncertainties: 1 4.64182e-05 2 0.000420133 3 0.0045583 4 0.451873 5 22.4001 6 2.38931 7 0.00841135 8 2.79246 9 12.9994 10 4.42742 11 0.000363309 12 7.17988e-06 13 9.26214e-06 14 5.02236 15 1.94878e-05 16 0.00474259 17 0.11786 18 0.0319336 ocevski/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18887329/Model_4FGL_J1841.8+3218_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 adding source W 51C adding source gamma Cygni Working on... /lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits.....................! real 276.13 user 273.55 sys 0.93 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits', '/lscratch/kocevski/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits', expMap='/lscratch/kocevski/18887329/expmap_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits', expCube='/lscratch/kocevski/18887329/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18887329/Model_4FGL_J1841.8+3218_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1841.8+3218' 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 4.939e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18887329/ft1_filtered_4FGL_J1841.8+3218_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18887329/ft2_4FGL_J1841.8+3218_weekly_bin777.fits Exposure map: /lscratch/kocevski/18887329/expmap_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18887329/ltcube_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18887329/Model_4FGL_J1841.8+3218_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) = 43711.0371518 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43710.9621032 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .95990E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' .18270E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .17920E-03 1.0000 .0000 .10000E+07 4 'norm ' .13126 1.0000 .0000 .10000E+07 5 'norm ' 14.378 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.4132 1.0000 .0000 .10000E+07 7 'norm ' .39047E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' 5.1149 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.2363 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.6295 1.0000 .0000 .10000E+07 11 'norm ' .61721E-03 1.0000 .0000 .10000E+07 12 'norm ' .17314E-06 1.0000 .0000 .10000E+07 13 'norm ' .11652E-06 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.9089 1.0000 .0000 .10000E+07 15 'Prefactor ' .74639E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' .45882E-03 1.0000 .0000 .10000E+07 17 'Normalizat' 1.3118 1.0000 .10000E-01 10.000 18 'Prefactor ' .96549 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 43710.96 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1126 TOTAL EDM= .98E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .27756E-09 2.0607 -.65428E-07** at limit ** 2 Prefactor .62172E-08 7.0871 -.14622E-06** at limit ** 3 Prefactor .42566E-06 11.445 -.21573E-06** at limit ** 4 norm .13119 .44585 -.21686E-07** at limit ** 5 norm 14.203 1.5255 -.70681E-08 .10892E-01 6 Prefactor 3.4146 2.3709 .29170E-07 .44880E-02 7 norm .10954E-04 4.6608 -.85162E-07** at limit ** 8 Prefactor 5.1297 2.7652 .22699E-07 .23724E-02 9 Prefactor 9.0103 11.982 .36387E-07 .57812E-01 10 Prefactor 2.6382 4.3544 -.73060E-07 -.23389E-02 11 norm .75495E-08 4.3396 .94848E-07** at limit ** 12 norm .55511E-10 1.8788 -.47146E-07** at limit ** 13 norm .11102E-09 .81833 .77334E-07** at limit ** 14 Prefactor 1.8969 5.0232 -.31892E-07 -.37740E-03 15 Prefactor .55511E-10 1.6429 -.40627E-07** at limit ** 16 Prefactor .28000E-06 19.517 -.22095E-06** at limit ** 17 Normalizat 1.3121 .12748 .21455E-06 .93881E-04 18 Prefactor .96547 .34963E-01 -.19200E-07 .13988E-03 ERR DEF= .500 Final values: Prefactor = 2.77556e-10 Prefactor = 6.21725e-09 Prefactor = 4.2566e-07 norm = 0.131188 norm = 14.2028 Prefactor = 3.41465 norm = 1.09537e-05 Prefactor = 5.12974 Prefactor = 9.01033 Prefactor = 2.63824 norm = 7.54952e-09 norm = 5.55112e-11 norm = 1.11022e-10 Prefactor = 1.8969 Prefactor = 5.55112e-11 Prefactor = 2.79998e-07 Normalizat = 1.31212 Prefactor = 0.965469 ********** ** 18 **HESSE ********** FCN= 43710.96 FROM HESSE STATUS=OK 296 CALLS 1422 TOTAL EDM= .17E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27756E-09 2.0654 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .62172E-08 7.1215 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .42566E-06 12.203 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .13119 .45187 .13156E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 14.203 22.400 .26389E-03 -1.5633 6 Prefactor 3.4146 2.3893 .54732E-03 -1.5671 7 norm .10954E-04 1.6148 .89161E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 5.1297 2.7925 .44431E-03 -1.5663 9 Prefactor 9.0103 12.999 .32953E-03 -1.5648 10 Prefactor 2.6382 4.4274 .62860E-03 -1.5675 11 norm .75495E-08 4.3652 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .55511E-10 .42873 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .11102E-09 .24988 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.8969 5.0223 .75219E-03 -1.5680 15 Prefactor .55511E-10 1.6498 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .28000E-06 20.082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Normalizat 1.3121 .11784 .10060 -.83205 18 Prefactor .96547 .31933E-01 .32577E-01 -.93890 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.72151e-06 Minuit parameter uncertainties: 1 4.64182e-05 2 0.000420133 3 0.0045583 4 0.451873 5 22.4001 6 2.38931 7 0.00841135 8 2.79246 9 12.9994 10 4.42742 11 0.000363309 12 7.17988e-06 13 9.26214e-06 14 5.02236 15 1.94878e-05 16 0.00474259 17 0.11786 18 0.0319336 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43710.9618018 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 7.550e-09 3.633e-04 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.655e-01 3.193e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.312e+00 1.179e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 280.453 32.301 Photon Flux Upper Limit: 4.33390371897e-09 ph cm-2 s-1 Energy Flux Upper Limit: 1.40874476946e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18886851/likelihoodResults_708912001_709516801_4FGL_J1841.8+3218_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) = 43710.9620028 delta logL = -0.000200944690732 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 43710.9618025 delta logL = -7.21724063624e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .41134E-07 1.0000 .0000 .10000E+07 2 'alpha ' .14532 1.0000 .0000 5.0000 3 'Normalizat' 1.3121 1.0000 .10000E-01 10.000 4 'Prefactor ' .96550 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 43710.96 FROM MIGRAD STATUS=CONVERGED 82 CALLS 291 TOTAL EDM= .88E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11102E-09 .42994 .42118E-02** at limit ** 2 alpha 3.9462 4.3492 .49809 -.73039E-10 3 Normalizat 1.3121 .57244E-02 .10060 .19039E-02 4 Prefactor .96547 .16231E-02 .32577E-01 .56961E-02 ERR DEF= .500 Final values: norm = 1.11022e-10 alpha = 3.94623 Normalizat = 1.31212 Prefactor = 0.965469 ********** ** 18 **HESSE ********** FCN= 43710.96 FROM HESSE STATUS=OK 29 CALLS 320 TOTAL EDM= .21E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11102E-09 1.8588 .15401E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 3.9462 4.1702 .50000 .61688 3 Normalizat 1.3121 .12240 .44577E-03 -.83205 4 Prefactor .96547 .34802E-01 .14395E-03 -.93890 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.09889e-09 Minuit parameter uncertainties: 1 2.89123e-05 2 3.01122 3 0.122426 4 0.0348026 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) = 43710.9618018 delta logL = -8.0035533756e-11 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 1.110e-10 2.891e-05 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 3.946e+00 3.011e+00 0.000e+00 5.000e+00 ( 1.000e+00) 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.655e-01 3.480e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.312e+00 1.224e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 280.453 32.301 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/18886851/cmap_HighResolution_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-05', job_status='DONE', photon_flux_upper_limit='4.33e-09', time_completed='2023-07-10 10:33:04.374145', job_id='18886851', GAL2='0.97', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1689010384.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-8.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.56' WHERE bin_id='777' AND source_name='4FGL J1841.8+3218' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 10:33:04 PDT 2023 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43710.9618018 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 7.550e-09 3.633e-04 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.655e-01 3.193e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.312e+00 1.179e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 280.453 32.301 Photon Flux Upper Limit: 4.33390371897e-09 ph cm-2 s-1 Energy Flux Upper Limit: 1.40874476946e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18887329/likelihoodResults_708912001_709516801_4FGL_J1841.8+3218_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) = 43710.9620028 delta logL = -0.000200944690732 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 43710.9618025 delta logL = -7.21724063624e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .41134E-07 1.0000 .0000 .10000E+07 2 'alpha ' .14532 1.0000 .0000 5.0000 3 'Normalizat' 1.3121 1.0000 .10000E-01 10.000 4 'Prefactor ' .96550 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 43710.96 FROM MIGRAD STATUS=CONVERGED 82 CALLS 291 TOTAL EDM= .88E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11102E-09 .42994 .42118E-02** at limit ** 2 alpha 3.9462 4.3492 .49809 -.73039E-10 3 Normalizat 1.3121 .57244E-02 .10060 .19039E-02 4 Prefactor .96547 .16231E-02 .32577E-01 .56961E-02 ERR DEF= .500 Final values: norm = 1.11022e-10 alpha = 3.94623 Normalizat = 1.31212 Prefactor = 0.965469 ********** ** 18 **HESSE ********** FCN= 43710.96 FROM HESSE STATUS=OK 29 CALLS 320 TOTAL EDM= .21E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11102E-09 1.8588 .15401E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 3.9462 4.1702 .50000 .61688 3 Normalizat 1.3121 .12240 .44577E-03 -.83205 4 Prefactor .96547 .34802E-01 .14395E-03 -.93890 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.09889e-09 Minuit parameter uncertainties: 1 2.89123e-05 2 3.01122 3 0.122426 4 0.0348026 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) = 43710.9618018 delta logL = -8.0035533756e-11 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 1.110e-10 2.891e-05 0.000e+00 1.000e+06 ( 1.000e-14) 366 alpha: 3.946e+00 3.011e+00 0.000e+00 5.000e+00 ( 1.000e+00) 367 beta: 2.467e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.655e-01 3.480e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.312e+00 1.224e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 280.453 32.301 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/18887329/cmap_HighResolution_708912001_709516801_4FGL_J1841.8+3218_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-05', job_status='DONE', photon_flux_upper_limit='4.33e-09', time_completed='2023-07-10 10:36:47.029462', job_id='18887329', GAL2='0.97', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1689010607.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-8.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.56' WHERE bin_id='777' AND source_name='4FGL J1841.8+3218' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 10:36:47 PDT 2023