/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 = 17299 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0941.7+4125_weekly_bin839 RA = 145.45, Dec = 41.4216 tmin = 746409601, tmax = 747014401 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='55072001', job_status='RUN', time_executed='2024-09-06 18:21:16.696875', time_epoch_executed='1725672076.7' WHERE source_name='4FGL J0941.7+4125' and cadence='weekly' and bin_id='839' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/55072001 Creating custom pfile directory: /lscratch/kocevski/55072001/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/55072001/ft1_4FGL_J0941.7+4125_weekly_bin839.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/55072001/ft1_4FGL_J0941.7+4125_weekly_bin839.fits outfile=/lscratch/kocevski/55072001/ft1_filteredMKT_4FGL_J0941.7+4125_weekly_bin839.fits ra=145.45 dec=41.4216 rad=12.0 tmin=746409601.0 tmax=747014401.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 6.26 user 5.85 sys 0.29 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.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/55072001/ft1_filteredMKT_4FGL_J0941.7+4125_weekly_bin839.fits evtable="EVENTS" outfile="/lscratch/kocevski/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.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.38 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 1127 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.fits" evtable="EVENTS" scfile=/lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits sctable="SC_DATA" outfile=/lscratch/kocevski/55072001/ltcube_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.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/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits .....................! real 18.09 user 17.62 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.fits evtable="EVENTS" scfile=/lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits sctable="SC_DATA" expcube=/lscratch/kocevski/55072001/ltcube_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.fits outfile=/lscratch/kocevski/55072001/expmap_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.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/55072001/ltcube_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.fits .....................! real 64.42 user 60.15 sys 3.77 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 215 point sources and 0 extended sources Setting source of interest to: 4FGL J0941.7+4125 @ 145.45 41.4216 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.fits scfile=/lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits outfile=/lscratch/kocevski/55072001/cmap_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.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=145.45 yref=41.4216 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.39 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.fits scfile=/lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits outfile=/lscratch/kocevski/55072001/cmap_HighResolution_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.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=145.45 yref=41.4216 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.42 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.fits evtable="EVENTS" scfile=/lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/55072001/Model_4FGL_J0941.7+4125_weekly_bin839.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/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.fits.....................! real 35.91 user 34.70 sys 0.88 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.fits', '/lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits', expMap='/lscratch/kocevski/55072001/expmap_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.fits', expCube='/lscratch/kocevski/55072001/ltcube_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/55072001/Model_4FGL_J0941.7+4125_weekly_bin839.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0941.7+4125' 4FGL J0941.7+4125 Spectrum: LogParabola 319 norm: 1.978e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 320 alpha: 2.820e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 321 beta: 6.575e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 322 Eb: 1.286e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/55072001/ft1_filtered_4FGL_J0941.7+4125_weekly_bin839.fits Spacecraft file(s): /lscratch/kocevski/55072001/ft2_4FGL_J0941.7+4125_weekly_bin839.fits Exposure map: /lscratch/kocevski/55072001/expmap_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.fits Exposure cube: /lscratch/kocevski/55072001/ltcube_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/55072001/Model_4FGL_J0941.7+4125_weekly_bin839.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) = 12548.2596271 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12548.1504595 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 10.467 1.0000 .0000 .10000E+07 2 'Prefactor ' .26483E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.2811 1.0000 .0000 .10000E+07 4 'Prefactor ' 8.3363 1.0000 .0000 .10000E+07 5 'norm ' .29643E-07 1.0000 .0000 .10000E+07 6 'Prefactor ' 5.8994 1.0000 .0000 .10000E+07 7 'norm ' 2.1680 1.0000 .0000 .10000E+07 8 'Prefactor ' .58227E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 2.5965 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.8401 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.1325 1.0000 .0000 .10000E+07 12 'norm ' .53316E-05 1.0000 .0000 .10000E+07 13 'Prefactor ' .42093E-05 1.0000 .0000 .10000E+07 14 'Prefactor ' 2.9478 1.0000 .0000 .10000E+07 15 'Prefactor ' 15.394 1.0000 .0000 .10000E+07 16 'Prefactor ' 1.7779 1.0000 .0000 .10000E+07 17 'norm ' .54579E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' .27250E-06 1.0000 .0000 .10000E+07 19 'Prefactor ' 1.1892 1.0000 .0000 .10000E+07 20 'norm ' 4.8635 1.0000 .0000 .10000E+07 21 'Prefactor ' 12.076 1.0000 .0000 .10000E+07 22 'norm ' .13334E-03 1.0000 .0000 .10000E+07 23 'Prefactor ' 27.924 1.0000 .0000 .10000E+07 24 'Prefactor ' 2.0131 1.0000 .0000 .10000E+07 25 'Normalizat' 1.1050 1.0000 .10000E-01 10.000 26 'Prefactor ' .92364 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12548.15 FROM MIGRAD STATUS=CONVERGED 155 CALLS 1808 TOTAL EDM= .53E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 10.469 4.9223 -.53061E-07 .42346E-03 2 Prefactor .99920E-09 14.401 .65792E-06** at limit ** 3 Prefactor 2.2822 2.5682 .58009E-07 -.76030E-03 4 Prefactor 8.3252 4.5227 .44162E-07 .19941E-01 5 norm .0000 .21129 .11165E-06** at limit ** 6 Prefactor 5.9003 2.1224 .24499E-06 .55236E-03 7 norm 2.1725 5.5426 -.24450E-06 -.15315E-02 8 Prefactor .20539E-07 1.2909 -.31561E-06** at limit ** 9 Prefactor 2.5990 1.9897 .10324E-06 -.22720E-02 10 Prefactor 2.8407 2.4635 -.11030E-06 .59686E-03 11 Prefactor 5.1323 1.4072 -.26863E-08 -.72916E-02 12 norm .55511E-10 3.7818 -.48314E-06** at limit ** 13 Prefactor .14988E-08 6.9898 -.91458E-07** at limit ** 14 Prefactor 2.9488 3.9916 .51237E-07 .13819E-02 15 Prefactor 15.384 1.6991 -.29359E-07 -.14818E-01 16 Prefactor 1.7799 4.8651 .54481E-07 .75915E-04 17 norm .0000 1.5199 -.45504E-08** at limit ** 18 Prefactor .0000 1.0711 .40495E-07** at limit ** 19 Prefactor 1.1911 3.4711 -.19908E-06 -.31996E-03 20 norm 4.8645 1.6733 -.21697E-07 .14301E-02 21 Prefactor 12.061 4.9547 .35989E-06 .31665E-02 22 norm .79381E-08 8.2760 -.37957E-06** at limit ** 23 Prefactor 28.290 22.165 .35894E-06 -.46665E-02 24 Prefactor 2.0111 2.4338 .63498E-07 .53517E-04 25 Normalizat 1.1050 .14665 -.43334E-05 -.31638E-04 26 Prefactor .92355 .16329 .57635E-05 -.16346E-04 ERR DEF= .500 Final values: norm = 10.4695 Prefactor = 9.99201e-10 Prefactor = 2.28218 Prefactor = 8.32522 norm = 0 Prefactor = 5.90029 norm = 2.17249 Prefactor = 2.05391e-08 Prefactor = 2.599 Prefactor = 2.84066 Prefactor = 5.13232 norm = 5.55112e-11 Prefactor = 1.4988e-09 Prefactor = 2.94884 Prefactor = 15.3838 Prefactor = 1.7799 norm = 0 Prefactor = 0 Prefactor = 1.19109 norm = 4.86452 Prefactor = 12.0614 norm = 7.93809e-09 Prefactor = 28.2897 Prefactor = 2.01112 Normalizat = 1.10495 Prefactor = 0.923551 ********** ** 18 **HESSE ********** FCN= 12548.15 FROM HESSE STATUS=OK 526 CALLS 2334 TOTAL EDM= .11E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 10.469 4.9316 .30945E-03 -1.5643 2 Prefactor .99920E-09 14.814 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.2822 2.6927 .67953E-03 -1.5678 4 Prefactor 8.3252 13.022 .34698E-03 -1.5650 5 norm .0000 .16472 .15050E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.9003 2.4085 .41321E-03 -1.5659 7 norm 2.1725 6.5050 .69916E-03 -1.5678 8 Prefactor .20539E-07 .75420 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.5990 6.2860 .63292E-03 -1.5676 10 Prefactor 2.8407 2.4874 .60311E-03 -1.5674 11 Prefactor 5.1323 12.714 .44353E-03 -1.5663 12 norm .55511E-10 3.8050 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .14988E-08 7.4386 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 2.9488 4.2753 .59127E-03 -1.5674 15 Prefactor 15.384 15.610 .25501E-03 -1.5630 16 Prefactor 1.7799 4.9130 .78472E-03 -1.5681 17 norm .0000 1.5348 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 1.0785 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 1.1911 3.6942 .10446E-02 -1.5686 20 norm 4.8645 1.6725 .45589E-03 -1.5664 21 Prefactor 12.061 5.2794 .28802E-03 -1.5639 22 norm .79381E-08 8.8939 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 28.290 22.456 .18927E-03 -1.5602 24 Prefactor 2.0111 2.4439 .72931E-03 -1.5680 25 Normalizat 1.1050 .12605 .37801E-01 -.89593 26 Prefactor .92355 .13972 .66484E-01 -.95323 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.0742e-06 Minuit parameter uncertainties: 1 4.93164 2 0.000239935 3 2.69266 4 13.0221 5 5.07278e-07 6 2.40855 7 6.50506 8 0.0002489 9 6.28601 10 2.48745 11 12.7141 12 2.2414e-05 13 0.000209987 14 4.27526 15 15.6097 16 4.91302 17 8.74507e-06 18 3.76761e-06 19 3.6942 20 1.67252 21 5.27942 22 0.000530594 23 22.4564 24 2.44388 25 0.126086 26 0.13977 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12548.1503139 Extracting fit parameters... 4FGL J0941.7+4125 Spectrum: LogParabola 319 norm: 5.551e-11 2.241e-05 0.000e+00 1.000e+06 ( 1.000e-13) 320 alpha: 2.820e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 321 beta: 6.575e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 322 Eb: 1.286e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 676 Prefactor: 9.236e-01 1.398e-01 0.000e+00 1.000e+01 ( 1.000e+00) 677 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 678 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 675 Normalization: 1.105e+00 1.261e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 145.450 41.422 Photon Flux Upper Limit: 1.66838921248e-08 ph cm-2 s-1 Energy Flux Upper Limit: 8.52536028179e-06 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/55072001/likelihoodResults_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.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) = 12548.1539784 delta logL = -0.00366441992992 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 12548.1503141 delta logL = -2.051510819e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .75773E-07 1.0000 .0000 .10000E+07 2 'alpha ' .42013E-01 1.0000 .0000 5.0000 3 'Normalizat' 1.1049 1.0000 .10000E-01 10.000 4 'Prefactor ' .92364 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 12548.15 FROM MIGRAD STATUS=CONVERGED 35 CALLS 238 TOTAL EDM= .27E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 5.3493 .42118E-03** at limit ** 2 alpha 1.7308 1.0838 .17071E-04 .0000 3 Normalizat 1.1050 1.1519 -.38123E-05 .75188E-04 4 Prefactor .92355 1.2673 .12865E-05 .33229E-04 ERR DEF= .500 Final values: norm = 0 alpha = 1.73075 Normalizat = 1.10495 Prefactor = 0.923551 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 12548.15 FROM HESSE STATUS=FAILED 9 CALLS 247 TOTAL EDM= .27E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 5.3493 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha .66741 1.1478 .17071E-04 -.31277 3 Normalizat 1.1050 1.1519 -.38123E-05 -.89593 4 Prefactor .92355 1.2673 .12865E-05 -.95323 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.65911e-12 Minuit parameter uncertainties: 1 4.29342e-06 2 1.12535 3 1.17982 4 1.31172 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) = 12548.1503139 delta logL = 5.45696821064e-12 Extracting fit parameters... 4FGL J0941.7+4125 Spectrum: LogParabola 319 norm: 0.000e+00 4.293e-06 0.000e+00 1.000e+06 ( 1.000e-13) 320 alpha: 1.731e+00 1.125e+00 0.000e+00 5.000e+00 ( 1.000e+00) 321 beta: 6.575e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 322 Eb: 1.286e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 676 Prefactor: 9.236e-01 1.312e+00 0.000e+00 1.000e+01 ( 1.000e+00) 677 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 678 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 675 Normalization: 1.105e+00 1.180e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 145.450 41.422 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/55072001/cmap_HighResolution_746409601_747014401_4FGL_J0941.7+4125_weekly_bin839.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.53e-06', job_status='DONE', photon_flux_upper_limit='1.67e-08', time_completed='2024-09-06 18:29:52.973805', job_id='55072001', GAL2='0.92', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1725672592.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='839' AND source_name='4FGL J0941.7+4125' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri Sep 6 18:29:53 PDT 2024