/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 = 7633 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+1012_daily_bin1807 RA = 77.351, Dec = 10.2008 tmin = 707702401, tmax = 707961601 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='18328407', job_status='RUN', time_executed='2023-06-09 00:15:26.248078', time_epoch_executed='1686294926.25' WHERE source_name='4FGL J0509.4+1012' and cadence='daily' and bin_id='1807' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18328407 Creating custom pfile directory: /lscratch/kocevski/18328407/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=707702401.0 && nMetStart<707961601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=707702401.0 && nMetStart<707961601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18328407/ft1_4FGL_J0509.4+1012_daily_bin1807.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=707702401.0 && nMetStart<707961601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18328407/ft1_4FGL_J0509.4+1012_daily_bin1807.fits outfile=/lscratch/kocevski/18328407/ft1_filteredMKT_4FGL_J0509.4+1012_daily_bin1807.fits ra=77.351 dec=10.2008 rad=12.0 tmin=707702401.0 tmax=707961601.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 2.72 user 2.46 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.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/18328407/ft1_filteredMKT_4FGL_J0509.4+1012_daily_bin1807.fits evtable="EVENTS" outfile="/lscratch/kocevski/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.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.37 user 0.18 sys 0.14 Number of photons that the gtmktime cut: 1273 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18328407/ltcube_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.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/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits .....................! real 11.19 user 10.77 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.fits evtable="EVENTS" scfile=/lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18328407/ltcube_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.fits outfile=/lscratch/kocevski/18328407/expmap_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.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/18328407/ltcube_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.fits .....................! real 64.92 user 61.17 sys 3.32 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/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.fits scfile=/lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits outfile=/lscratch/kocevski/18328407/cmap_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.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.43 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.fits scfile=/lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits outfile=/lscratch/kocevski/18328407/cmap_HighResolution_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.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.41 user 0.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.fits evtable="EVENTS" scfile=/lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18328407/Model_4FGL_J0509.4+1012_daily_bin1807.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/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.fits.....................! real 117.53 user 116.00 sys 0.72 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.fits', '/lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits', expMap='/lscratch/kocevski/18328407/expmap_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.fits', expCube='/lscratch/kocevski/18328407/ltcube_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18328407/Model_4FGL_J0509.4+1012_daily_bin1807.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/18328407/ft1_filtered_4FGL_J0509.4+1012_daily_bin1807.fits Spacecraft file(s): /lscratch/kocevski/18328407/ft2_4FGL_J0509.4+1012_daily_bin1807.fits Exposure map: /lscratch/kocevski/18328407/expmap_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.fits Exposure cube: /lscratch/kocevski/18328407/ltcube_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18328407/Model_4FGL_J0509.4+1012_daily_bin1807.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) = 13350.3235771 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13350.2480514 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .41899E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 22.926 1.0000 .0000 .10000E+07 3 'norm ' 3.7140 1.0000 .0000 .10000E+07 4 'Prefactor ' 41.582 1.0000 .0000 .10000E+07 5 'norm ' .53661 1.0000 .0000 .10000E+07 6 'Prefactor ' .31913 1.0000 .0000 .10000E+07 7 'Prefactor ' .87227E-05 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.4819 1.0000 .0000 .10000E+07 9 'norm ' .11824E-07 1.0000 .0000 .10000E+07 10 'norm ' 2.3703 1.0000 .0000 .10000E+07 11 'Prefactor ' .15660E-06 1.0000 .0000 .10000E+07 12 'norm ' .37803E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' .85298 1.0000 .0000 .10000E+07 14 'Prefactor ' .71487E-04 1.0000 .0000 .10000E+07 15 'norm ' 3.6787 1.0000 .0000 .10000E+07 16 'Prefactor ' .11609E-02 1.0000 .0000 .10000E+07 17 'norm ' .14377E-07 1.0000 .0000 .10000E+07 18 'norm ' .56066E-08 1.0000 .0000 .10000E+07 19 'Prefactor ' 4.3166 1.0000 .0000 .10000E+07 20 'Prefactor ' .22202E-04 1.0000 .0000 .10000E+07 21 'Prefactor ' .10628E-04 1.0000 .0000 .10000E+07 22 'Normalizat' 1.7277 1.0000 .10000E-01 10.000 23 'Prefactor ' .95098 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= 13350.25 FROM MIGRAD STATUS=CONVERGED 173 CALLS 1561 TOTAL EDM= .13E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .35059E-05 135.03 .15049E-05** at limit ** 2 Prefactor 22.640 9.4569 -.86892E-07 -.11790E-01 3 norm 3.7122 3.1745 .96078E-07 -.29337E-03 4 Prefactor 41.570 1.5368 -.94357E-08 .17015E-01 5 norm .53845 2.9355 .57727E-06 -.17766E-02 6 Prefactor .68102E-03 44.869 .75793E-06** at limit ** 7 Prefactor .38858E-09 18.040 .36327E-06** at limit ** 8 Prefactor 9.4791 10.964 .54378E-07 -.64214E-03 9 norm .0000 .22722 .36715E-07** at limit ** 10 norm 2.3711 2.6483 .21631E-08 -.21141E-03 11 Prefactor .0000 1.4077 .24893E-07** at limit ** 12 norm .0000 3.2017 .67746E-07** at limit ** 13 Prefactor .85122 6.6453 -.39764E-06 .66933E-03 14 Prefactor .11435E-07 86.364 -.11537E-06** at limit ** 15 norm 3.6780 2.5994 -.13609E-07 .20748E-03 16 Prefactor .55511E-10 11.305 .10473E-06** at limit ** 17 norm .0000 2.3007 -.56277E-10** at limit ** 18 norm .0000 .55312 -.27358E-07** at limit ** 19 Prefactor 4.4919 18.308 -.48586E-06 .56996E-03 20 Prefactor .55511E-09 24.277 -.57990E-07** at limit ** 21 Prefactor .0000 5.6710 -.12559E-06** at limit ** 22 Normalizat 1.7285 .32790 .93278E-05 -.55446E-04 23 Prefactor .95092 .67778E-01 -.17940E-05 -.51003E-04 ERR DEF= .500 Final values: Prefactor = 3.50586e-06 Prefactor = 22.64 norm = 3.7122 Prefactor = 41.5702 norm = 0.538447 Prefactor = 0.000681025 Prefactor = 3.88578e-10 Prefactor = 9.47911 norm = 0 norm = 2.37106 Prefactor = 0 norm = 0 Prefactor = 0.851216 Prefactor = 1.14353e-08 norm = 3.67802 Prefactor = 5.55112e-11 norm = 0 norm = 0 Prefactor = 4.49188 Prefactor = 5.55112e-10 Prefactor = 0 Normalizat = 1.72852 Prefactor = 0.950916 ********** ** 18 **HESSE ********** FCN= 13350.25 FROM HESSE STATUS=OK 422 CALLS 1983 TOTAL EDM= .46E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .35059E-05 138.38 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 22.640 18.951 .20890E-03 -1.5613 3 norm 3.7122 3.1627 .52375E-03 -1.5669 4 Prefactor 41.570 38.779 .15509E-03 -1.5579 5 norm .53845 2.9465 .75109E-03 -1.5693 6 Prefactor .68102E-03 21.550 .15769E-01 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .38858E-09 18.289 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 9.4791 11.004 .32521E-03 -1.5646 9 norm .0000 .22486 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 2.3711 2.6681 .66524E-03 -1.5677 11 Prefactor .0000 1.4057 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 3.2118 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .85122 6.7176 .49066E-03 -1.5690 14 Prefactor .11435E-07 86.286 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 3.6780 2.6014 .52636E-03 -1.5670 16 Prefactor .55511E-10 11.324 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .0000 2.3000 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .0000 .54432 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 4.4919 23.286 .48462E-03 -1.5666 20 Prefactor .55511E-09 24.320 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .0000 5.6990 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Normalizat 1.7285 .30668 .12763 -.71544 23 Prefactor .95092 .61756E-01 .34439E-01 -.94384 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.57337e-06 Minuit parameter uncertainties: 1 0.0440531 2 18.9508 3 3.16266 4 38.7791 5 2.51917 6 0.242293 7 0.000163565 8 11.0044 9 7.11584e-07 10 2.66809 11 1.39305e-06 12 4.06704e-06 13 4.78254 14 0.00198842 15 2.60143 16 3.97428e-05 17 8.76067e-07 18 4.68183e-07 19 20.4549 20 0.000235329 21 8.88673e-06 22 0.307022 23 0.0617608 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13350.2476374 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 0.000e+00 1.393e-06 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.509e-01 6.176e-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.729e+00 3.070e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 77.351 10.201 Photon Flux Upper Limit: 1.01901655081e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.00787844819407 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18328407/likelihoodResults_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.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) = 13350.257067 delta logL = -0.00942961727742 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 13350.2476378 delta logL = -3.74437149731e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .27534E-07 1.0000 .0000 .10000E+07 2 'Index ' 1.4785 1.0000 .0000 10.000 3 'Normalizat' 1.7284 1.0000 .10000E-01 10.000 4 'Prefactor ' .95096 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= 13350.25 FROM MIGRAD STATUS=CONVERGED 65 CALLS 264 TOTAL EDM= .19E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .44409E-09 .10247 .42118E-03** at limit ** 2 Index 1.9952 5.9033 .50000 -.18190E-09 3 Normalizat 1.7285 .23154E-02 .12763 .18759E-03 4 Prefactor .95092 .48422E-03 .34439E-01 .21570E-02 ERR DEF= .500 Final values: Prefactor = 4.44089e-10 Index = 1.99521 Normalizat = 1.72851 Prefactor = 0.950919 ********** ** 18 **HESSE ********** FCN= 13350.25 FROM HESSE STATUS=NOT POSDEF 31 CALLS 295 TOTAL EDM= .13E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .44409E-09 .71134 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9952 5.9624 .50000 -.64470 3 Normalizat 1.7285 .60774E-02 .56616E-03 -.71544 4 Prefactor .95092 .12757E-02 .15218E-03 -.94384 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.34702e-10 Minuit parameter uncertainties: 1 3.50679e-05 2 27724.6 3 0.00607744 4 0.00127571 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 13350.2476374 delta logL = -9.16770659387e-10 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 4.441e-10 3.507e-05 0.000e+00 1.000e+06 ( 1.000e-12) 228 Index: 1.995e+00 2.772e+04 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.509e-01 1.276e-03 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.729e+00 6.077e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 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/18328407/cmap_HighResolution_707702401_707961601_4FGL_J0509.4+1012_daily_bin1807.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2023-06-09 00:22:23.297952', job_id='18328407', GAL2='0.95', fit_tolerance='1e-08', EG2='1.73', EG='1.73', time_epoch_completed='1686295343.3', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-9.17e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1807' AND source_name='4FGL J0509.4+1012' AND cadence='daily'; Database successfully updated. Analysis Complete. Fri Jun 9 00:22:23 PDT 2023