/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 = 17475 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1941.7+7218_weekly_bin831 RA = 295.437, Dec = 72.3101 tmin = 741571201, tmax = 742176001 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='52004879', job_status='RUN', time_executed='2024-07-09 03:41:04.630212', time_epoch_executed='1720521664.63' WHERE source_name='4FGL J1941.7+7218' and cadence='weekly' and bin_id='831' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/52004879 Creating custom pfile directory: /lscratch/kocevski/52004879/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=741571201.0 && nMetStart<742176001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=741571201.0 && nMetStart<742176001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/52004879/ft1_4FGL_J1941.7+7218_weekly_bin831.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=741571201.0 && nMetStart<742176001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/52004879/ft1_4FGL_J1941.7+7218_weekly_bin831.fits outfile=/lscratch/kocevski/52004879/ft1_filteredMKT_4FGL_J1941.7+7218_weekly_bin831.fits ra=295.437 dec=72.3101 rad=12.0 tmin=741571201.0 tmax=742176001.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 5.40 user 4.50 sys 0.29 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.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/52004879/ft1_filteredMKT_4FGL_J1941.7+7218_weekly_bin831.fits evtable="EVENTS" outfile="/lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.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.82 user 0.18 sys 0.15 Number of photons that the gtmktime cut: 4074 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.fits" evtable="EVENTS" scfile=/lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits sctable="SC_DATA" outfile=/lscratch/kocevski/52004879/ltcube_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.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/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits .....................! real 15.95 user 15.01 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.fits evtable="EVENTS" scfile=/lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits sctable="SC_DATA" expcube=/lscratch/kocevski/52004879/ltcube_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.fits outfile=/lscratch/kocevski/52004879/expmap_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.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/52004879/ltcube_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.fits .....................! real 60.05 user 55.70 sys 3.47 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 FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model. Added 191 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 J1941.7+7218 @ 295.437 72.3101 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.fits scfile=/lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits outfile=/lscratch/kocevski/52004879/cmap_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.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=295.437 yref=72.3101 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.90 user 0.20 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.fits scfile=/lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits outfile=/lscratch/kocevski/52004879/cmap_HighResolution_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.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=295.437 yref=72.3101 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.22 user 0.21 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.fits evtable="EVENTS" scfile=/lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/52004879/Model_4FGL_J1941.7+7218_weekly_bin831.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 Working on... /lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.fits.....................! real 170.47 user 168.06 sys 0.84 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.fits', '/lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits', expMap='/lscratch/kocevski/52004879/expmap_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.fits', expCube='/lscratch/kocevski/52004879/ltcube_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/52004879/Model_4FGL_J1941.7+7218_weekly_bin831.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1941.7+7218' 4FGL J1941.7+7218 Spectrum: PowerLaw 385 Prefactor: 1.111e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 386 Index: 2.770e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 387 Scale: 6.329e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/52004879/ft1_filtered_4FGL_J1941.7+7218_weekly_bin831.fits Spacecraft file(s): /lscratch/kocevski/52004879/ft2_4FGL_J1941.7+7218_weekly_bin831.fits Exposure map: /lscratch/kocevski/52004879/expmap_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.fits Exposure cube: /lscratch/kocevski/52004879/ltcube_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/52004879/Model_4FGL_J1941.7+7218_weekly_bin831.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) = 40606.5337141 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 40606.469777 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .41689E-07 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.5790 1.0000 .0000 .10000E+07 3 'norm ' 20.792 1.0000 .0000 .10000E+07 4 'norm ' 4.0009 1.0000 .0000 .10000E+07 5 'norm ' 8.0984 1.0000 .0000 .10000E+07 6 'Prefactor ' 9.8130 1.0000 .0000 .10000E+07 7 'Prefactor ' .15751E-05 1.0000 .0000 .10000E+07 8 'Prefactor ' 3.2543 1.0000 .0000 .10000E+07 9 'Prefactor ' 2.4980 1.0000 .0000 .10000E+07 10 'Prefactor ' .36136E-04 1.0000 .0000 .10000E+07 11 'norm ' .70187 1.0000 .0000 .10000E+07 12 'norm ' .75683E-03 1.0000 .0000 .10000E+07 13 'norm ' 31.996 1.0000 .0000 .10000E+07 14 'Prefactor ' 5.2698 1.0000 .0000 .10000E+07 15 'Prefactor ' .14454E-03 1.0000 .0000 .10000E+07 16 'norm ' 2.3653 1.0000 .0000 .10000E+07 17 'norm ' 21.388 1.0000 .0000 .10000E+07 18 'norm ' 3.1424 1.0000 .0000 .10000E+07 19 'norm ' 8.3591 1.0000 .0000 .10000E+07 20 'Prefactor ' 34.520 1.0000 .0000 .10000E+07 21 'norm ' .89084E-06 1.0000 .0000 .10000E+07 22 'Prefactor ' 17.401 1.0000 .0000 .10000E+07 23 'norm ' 1.0499 1.0000 .0000 .10000E+07 24 'Prefactor ' .39524E-07 1.0000 .0000 .10000E+07 25 'Prefactor ' 76.399 1.0000 .0000 .10000E+07 26 'Normalizat' 1.1296 1.0000 .10000E-01 10.000 27 'Prefactor ' .94879 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 40606.47 FROM MIGRAD STATUS=CONVERGED 149 CALLS 1933 TOTAL EDM= .48E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.5258 -.31488E-06** at limit ** 2 Prefactor 1.7052 30.440 -.20742E-05 -.93550E-03 3 norm 20.793 2.7056 .17343E-07 -.34351E-02 4 norm 3.9999 .56152 .42289E-08 .12418E-01 5 norm 8.0932 2.9831 -.52375E-07 .35555E-02 6 Prefactor 9.8160 1.7081 .26707E-06 -.25758E-01 7 Prefactor .12795E-06 29.007 .91152E-06** at limit ** 8 Prefactor 3.2556 3.4548 .31525E-06 -.75479E-03 9 Prefactor 2.5317 7.1550 -.61920E-06 -.79815E-03 10 Prefactor .21472E-06 20.011 .12242E-05** at limit ** 11 norm .70047 1.2766 .94068E-07 .47561E-04 12 norm .16167E-02 4.9946 .12302E-05** at limit ** 13 norm 32.031 8.0884 .67190E-06 .14161E-01 14 Prefactor 5.2804 7.9569 .29036E-06 .57410E-03 15 Prefactor .77549E-07 8.6356 .11446E-05** at limit ** 16 norm 2.3653 .79729 .55705E-07 -.41758E-02 17 norm 21.287 1.9593 -.82217E-07 .46660E-01 18 norm 3.1420 1.7691 .70493E-07 .37457E-02 19 norm 8.4469 6.2865 -.10670E-06 -.22595E-02 20 Prefactor 34.398 2.9922 .19601E-06 -.39075E-01 21 norm .55511E-09 2.6239 -.54577E-06** at limit ** 22 Prefactor 17.411 4.1168 -.52686E-06 -.27533E-01 23 norm 1.0501 2.5795 -.14115E-06 .12636E-02 24 Prefactor .0000 .44168 -.20474E-06** at limit ** 25 Prefactor 75.860 3.9889 .46932E-08 .40580E-01 26 Normalizat 1.1293 .12037 .12626E-05 -.24386E-03 27 Prefactor .94895 .33286E-01 .59761E-06 -.39675E-03 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 1.70524 norm = 20.7927 norm = 3.99987 norm = 8.09319 Prefactor = 9.81604 Prefactor = 1.27953e-07 Prefactor = 3.25558 Prefactor = 2.53172 Prefactor = 2.14717e-07 norm = 0.700475 norm = 0.00161667 norm = 32.0306 Prefactor = 5.28041 Prefactor = 7.75491e-08 norm = 2.36533 norm = 21.2868 norm = 3.14196 norm = 8.44689 Prefactor = 34.3979 norm = 5.55112e-10 Prefactor = 17.4112 norm = 1.05006 Prefactor = 0 Prefactor = 75.8597 Normalizat = 1.12925 Prefactor = 0.948954 ********** ** 18 **HESSE ********** FCN= 40606.47 FROM HESSE STATUS=OK 572 CALLS 2505 TOTAL EDM= .60E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.5153 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.7052 32.220 .84499E-03 -1.5682 3 norm 20.793 2.6995 .21937E-03 -1.5617 4 norm 3.9999 .56446 .50396E-03 -1.5668 5 norm 8.0932 2.9964 .35208E-03 -1.5651 6 Prefactor 9.8160 12.495 .31964E-03 -1.5645 7 Prefactor .12795E-06 29.742 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 3.2556 3.5038 .56117E-03 -1.5672 9 Prefactor 2.5317 7.3699 .64636E-03 -1.5676 10 Prefactor .21472E-06 20.194 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .70047 1.3104 .60557E-03 -1.5691 12 norm .16167E-02 1.1836 .71914E-02 -1.5709 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 32.031 9.1106 .17681E-03 -1.5595 14 Prefactor 5.2804 8.6519 .43761E-03 -1.5662 15 Prefactor .77549E-07 .85439 .59798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.3653 .81505 .66601E-03 -1.5677 17 norm 21.287 16.506 .21629E-03 -1.5616 18 norm 3.1420 1.7942 .57159E-03 -1.5673 19 norm 8.4469 6.3054 .34650E-03 -1.5650 20 Prefactor 34.398 13.626 .17022E-03 -1.5591 21 norm .55511E-09 2.5941 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 17.411 8.3822 .23983E-03 -1.5625 23 norm 1.0501 2.0915 .11481E-01 -1.5687 24 Prefactor .0000 .44306 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 75.860 26.070 .11442E-03 -1.5534 26 Normalizat 1.1293 .11800 .10172 -.88818 27 Prefactor .94895 .31644E-01 .33214E-01 -.94451 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.04804e-06 Minuit parameter uncertainties: 1 8.38394e-06 2 14.8248 3 2.69947 4 0.564455 5 2.99642 6 12.4947 7 0.00390128 8 3.50377 9 7.36996 10 0.00416472 11 1.31039 12 0.0874857 13 9.11059 14 8.65191 15 0.000514799 16 0.815051 17 16.5058 18 1.79423 19 6.30544 20 13.6259 21 7.45029e-05 22 8.38221 23 2.09153 24 5.01881e-07 25 26.07 26 0.118025 27 0.0316449 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 40606.469345 Extracting fit parameters... 4FGL J1941.7+7218 Spectrum: PowerLaw 385 Prefactor: 7.755e-08 5.148e-04 0.000e+00 1.000e+06 ( 1.000e-12) 386 Index: 2.770e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 387 Scale: 6.329e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 637 Prefactor: 9.490e-01 3.164e-02 0.000e+00 1.000e+01 ( 1.000e+00) 638 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 639 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 629 Normalization: 1.129e+00 1.180e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 295.437 72.310 Photon Flux Upper Limit: 4.77005930344e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00377012024166 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/52004879/likelihoodResults_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.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) = 40606.4819584 delta logL = -0.0126134007296 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 40606.4693482 delta logL = -3.16444493365e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .20858E-04 1.0000 .0000 .10000E+07 2 'Index ' 3.1617 1.0000 .0000 10.000 3 'Normalizat' 1.1292 1.0000 .10000E-01 10.000 4 'Prefactor ' .94896 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 40606.47 FROM MIGRAD STATUS=CONVERGED 47 CALLS 260 TOTAL EDM= .52E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 2.1877 .42118E-03** at limit ** 2 Index 1.9056 .84790 -.13677E-04 .0000 3 Normalizat 1.1293 1.1371 -.14459E-05 .70260E-04 4 Prefactor .94895 1.2913 .10563E-07 .50708E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.90564 Normalizat = 1.12925 Prefactor = 0.948954 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 40606.47 FROM HESSE STATUS=FAILED 9 CALLS 269 TOTAL EDM= .52E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 2.1877 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .38212 1.5965 -.13677E-04 -.66730 3 Normalizat 1.1293 1.1371 -.14459E-05 -.88818 4 Prefactor .94895 1.2913 .10563E-07 -.94451 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 5.21566e-12 Minuit parameter uncertainties: 1 1.00426e-05 2 0.854626 3 1.16336 4 1.33716 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) = 40606.469345 delta logL = 4.44561010227e-09 Extracting fit parameters... 4FGL J1941.7+7218 Spectrum: PowerLaw 385 Prefactor: 0.000e+00 1.004e-05 0.000e+00 1.000e+06 ( 1.000e-12) 386 Index: 1.906e+00 8.546e-01 0.000e+00 1.000e+01 (-1.000e+00) 387 Scale: 6.329e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 637 Prefactor: 9.490e-01 1.337e+00 0.000e+00 1.000e+01 ( 1.000e+00) 638 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 639 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 629 Normalization: 1.129e+00 1.163e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 295.437 72.310 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/52004879/cmap_HighResolution_741571201_742176001_4FGL_J1941.7+7218_weekly_bin831.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.77e-03', job_status='DONE', photon_flux_upper_limit='4.77e-08', time_completed='2024-07-09 04:12:03.786953', job_id='52004879', GAL2='0.95', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1720523523.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.45e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='831' AND source_name='4FGL J1941.7+7218' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 9 04:12:05 PDT 2024