/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 = 17355 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1023.8-4335_weekly_bin786 RA = 155.973, Dec = -43.5951 tmin = 714355201, tmax = 714960001 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='28625846', job_status='RUN', time_executed='2023-09-20 01:45:45.964606', time_epoch_executed='1695199545.96' WHERE source_name='4FGL J1023.8-4335' and cadence='weekly' and bin_id='786' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28625846 Creating custom pfile directory: /lscratch/kocevski/28625846/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=714355201.0 && nMetStart<714960001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=714355201.0 && nMetStart<714960001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28625846/ft1_4FGL_J1023.8-4335_weekly_bin786.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=714355201.0 && nMetStart<714960001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28625846/ft1_4FGL_J1023.8-4335_weekly_bin786.fits outfile=/lscratch/kocevski/28625846/ft1_filteredMKT_4FGL_J1023.8-4335_weekly_bin786.fits ra=155.973 dec=-43.5951 rad=12.0 tmin=714355201.0 tmax=714960001.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.66 user 5.20 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.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/28625846/ft1_filteredMKT_4FGL_J1023.8-4335_weekly_bin786.fits evtable="EVENTS" outfile="/lscratch/kocevski/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.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.12 Number of photons that the gtmktime cut: 5122 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28625846/ltcube_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.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/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits .....................! real 19.08 user 18.68 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.fits evtable="EVENTS" scfile=/lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28625846/ltcube_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.fits outfile=/lscratch/kocevski/28625846/expmap_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.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/28625846/ltcube_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.fits .....................! real 67.33 user 63.17 sys 3.71 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 Vela Junior in ROI with RadialDisk spatial model. Extended source Westerlund 2 in ROI with RadialDisk spatial model. Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model. Extended source Vela X in ROI with RadialDisk spatial model. Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model. Extended source G296.5+10.0 in ROI with RadialDisk spatial model. Added 250 point sources and 6 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 J1023.8-4335 @ 155.973 -43.5951 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.fits scfile=/lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits outfile=/lscratch/kocevski/28625846/cmap_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.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=155.973 yref=-43.5951 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.38 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.fits scfile=/lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits outfile=/lscratch/kocevski/28625846/cmap_HighResolution_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.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=155.973 yref=-43.5951 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/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.fits evtable="EVENTS" scfile=/lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28625846/Model_4FGL_J1023.8-4335_weekly_bin786.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 FGES J1036.3-5833 adding source FGES J1109.4-6115 adding source G296.5+10.0 adding source GAL_V02 adding source Vela Junior adding source Vela X adding source Westerlund 2 Working on... /lscratch/kocevski/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.fits.....................! real 246.50 user 243.78 sys 0.99 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.fits', '/lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits', expMap='/lscratch/kocevski/28625846/expmap_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.fits', expCube='/lscratch/kocevski/28625846/ltcube_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28625846/Model_4FGL_J1023.8-4335_weekly_bin786.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1023.8-4335' 4FGL J1023.8-4335 Spectrum: LogParabola 449 norm: 1.387e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 450 alpha: 1.605e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 451 beta: 1.128e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 452 Eb: 3.044e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/28625846/ft1_filtered_4FGL_J1023.8-4335_weekly_bin786.fits Spacecraft file(s): /lscratch/kocevski/28625846/ft2_4FGL_J1023.8-4335_weekly_bin786.fits Exposure map: /lscratch/kocevski/28625846/expmap_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.fits Exposure cube: /lscratch/kocevski/28625846/ltcube_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28625846/Model_4FGL_J1023.8-4335_weekly_bin786.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) = 49485.29525 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 49485.0269469 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .96822E-01 1.0000 .0000 .10000E+07 2 'Prefactor ' .12663E-05 1.0000 .0000 .10000E+07 3 'norm ' 6.5357 1.0000 .0000 .10000E+07 4 'norm ' .35563E-02 1.0000 .0000 .10000E+07 5 'norm ' .57645E-01 1.0000 .0000 .10000E+07 6 'norm ' 7.0384 1.0000 .0000 .10000E+07 7 'Prefactor ' 3.0412 1.0000 .0000 .10000E+07 8 'norm ' .54989E-01 1.0000 .0000 .10000E+07 9 'Prefactor ' .19937E-04 1.0000 .0000 .10000E+07 10 'norm ' 9.4697 1.0000 .0000 .10000E+07 11 'Normalizat' 1.2765 1.0000 .10000E-01 10.000 12 'Prefactor ' .90654 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .9040E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 49485.03 FROM MIGRAD STATUS=CONVERGED 102 CALLS 704 TOTAL EDM= .24E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .99968E-01 15.536 -.13208E-06** at limit ** 2 Prefactor .0000 3.3687 -.14115E-07** at limit ** 3 norm 6.5912 4.4676 .11080E-07 .96800E-02 4 norm .86092E-02 31.926 .78061E-06** at limit ** 5 norm .34539E-05 5.0566 -.29455E-06** at limit ** 6 norm 7.2084 1.0568 .21267E-08 -.11453E-01 7 Prefactor 3.0414 2.6186 .52313E-09 .40340E-02 8 norm .55129E-01 2.8480 -.26854E-07** at limit ** 9 Prefactor .33307E-09 2.9209 -.57977E-07** at limit ** 10 norm 9.5144 1.3394 -.10066E-07 .47185E-02 11 Normalizat 1.2767 .11787 .39091E-06 -.55956E-04 12 Prefactor .90644 .25147E-01 -.57909E-07 -.15108E-03 ERR DEF= .500 Final values: Prefactor = 0.0999685 Prefactor = 0 norm = 6.59117 norm = 0.00860918 norm = 3.4539e-06 norm = 7.20842 Prefactor = 3.0414 norm = 0.055129 Prefactor = 3.33067e-10 norm = 9.51443 Normalizat = 1.27668 Prefactor = 0.906442 ********** ** 18 **HESSE ********** FCN= 49485.03 FROM HESSE STATUS=OK 177 CALLS 881 TOTAL EDM= .68E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .99968E-01 .99446 .70107E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 3.3822 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 6.5912 4.4821 .39232E-03 -1.5657 4 norm .86092E-02 .56278 .89953E-02 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .34539E-05 1.3398 .78539E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 7.2084 8.5173 .37789E-03 -1.5654 7 Prefactor 3.0414 2.6030 .58157E-03 -1.5673 8 norm .55129E-01 .20515 .57056E-02 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .33307E-09 2.9104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 9.5144 8.7772 .32542E-03 -1.5646 11 Normalizat 1.2767 .11383 .11622 -.84265 12 Prefactor .90644 .24042E-01 .29310E-01 -.95916 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.82409e-09 Minuit parameter uncertainties: 1 0.630602 2 9.69393e-06 3 4.48208 4 0.139213 5 0.00430228 6 8.51728 7 2.60304 8 0.205146 9 6.34823e-05 10 8.77726 11 0.113854 12 0.0240421 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 49485.0261867 Extracting fit parameters... 4FGL J1023.8-4335 Spectrum: LogParabola 449 norm: 8.609e-03 1.392e-01 0.000e+00 1.000e+06 ( 1.000e-13) 450 alpha: 1.605e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 451 beta: 1.128e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 452 Eb: 3.044e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 892 Prefactor: 9.064e-01 2.404e-02 0.000e+00 1.000e+01 ( 1.000e+00) 893 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 894 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 881 Normalization: 1.277e+00 1.139e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 155.973 -43.595 Photon Flux Upper Limit: 9.60081175385e-09 ph cm-2 s-1 Energy Flux Upper Limit: 2.28306424357e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/28625846/likelihoodResults_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.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) = 49485.0253209 delta logL = 0.000865817026352 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 49485.019673 delta logL = 0.00651372344873 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .11452 1.0000 .0000 .10000E+07 2 'alpha ' 1.2188 1.0000 .0000 5.0000 3 'Normalizat' 1.2766 1.0000 .10000E-01 10.000 4 'Prefactor ' .90642 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .9040E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 49485.02 FROM MIGRAD STATUS=FAILED 103 CALLS 324 TOTAL EDM= .11E-02 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11388 335.05 .34508E-03** at limit ** 2 alpha 1.2181 2.7278 .50000 -.17191E-02 3 Normalizat 1.2766 .52543E-01 .51546E-03 .10586E-05 4 Prefactor .90642 .11467E-01 .12952E-03 .49154E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 49485.02 FROM SIMPLEX STATUS=UNCHANGED 91 CALLS 415 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11388 335.05 .26581E-04** at limit ** 2 alpha 1.2181 2.7278 .11142E-02 -.17191E-02 3 Normalizat 1.2766 .52543E-01 .84784E-04 .10586E-05 4 Prefactor .90642 .11467E-01 .17490E-04 .49154E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 49485.02 FROM MIGRAD STATUS=FAILED 74 CALLS 489 TOTAL EDM= .53E-03 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11389 391.86 .27607E-05** at limit ** 2 alpha 1.2181 3.0433 .50000 -.17341E-02 3 Normalizat 1.2766 .59807E-01 .41237E-05 .13233E-04 4 Prefactor .90642 .13037E-01 .10362E-05 .47725E-04 ERR DEF= .500 Final values: norm = 0.113892 alpha = 1.21807 Normalizat = 1.2766 Prefactor = 0.906421 ********** ** 18 **HESSE ********** FCN= 49485.02 FROM HESSE STATUS=NOT POSDEF 27 CALLS 516 TOTAL EDM= .53E-03 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11389 393.23 .11043E-06 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 1.2181 3.0434 .50000 -.53841 3 Normalizat 1.2766 .59819E-01 .82474E-06 -.84268 4 Prefactor .90642 .13158E-01 .22868E-06 -.95917 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 0.000534174 Minuit parameter uncertainties: 1 13.3854 2 28.4888 3 0.0598223 4 0.0131583 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 49485.0196728 delta logL = 0.0065139443177 Extracting fit parameters... 4FGL J1023.8-4335 Spectrum: LogParabola 449 norm: 1.139e-01 1.339e+01 0.000e+00 1.000e+06 ( 1.000e-13) 450 alpha: 1.218e+00 2.849e+01 0.000e+00 5.000e+00 ( 1.000e+00) 451 beta: 1.128e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 452 Eb: 3.044e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 892 Prefactor: 9.064e-01 1.316e-02 0.000e+00 1.000e+01 ( 1.000e+00) 893 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 894 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 881 Normalization: 1.277e+00 5.982e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 155.973 -43.595 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/28625846/cmap_HighResolution_714355201_714960001_4FGL_J1023.8-4335_weekly_bin786.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-05', job_status='DONE', photon_flux_upper_limit='9.60e-09', time_completed='2023-09-20 02:07:37.402509', job_id='28625846', GAL2='0.91', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1695200857.4', return_code2='1', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='6.51e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='786' AND source_name='4FGL J1023.8-4335' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Sep 20 02:07:37 PDT 2023