/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 = 17117 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+1012_weekly_bin791 RA = 77.351, Dec = 10.2008 tmin = 717379201, tmax = 717984001 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='29830501', job_status='RUN', time_executed='2023-10-03 00:16:09.192290', time_epoch_executed='1696317369.19' WHERE source_name='4FGL J0509.4+1012' and cadence='weekly' and bin_id='791' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/29830501 Creating custom pfile directory: /lscratch/kocevski/29830501/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=717379201.0 && nMetStart<717984001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=717379201.0 && nMetStart<717984001.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/29830501/ft1_4FGL_J0509.4+1012_weekly_bin791.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=717379201.0 && nMetStart<717984001.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/29830501/ft1_4FGL_J0509.4+1012_weekly_bin791.fits outfile=/lscratch/kocevski/29830501/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin791.fits ra=77.351 dec=10.2008 rad=12.0 tmin=717379201.0 tmax=717984001.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.89 user 4.45 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.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/29830501/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin791.fits evtable="EVENTS" outfile="/lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.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.39 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 3393 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.fits" evtable="EVENTS" scfile=/lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits sctable="SC_DATA" outfile=/lscratch/kocevski/29830501/ltcube_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.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/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits .....................! real 17.39 user 16.79 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.fits evtable="EVENTS" scfile=/lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits sctable="SC_DATA" expcube=/lscratch/kocevski/29830501/ltcube_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.fits outfile=/lscratch/kocevski/29830501/expmap_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.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/29830501/ltcube_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.fits .....................! real 66.27 user 62.18 sys 3.68 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 S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Extended source Rosette in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template. Added 159 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 J0509.4+1012 @ 77.351 10.2008 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.fits scfile=/lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits outfile=/lscratch/kocevski/29830501/cmap_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.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=77.351 yref=10.2008 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.40 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.fits scfile=/lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits outfile=/lscratch/kocevski/29830501/cmap_HighResolution_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.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=77.351 yref=10.2008 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.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.fits evtable="EVENTS" scfile=/lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/29830501/Model_4FGL_J0509.4+1012_weekly_bin791.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 IC 443 adding source Rosette adding source S 147 Working on... /lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.fits.....................! real 292.58 user 290.04 sys 1.16 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.fits', '/lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits', expMap='/lscratch/kocevski/29830501/expmap_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.fits', expCube='/lscratch/kocevski/29830501/ltcube_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/29830501/Model_4FGL_J0509.4+1012_weekly_bin791.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+1012' 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.153e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/29830501/ft1_filtered_4FGL_J0509.4+1012_weekly_bin791.fits Spacecraft file(s): /lscratch/kocevski/29830501/ft2_4FGL_J0509.4+1012_weekly_bin791.fits Exposure map: /lscratch/kocevski/29830501/expmap_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.fits Exposure cube: /lscratch/kocevski/29830501/ltcube_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/29830501/Model_4FGL_J0509.4+1012_weekly_bin791.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) = 33875.1354393 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 33875.0920674 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.4294 1.0000 .0000 .10000E+07 2 'Prefactor ' 9.1830 1.0000 .0000 .10000E+07 3 'norm ' 1.6797 1.0000 .0000 .10000E+07 4 'Prefactor ' .53403E-03 1.0000 .0000 .10000E+07 5 'norm ' 7.6761 1.0000 .0000 .10000E+07 6 'Prefactor ' 6.7002 1.0000 .0000 .10000E+07 7 'Prefactor ' .12675E-05 1.0000 .0000 .10000E+07 8 'Prefactor ' 3.3058 1.0000 .0000 .10000E+07 9 'norm ' .67890E-07 1.0000 .0000 .10000E+07 10 'norm ' 6.5312 1.0000 .0000 .10000E+07 11 'Prefactor ' .24806 1.0000 .0000 .10000E+07 12 'norm ' 1.7343 1.0000 .0000 .10000E+07 13 'Prefactor ' 5.9533 1.0000 .0000 .10000E+07 14 'Prefactor ' 12.907 1.0000 .0000 .10000E+07 15 'norm ' 1.3600 1.0000 .0000 .10000E+07 16 'Prefactor ' .19262E-07 1.0000 .0000 .10000E+07 17 'norm ' 5.3580 1.0000 .0000 .10000E+07 18 'norm ' 1.2286 1.0000 .0000 .10000E+07 19 'Prefactor ' .10908E-06 1.0000 .0000 .10000E+07 20 'Prefactor ' .43028E-02 1.0000 .0000 .10000E+07 21 'Prefactor ' 3.5294 1.0000 .0000 .10000E+07 22 'Normalizat' 1.1594 1.0000 .10000E-01 10.000 23 'Prefactor ' .94398 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 33875.09 FROM MIGRAD STATUS=CONVERGED 138 CALLS 1526 TOTAL EDM= .40E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.3902 1.1909 .14921E-07 -.40383E-01 2 Prefactor 9.1674 6.6025 .13068E-07 .63583E-03 3 norm 1.6816 1.6742 -.30346E-07 .11430E-02 4 Prefactor .69944E-08 16.871 .33388E-06** at limit ** 5 norm 7.6764 1.6214 .10498E-07 -.12898E-04 6 Prefactor 6.7424 10.800 -.63708E-08 -.35365E-02 7 Prefactor .0000 3.9260 -.31293E-07** at limit ** 8 Prefactor 3.2971 3.2894 .43477E-07 -.18413E-03 9 norm .0000 .12694 -.64716E-08** at limit ** 10 norm 6.5296 2.3958 .17061E-07 -.51289E-03 11 Prefactor .24809 1.7115 .69583E-07** at limit ** 12 norm 1.7187 2.6401 .13489E-08 -.61129E-04 13 Prefactor 5.9549 2.8713 .24692E-07 -.51925E-03 14 Prefactor 13.137 1.4395 -.17922E-07 .76588E-01 15 norm 1.3614 1.1251 .28064E-07 -.13738E-03 16 Prefactor .0000 .94270 -.32284E-07** at limit ** 17 norm 5.3611 3.9437 -.23155E-07 -.46447E-03 18 norm 1.2284 .58536 .13754E-07 .98909E-03 19 Prefactor .55511E-10 7.7590 -.23570E-06** at limit ** 20 Prefactor .12490E-07 66.547 .46091E-06** at limit ** 21 Prefactor 3.5372 3.0476 -.22782E-07 -.11160E-03 22 Normalizat 1.1593 .18487 -.18308E-05 -.27925E-04 23 Prefactor .94395 .40468E-01 -.26925E-06 -.53594E-04 ERR DEF= .500 Final values: Prefactor = 5.39021 Prefactor = 9.16735 norm = 1.68164 Prefactor = 6.99441e-09 norm = 7.67644 Prefactor = 6.74237 Prefactor = 0 Prefactor = 3.29707 norm = 0 norm = 6.52959 Prefactor = 0.248092 norm = 1.71875 Prefactor = 5.95485 Prefactor = 13.1366 norm = 1.36138 Prefactor = 0 norm = 5.36114 norm = 1.22841 Prefactor = 5.55112e-11 Prefactor = 1.249e-08 Prefactor = 3.53717 Normalizat = 1.15931 Prefactor = 0.943952 ********** ** 18 **HESSE ********** FCN= 33875.09 FROM HESSE STATUS=OK 434 CALLS 1960 TOTAL EDM= .43E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.3902 21.610 .43101E-03 -1.5662 2 Prefactor 9.1674 6.6168 .33049E-03 -1.5647 3 norm 1.6816 2.1695 .81255E-03 -1.5682 4 Prefactor .69944E-08 16.997 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 7.6764 1.6234 .36171E-03 -1.5653 6 Prefactor 6.7424 10.848 .38742E-03 -1.5656 7 Prefactor .0000 3.9276 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 3.2971 3.3016 .55655E-03 -1.5672 9 norm .0000 .12341 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 6.5296 2.4161 .39245E-03 -1.5657 11 Prefactor .24809 .65930 .63949E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 1.7187 2.6584 .79667E-03 -1.5682 13 Prefactor 5.9549 2.8881 .41131E-03 -1.5659 14 Prefactor 13.137 21.280 .27856E-03 -1.5635 15 norm 1.3614 1.1284 .93621E-03 -1.5685 16 Prefactor .0000 .94140 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 5.3611 3.9759 .43392E-03 -1.5662 18 norm 1.2284 .58825 .10147E-02 -1.5686 19 Prefactor .55511E-10 7.8328 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .12490E-07 66.373 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 3.5372 3.0694 .53783E-03 -1.5670 22 Normalizat 1.1593 .17751 .13149 -.87870 23 Prefactor .94395 .37714E-01 .32188E-01 -.94622 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.34741e-06 Minuit parameter uncertainties: 1 21.5854 2 6.61677 3 2.16949 4 0.000690033 5 1.62339 6 10.8475 7 1.76679e-06 8 3.30156 9 9.45337e-08 10 2.41608 11 0.659304 12 2.65839 13 2.88805 14 21.2803 15 1.1284 16 2.59661e-07 17 3.97593 18 0.588245 19 3.19801e-05 20 0.00182137 21 3.06939 22 0.177607 23 0.0377155 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 33875.0919274 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 2.481e-01 6.593e-01 0.000e+00 1.000e+06 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.440e-01 3.772e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.159e+00 1.776e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.04 Ra Dec: 77.351 10.201 Photon Flux Upper Limit: 5.96141057984e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00460901880147 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/29830501/likelihoodResults_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.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) = 33875.0915559 delta logL = 0.000371534588339 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 33875.0915249 delta logL = 0.000402558609494 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .25831 1.0000 .0000 .10000E+07 2 'Index ' 2.3627 1.0000 .0000 10.000 3 'Normalizat' 1.1595 1.0000 .10000E-01 10.000 4 'Prefactor ' .94393 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 33875.09 FROM MIGRAD STATUS=CONVERGED 89 CALLS 271 TOTAL EDM= .72E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .25823 2.4014 .23725E-03 -.16430E-01 2 Index 2.3627 1.7410 .20130E-01 -.23341E-03 3 Normalizat 1.1595 .17526 .58358E-03 -.32104E-03 4 Prefactor .94393 .39285E-01 .14224E-03 -.54479E-03 ERR DEF= .500 Final values: Prefactor = 0.258226 Index = 2.36273 Normalizat = 1.15947 Prefactor = 0.94393 ********** ** 18 **HESSE ********** FCN= 33875.09 FROM HESSE STATUS=OK 25 CALLS 296 TOTAL EDM= .92E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .25823 1.8563 .94902E-05 -1.5698 2 Index 2.3627 1.5428 .80520E-03 -.55560 3 Normalizat 1.1595 .17530 .23343E-04 -.87865 4 Prefactor .94393 .39287E-01 .56894E-05 -.94623 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.23861e-09 Minuit parameter uncertainties: 1 1.38469 2 1.5789 3 0.175391 4 0.0392885 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) = 33875.0915249 delta logL = 0.000402560312068 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 2.582e-01 1.385e+00 0.000e+00 1.000e+06 ( 1.000e-12) 228 Index: 2.363e+00 1.579e+00 0.000e+00 1.000e+01 (-1.000e+00) 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.439e-01 3.929e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.159e+00 1.754e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.04 Ra Dec: 77.351 10.201 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/29830501/cmap_HighResolution_717379201_717984001_4FGL_J0509.4+1012_weekly_bin791.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.61e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2023-10-03 00:32:15.001924', job_id='29830501', GAL2='0.94', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1696318335.0', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.03e-04', ts2='0.04', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='791' AND source_name='4FGL J0509.4+1012' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 3 00:32:15 PDT 2023