/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 = 17525 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_weekly_bin900 RA = 75.6341, Dec = 13.6685 tmin = 783302401, tmax = 783907201 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='14938748', job_status='RUN', time_executed='2025-11-04 05:03:22.165157', time_epoch_executed='1762261402.17' WHERE source_name='4FGL J0502.5+1340' and cadence='weekly' and bin_id='900' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14938748 Creating custom pfile directory: /lscratch/kocevski/14938748/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14938748/ft1_4FGL_J0502.5+1340_weekly_bin900.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14938748/ft1_4FGL_J0502.5+1340_weekly_bin900.fits outfile=/lscratch/kocevski/14938748/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin900.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=783302401.0 tmax=783907201.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.67 user 3.64 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.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/14938748/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin900.fits evtable="EVENTS" outfile="/lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.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 1.07 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 5268 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14938748/ltcube_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.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/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits .....................! real 16.40 user 15.39 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.fits evtable="EVENTS" scfile=/lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14938748/ltcube_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.fits outfile=/lscratch/kocevski/14938748/expmap_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.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/14938748/ltcube_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.fits .....................! real 60.25 user 55.48 sys 3.62 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. Added 161 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.fits scfile=/lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits outfile=/lscratch/kocevski/14938748/cmap_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.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=75.6341 yref=13.6685 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.34 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.fits scfile=/lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits outfile=/lscratch/kocevski/14938748/cmap_HighResolution_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.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=75.6341 yref=13.6685 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.24 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.fits evtable="EVENTS" scfile=/lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14938748/Model_4FGL_J0502.5+1340_weekly_bin900.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 S 147 Working on... /lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.fits.....................! real 374.63 user 370.92 sys 1.12 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.fits', '/lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits', expMap='/lscratch/kocevski/14938748/expmap_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.fits', expCube='/lscratch/kocevski/14938748/ltcube_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14938748/Model_4FGL_J0502.5+1340_weekly_bin900.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14938748/ft1_filtered_4FGL_J0502.5+1340_weekly_bin900.fits Spacecraft file(s): /lscratch/kocevski/14938748/ft2_4FGL_J0502.5+1340_weekly_bin900.fits Exposure map: /lscratch/kocevski/14938748/expmap_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.fits Exposure cube: /lscratch/kocevski/14938748/ltcube_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14938748/Model_4FGL_J0502.5+1340_weekly_bin900.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) = 52875.6384136 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 52875.5410531 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22052E-04 1.0000 .0000 .10000E+07 2 'Prefactor ' .11835E-02 1.0000 .0000 .10000E+07 3 'norm ' 2.6571 1.0000 .0000 .10000E+07 4 'Prefactor ' 26.630 1.0000 .0000 .10000E+07 5 'norm ' 2.0816 1.0000 .0000 .10000E+07 6 'Prefactor ' .18208 1.0000 .0000 .10000E+07 7 'Prefactor ' 14.640 1.0000 .0000 .10000E+07 8 'Prefactor ' 1.2828 1.0000 .0000 .10000E+07 9 'norm ' .13933E-07 1.0000 .0000 .10000E+07 10 'norm ' 5.3944 1.0000 .0000 .10000E+07 11 'Prefactor ' .12013E-06 1.0000 .0000 .10000E+07 12 'norm ' .33218E-05 1.0000 .0000 .10000E+07 13 'Prefactor ' 3.2463 1.0000 .0000 .10000E+07 14 'Prefactor ' 616.83 1.0000 .0000 .10000E+07 15 'norm ' 10.332 1.0000 .0000 .10000E+07 16 'norm ' 5.0608 1.0000 .0000 .10000E+07 17 'norm ' .38578E-01 1.0000 .0000 .10000E+07 18 'Prefactor ' 1.2309 1.0000 .10000E-03 10000. 19 'Prefactor ' 1.7350 1.0000 .0000 .10000E+07 20 'Prefactor ' 5.7843 1.0000 .0000 .10000E+07 21 'Prefactor ' .96949E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.9146 1.0000 .0000 .10000E+07 23 'Normalizat' 1.0805 1.0000 .10000E-01 10.000 24 'Prefactor ' .99281 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= 52875.54 FROM MIGRAD STATUS=CONVERGED 171 CALLS 1694 TOTAL EDM= .76E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .38858E-09 10.545 -.21875E-07** at limit ** 2 Prefactor .47695E-06 61.470 .27501E-06** at limit ** 3 norm 2.6626 1.7999 -.13259E-07 -.11235E-03 4 Prefactor 25.848 23.119 -.18574E-07 -.12046E-02 5 norm 2.0854 1.2583 .43111E-09 .18156E-04 6 Prefactor .96604E-04 20.374 .17424E-06** at limit ** 7 Prefactor 14.813 14.820 -.17133E-07 -.37104E-04 8 Prefactor 1.2863 2.5801 -.61024E-07 .29372E-03 9 norm .0000 .17215 -.15006E-08** at limit ** 10 norm 5.3898 2.0461 -.25820E-08 .95230E-04 11 Prefactor .0000 .46192 .10910E-07** at limit ** 12 norm .0000 2.8458 -.33487E-07** at limit ** 13 Prefactor 3.2127 2.5194 .25533E-07 .10069E-03 14 Prefactor 618.77 65.219 -.48541E-08 -.73430E-02 15 norm 10.329 1.9000 -.16624E-07 .32355E-03 16 norm 5.0554 3.3179 -.38069E-07 .28016E-03 17 norm .35090E-01 2.1662 .31641E-07** at limit ** 18 Prefactor 1.2310 .79099E-01 .26368E-07 -.46029E-03 19 Prefactor 1.7338 .66055 -.84571E-09 -.21117E-03 20 Prefactor 6.0192 10.575 .13460E-07 .16210E-04 21 Prefactor .0000 5.9788 .87416E-09** at limit ** 22 Prefactor 3.9024 3.2190 .41108E-07 -.23629E-03 23 Normalizat 1.0801 .18634 .26819E-05 -.46641E-05 24 Prefactor .99280 .35380E-01 -.34618E-06 .30486E-04 ERR DEF= .500 Final values: Prefactor = 3.88578e-10 Prefactor = 4.76952e-07 norm = 2.66258 Prefactor = 25.8479 norm = 2.08539 Prefactor = 9.66041e-05 Prefactor = 14.813 Prefactor = 1.28633 norm = 0 norm = 5.38984 Prefactor = 0 norm = 0 Prefactor = 3.21273 Prefactor = 618.768 norm = 10.3291 norm = 5.05544 norm = 0.0350896 Prefactor = 1.23101 Prefactor = 1.73378 Prefactor = 6.01924 Prefactor = 0 Prefactor = 3.90239 Normalizat = 1.08011 Prefactor = 0.992803 ********** ** 18 **HESSE ********** FCN= 52875.54 FROM HESSE STATUS=OK 477 CALLS 2171 TOTAL EDM= .54E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .38858E-09 10.547 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .47695E-06 61.453 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 2.6626 1.8081 .62507E-03 -1.5675 4 Prefactor 25.848 23.138 .19382E-03 -1.5606 5 norm 2.0854 1.2790 .71545E-03 -1.5679 6 Prefactor .96604E-04 5.5119 .16849E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 14.813 16.129 .26151E-03 -1.5631 8 Prefactor 1.2863 2.6400 .97908E-03 -1.5685 9 norm .0000 .89226E-01 .21195E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 5.3898 2.1180 .43243E-03 -1.5662 11 Prefactor .0000 .46516 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 2.8111 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.2127 2.5289 .56189E-03 -1.5672 14 Prefactor 618.77 65.508 .40276E-04 -1.5210 15 norm 10.329 1.9033 .31148E-03 -1.5644 16 norm 5.0554 3.3377 .44673E-03 -1.5663 17 norm .35090E-01 .13136 .45876E-02 -1.5704 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 1.2310 .78495E-01 .28802E-02 -1.5486 19 Prefactor 1.7338 .66192 .79647E-03 -1.5682 20 Prefactor 6.0192 10.631 .41737E-03 -1.5659 21 Prefactor .0000 5.9851 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 3.9024 3.2507 .50967E-03 -1.5668 23 Normalizat 1.0801 .18355 .16412 -.90393 24 Prefactor .99280 .33575E-01 .34599E-01 -.92970 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.43307e-07 Minuit parameter uncertainties: 1 0.00012598 2 0.0108277 3 1.80813 4 23.1377 5 1.27904 6 0.0461508 7 16.1288 8 2.63996 9 2.12719e-08 10 2.11797 11 1.48752e-07 12 2.60516e-06 13 2.52889 14 65.5081 15 1.90329 16 3.33768 17 0.131358 18 0.0784945 19 0.661917 20 10.6311 21 1.91613e-05 22 3.25066 23 0.183657 24 0.0335753 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 52875.5393557 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.286e+00 2.640e+00 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.928e-01 3.358e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.080e+00 1.837e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.36 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 5.2320980327e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00399563680981 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14938748/likelihoodResults_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.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) = 52875.5214503 delta logL = 0.0179053339816 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 52875.5198996 delta logL = 0.0194560117816 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.4259 1.0000 .0000 .10000E+07 2 'Index ' 1.9764 1.0000 .0000 10.000 3 'Normalizat' 1.0822 1.0000 .10000E-01 10.000 4 'Prefactor ' .99270 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 52875.52 FROM MIGRAD STATUS=CONVERGED 99 CALLS 273 TOTAL EDM= .22E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4275 2.7999 .36198E-04 .70352E-04 2 Index 1.9761 1.2382 .10525E-01 .13826E-05 3 Normalizat 1.0822 .16780 .72942E-03 .16209E-05 4 Prefactor .99270 .34219E-01 .15290E-03 -.23793E-05 ERR DEF= .500 Final values: Prefactor = 1.42749 Index = 1.97612 Normalizat = 1.0822 Prefactor = 0.9927 ********** ** 18 **HESSE ********** FCN= 52875.52 FROM HESSE STATUS=OK 23 CALLS 296 TOTAL EDM= .14E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.4275 2.7938 .14479E-05 -1.5684 2 Index 1.9761 1.2359 .42101E-03 -.64948 3 Normalizat 1.0822 .16781 .29177E-04 -.90325 4 Prefactor .99270 .34225E-01 .61161E-05 -.92973 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.38658e-13 Minuit parameter uncertainties: 1 2.79384 2 1.25666 3 0.167891 4 0.0342262 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) = 52875.5198994 delta logL = 0.0194562097313 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.427e+00 2.794e+00 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 1.976e+00 1.257e+00 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.927e-01 3.423e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.082e+00 1.679e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.36 Ra Dec: 75.634 13.668 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/14938748/cmap_HighResolution_783302401_783907201_4FGL_J0502.5+1340_weekly_bin900.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-03', job_status='DONE', photon_flux_upper_limit='5.23e-08', time_completed='2025-11-04 05:32:46.396461', job_id='14938748', GAL2='0.99', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1762263166.4', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.95e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='900' AND source_name='4FGL J0502.5+1340' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Nov 4 05:32:47 PST 2025