/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 = 17314 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1848.5+6537_weekly_bin795 RA = 282.133, Dec = 65.6313 tmin = 719798401, tmax = 720403201 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='32439153', job_status='RUN', time_executed='2023-10-31 02:16:17.189995', time_epoch_executed='1698743777.19' WHERE source_name='4FGL J1848.5+6537' and cadence='weekly' and bin_id='795' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32439153 Creating custom pfile directory: /lscratch/kocevski/32439153/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=719798401.0 && nMetStart<720403201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=719798401.0 && nMetStart<720403201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32439153/ft1_4FGL_J1848.5+6537_weekly_bin795.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=719798401.0 && nMetStart<720403201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32439153/ft1_4FGL_J1848.5+6537_weekly_bin795.fits outfile=/lscratch/kocevski/32439153/ft1_filteredMKT_4FGL_J1848.5+6537_weekly_bin795.fits ra=282.133 dec=65.6313 rad=12.0 tmin=719798401.0 tmax=720403201.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.75 user 4.06 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.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/32439153/ft1_filteredMKT_4FGL_J1848.5+6537_weekly_bin795.fits evtable="EVENTS" outfile="/lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.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.93 user 0.21 sys 0.12 Number of photons that the gtmktime cut: 2782 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32439153/ltcube_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.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/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits .....................! real 21.68 user 20.74 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.fits evtable="EVENTS" scfile=/lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32439153/ltcube_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.fits outfile=/lscratch/kocevski/32439153/expmap_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.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/32439153/ltcube_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.fits .....................! real 65.81 user 61.18 sys 3.79 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 HB 21 in ROI with RadialDisk spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model. Added 181 point sources and 3 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 J1848.5+6537 @ 282.133 65.6313 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.fits scfile=/lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits outfile=/lscratch/kocevski/32439153/cmap_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.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=282.133 yref=65.6313 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.73 user 0.24 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.fits scfile=/lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits outfile=/lscratch/kocevski/32439153/cmap_HighResolution_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.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=282.133 yref=65.6313 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.70 user 0.22 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.fits evtable="EVENTS" scfile=/lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32439153/Model_4FGL_J1848.5+6537_weekly_bin795.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 FHES J2129.9+5833 adding source FHES J2208.4+6443 adding source GAL_V02 adding source HB 21 Working on... /lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.fits.....................! real 120.42 user 118.25 sys 0.75 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.fits', '/lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits', expMap='/lscratch/kocevski/32439153/expmap_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.fits', expCube='/lscratch/kocevski/32439153/ltcube_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32439153/Model_4FGL_J1848.5+6537_weekly_bin795.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1848.5+6537' 4FGL J1848.5+6537 Spectrum: PowerLaw 351 Prefactor: 3.482e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.750e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 353 Scale: 6.537e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/32439153/ft1_filtered_4FGL_J1848.5+6537_weekly_bin795.fits Spacecraft file(s): /lscratch/kocevski/32439153/ft2_4FGL_J1848.5+6537_weekly_bin795.fits Exposure map: /lscratch/kocevski/32439153/expmap_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.fits Exposure cube: /lscratch/kocevski/32439153/ltcube_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32439153/Model_4FGL_J1848.5+6537_weekly_bin795.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) = 28264.5446825 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28264.4517274 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .99734 1.0000 .0000 .10000E+07 2 'Prefactor ' .34828E-05 1.0000 .0000 .10000E+07 3 'Prefactor ' .25931E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .11078 1.0000 .0000 .10000E+07 5 'Prefactor ' .32350 1.0000 .0000 .10000E+07 6 'Prefactor ' .22808E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' .10006E-01 1.0000 .0000 .10000E+07 8 'norm ' 3.7499 1.0000 .0000 .10000E+07 9 'norm ' 9.3889 1.0000 .0000 .10000E+07 10 'Prefactor ' 11.391 1.0000 .0000 .10000E+07 11 'Prefactor ' .83243E-02 1.0000 .0000 .10000E+07 12 'Prefactor ' 4.7102 1.0000 .0000 .10000E+07 13 'norm ' 8.0917 1.0000 .0000 .10000E+07 14 'Prefactor ' .47023E-06 1.0000 .0000 .10000E+07 15 'Prefactor ' 6.7601 1.0000 .0000 .10000E+07 16 'Prefactor ' .37270E-03 1.0000 .0000 .10000E+07 17 'norm ' .86130 1.0000 .0000 .10000E+07 18 'norm ' 2.5917 1.0000 .0000 .10000E+07 19 'norm ' 4.1099 1.0000 .0000 .10000E+07 20 'norm ' 1.8573 1.0000 .0000 .10000E+07 21 'Prefactor ' 3.4426 1.0000 .0000 .10000E+07 22 'Prefactor ' .17297 1.0000 .0000 .10000E+07 23 'norm ' 5.0668 1.0000 .0000 .10000E+07 24 'norm ' .16588E-03 1.0000 .0000 .10000E+07 25 'norm ' .32702E-05 1.0000 .0000 .10000E+07 26 'Prefactor ' 36.181 1.0000 .0000 .10000E+07 27 'norm ' .65753E-06 1.0000 .0000 .10000E+07 28 'norm ' .36106E-02 1.0000 .0000 .10000E+07 29 'Normalizat' 1.0377 1.0000 .10000E-01 10.000 30 'Prefactor ' 1.0750 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6110E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 28264.45 FROM MIGRAD STATUS=CONVERGED 189 CALLS 2907 TOTAL EDM= .29E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .99756 .43577 -.40587E-07 -.20136E-02 2 Prefactor .55511E-10 1.5534 -.30129E-07** at limit ** 3 Prefactor .47684E-07 6.9844 .32786E-06** at limit ** 4 Prefactor .11682 18.557 -.43832E-06** at limit ** 5 Prefactor .32425 12.775 .46693E-06 .79499E-03 6 Prefactor .20206E-07 7.1183 -.70677E-06** at limit ** 7 Prefactor .12845E-06 19.599 .17999E-06** at limit ** 8 norm 3.7505 1.6889 -.56011E-07 -.24665E-02 9 norm 9.3876 3.3999 -.12071E-06 -.24796E-02 10 Prefactor 11.371 1.8586 .46391E-07 .11456E-01 11 Prefactor .18414E-05 18.961 .40204E-06** at limit ** 12 Prefactor 4.7172 4.2260 .52620E-07 .23297E-02 13 norm 8.0963 5.4037 .12852E-06 -.10586E-02 14 Prefactor .22204E-09 2.9635 -.10346E-06** at limit ** 15 Prefactor 6.7510 8.1248 -.55196E-06 -.11209E-01 16 Prefactor .12268E-06 8.4537 -.67704E-06** at limit ** 17 norm .86103 1.1194 .13538E-06 -.18978E-02 18 norm 2.5915 1.3307 .85132E-08 .29286E-02 19 norm 4.1156 2.6072 -.22605E-06 .37197E-02 20 norm 1.8229 5.4249 .50440E-07 .56699E-03 21 Prefactor 3.5417 9.9863 -.10272E-05 -.91977E-02 22 Prefactor .16282 16.371 -.60151E-06** at limit ** 23 norm 5.0667 1.1902 .76034E-08 -.39600E-02 24 norm .18374E-07 8.4526 .32059E-06** at limit ** 25 norm .38726E-05 16.548 -.37673E-06** at limit ** 26 Prefactor 36.132 2.0757 -.52006E-07 -.50541E-02 27 norm .0000 1.2733 .13287E-06** at limit ** 28 norm .15088E-06 3.5297 .16045E-06** at limit ** 29 Normalizat 1.0374 .13889 .19639E-05 -.49919E-04 30 Prefactor 1.0751 .59633E-01 -.29296E-07 -.22423E-03 ERR DEF= .500 Final values: norm = 0.997564 Prefactor = 5.55112e-11 Prefactor = 4.76841e-08 Prefactor = 0.116817 Prefactor = 0.324247 Prefactor = 2.02061e-08 Prefactor = 1.28453e-07 norm = 3.75051 norm = 9.38756 Prefactor = 11.3713 Prefactor = 1.84142e-06 Prefactor = 4.71717 norm = 8.09629 Prefactor = 2.22045e-10 Prefactor = 6.75097 Prefactor = 1.2268e-07 norm = 0.861032 norm = 2.5915 norm = 4.1156 norm = 1.82289 Prefactor = 3.54166 Prefactor = 0.162821 norm = 5.06671 norm = 1.83742e-08 norm = 3.87262e-06 Prefactor = 36.1318 norm = 0 norm = 1.50879e-07 Normalizat = 1.03745 Prefactor = 1.07512 ********** ** 18 **HESSE ********** FCN= 28264.45 FROM HESSE STATUS=OK 670 CALLS 3577 TOTAL EDM= .12E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .99756 .43610 .43671E-04 -1.5688 2 Prefactor .55511E-10 1.5612 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .47684E-07 8.2923 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .11682 1.1034 .91750E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .32425 2.0273 .98946E-02 -1.5697 6 Prefactor .20206E-07 16.303 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .12845E-06 21.269 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 3.7505 1.6927 .52114E-03 -1.5669 9 norm 9.3876 3.4145 .32682E-03 -1.5647 10 Prefactor 11.371 9.8410 .29658E-03 -1.5641 11 Prefactor .18414E-05 29.698 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 4.7172 4.2671 .46342E-03 -1.5665 13 norm 8.0963 5.4141 .35222E-03 -1.5651 14 Prefactor .22204E-09 2.9918 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 6.7510 8.2368 .38568E-03 -1.5656 16 Prefactor .12268E-06 15.693 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .86103 1.1354 .48473E-03 -1.5689 18 norm 2.5915 1.3332 .63355E-03 -1.5676 19 norm 4.1156 2.6177 .49702E-03 -1.5667 20 norm 1.8229 5.4670 .76445E-03 -1.5681 21 Prefactor 3.5417 10.644 .54486E-03 -1.5670 22 Prefactor .16282 .76833 .93837E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 5.0667 1.2254 .44646E-03 -1.5663 24 norm .18374E-07 9.4967 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .38726E-05 35.908 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor 36.132 14.559 .16627E-03 -1.5588 27 norm .0000 1.2394 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 norm .15088E-06 10.239 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Normalizat 1.0374 .12781 .91030E-01 -.91786 30 Prefactor 1.0751 .54419E-01 .38623E-01 -.90266 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.23944e-06 Minuit parameter uncertainties: 1 0.436104 2 1.54539e-05 3 0.00125763 4 0.718055 5 1.62153 6 0.00114821 7 0.00330599 8 1.69268 9 3.41455 10 9.84099 11 0.0147901 12 4.26712 13 5.41411 14 5.1983e-05 15 8.23681 16 0.00277526 17 1.13537 18 1.33322 19 2.61769 20 5.46705 21 10.6444 22 0.70739 23 1.22535 24 0.000834893 25 0.0235848 26 14.559 27 6.27199e-06 28 0.00248579 29 0.127851 30 0.0544215 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28264.4510765 Extracting fit parameters... 4FGL J1848.5+6537 Spectrum: PowerLaw 351 Prefactor: 1.227e-07 2.775e-03 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.750e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 353 Scale: 6.537e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.075e+00 5.442e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 596 Normalization: 1.037e+00 1.279e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 282.133 65.631 Photon Flux Upper Limit: 1.59826862739e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00117201819997 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32439153/likelihoodResults_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.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) = 28264.4815067 delta logL = -0.0304301321885 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 28264.4510812 delta logL = -4.64958429802e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .73903E-04 1.0000 .0000 .10000E+07 2 'Index ' .22085 1.0000 .0000 10.000 3 'Normalizat' 1.0373 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0752 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6110E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 28264.45 FROM MIGRAD STATUS=CONVERGED 41 CALLS 220 TOTAL EDM= .40E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 12.431 .42118E-03** at limit ** 2 Index 1.9521 1.3813 .15007E-03 .0000 3 Normalizat 1.0374 1.2234 .18038E-04 .22187E-03 4 Prefactor 1.0751 1.1667 -.61384E-05 .11204E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.95206 Normalizat = 1.03745 Prefactor = 1.07512 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 28264.45 FROM HESSE STATUS=FAILED 9 CALLS 229 TOTAL EDM= .40E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 12.431 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .40499 1.7381 .15007E-03 -.65554 3 Normalizat 1.0374 1.2234 .18038E-04 -.91786 4 Prefactor 1.0751 1.1667 -.61384E-05 -.90266 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 3.9634e-11 Minuit parameter uncertainties: 1 1.33581e-05 2 1.41088 3 1.25927 4 1.19623 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 28264.4510765 delta logL = 3.88172338717e-09 Extracting fit parameters... 4FGL J1848.5+6537 Spectrum: PowerLaw 351 Prefactor: 0.000e+00 1.336e-05 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.952e+00 1.411e+00 0.000e+00 1.000e+01 (-1.000e+00) 353 Scale: 6.537e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.075e+00 1.196e+00 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 596 Normalization: 1.037e+00 1.259e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 282.133 65.631 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/32439153/cmap_HighResolution_719798401_720403201_4FGL_J1848.5+6537_weekly_bin795.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-03', job_status='DONE', photon_flux_upper_limit='1.60e-08', time_completed='2023-10-31 02:35:28.410662', job_id='32439153', GAL2='1.08', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1698744928.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.88e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='795' AND source_name='4FGL J1848.5+6537' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 31 02:35:28 PDT 2023