/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) source GAL_V02 Working on... /lscratch/kocevski/31031533/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits.....................! real 83.72 user 81.34 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31031533/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits', '/lscratch/kocevski/31031533/ft2_4FGL_J0538.2-3910_weekly_bin935.fits', expMap='/lscratch/kocevski/31031533/expmap_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits', expCube='/lscratch/kocevski/31031533/ltcube_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31031533/Model_4FGL_J0538.2-3910_weekly_bin935.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0538.2-3910' 4FGL J0538.2-3910 Spectrum: PowerLaw 299 Prefactor: 1.828e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 300 Index: 1.964e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 301 Scale: 3.147e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31031533/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits Spacecraft file(s): /lscratch/kocevski/31031533/ft2_4FGL_J0538.2-3910_weekly_bin935.fits Exposure map: /lscratch/kocevski/31031533/expmap_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits Exposure cube: /lscratch/kocevski/31031533/ltcube_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31031533/Model_4FGL_J0538.2-3910_weekly_bin935.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) = 20133.6311432 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20133.5830004 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 27.271 1.0000 .0000 .10000E+07 2 'norm ' 6.2402 1.0000 .0000 .10000E+07 3 'Prefactor ' .33917E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' 23.137 1.0000 .0000 .10000E+07 5 'norm ' 7.9823 1.0000 .0000 .10000E+07 6 'Prefactor ' .16042E-01 1.0000 .0000 .10000E+07 7 'Prefactor ' .18563E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .25526E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' .51685E-03 1.0000 .0000 .10000E+07 10 'norm ' 3.1911 1.0000 .0000 .10000E+07 11 'Prefactor ' 9.6763 1.0000 .0000 .10000E+07 12 'norm ' .15974E-04 1.0000 .0000 .10000E+07 13 'norm ' 1.1603 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.0916 1.0000 .0000 .10000E+07 15 'Prefactor ' 8.3889 1.0000 .0000 .10000E+07 16 'norm ' .28565E-04 1.0000 .0000 .10000E+07 17 'Prefactor ' .42701E-04 1.0000 .0000 .10000E+07 18 'norm ' 16.723 1.0000 .0000 .10000E+07 19 'norm ' 1.6871 1.0000 .0000 .10000E+07 20 'norm ' .11712E-02 1.0000 .0000 .10000E+07 21 'Prefactor ' 13.630 1.0000 .0000 .10000E+07 22 'Prefactor ' .23229E-03 1.0000 .0000 .10000E+07 23 'Prefactor ' .48436 1.0000 .0000 .10000E+07 24 'norm ' 18.304 1.0000 .0000 .10000E+07 25 'Prefactor ' 5.5185 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0472 1.0000 .10000E-01 10.000 27 'Prefactor ' .90205 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= 20133.58 FROM MIGRAD STATUS=CONVERGED 113 CALLS 1831 TOTAL EDM= .36E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 27.270 1.0601 .73331E-08 .17817E-01 2 norm 6.2378 1.3559 -.50699E-07 -.12110E-02 3 Prefactor .55511E-10 .94122 .23980E-06** at limit ** 4 Prefactor 23.404 1.5609 .13703E-07 .32278E-02 5 norm 7.9982 3.9765 .21787E-08 -.14667E-02 6 Prefactor .33917E-07 .84555 -.19120E-06** at limit ** 7 Prefactor .41078E-08 12.254 -.45932E-06** at limit ** 8 Prefactor .0000 .59023 -.54331E-06** at limit ** 9 Prefactor .22204E-09 2.6929 -.13912E-05** at limit ** 10 norm 3.1926 1.3758 -.19844E-06 .64329E-02 11 Prefactor 10.027 1.7632 .27084E-07 -.47487E-01 12 norm .55511E-10 1.4662 .76661E-06** at limit ** 13 norm 1.1609 1.3783 -.14497E-06 .18457E-02 14 Prefactor 7.1019 3.3158 -.14878E-08 .14761E-03 15 Prefactor 8.3860 1.1737 -.40605E-07 .93596E-03 16 norm .0000 1.4823 .41859E-06** at limit ** 17 Prefactor .55511E-10 3.2417 .25895E-06** at limit ** 18 norm 16.724 1.2364 -.32970E-08 .44831E-02 19 norm 1.6859 1.0682 -.92474E-07 .38194E-02 20 norm .0000 4.3340 -.10702E-05** at limit ** 21 Prefactor 13.696 1.0599 .22409E-07 -.11342E-01 22 Prefactor .44409E-09 7.4957 -.16248E-05** at limit ** 23 Prefactor .48655 .64424 -.16284E-06 .10386E-01 24 norm 18.340 1.0045 .55739E-08 -.89333E-02 25 Prefactor 5.5393 1.0124 -.99552E-08 -.18039E-02 26 Normalizat 1.0465 .13480 .59658E-05 .75848E-04 27 Prefactor .90223 .97324E-01 -.18981E-05 .87597E-04 ERR DEF= .500 Final values: norm = 27.2696 norm = 6.23785 Prefactor = 5.55112e-11 Prefactor = 23.4035 norm = 7.9982 Prefactor = 3.39173e-08 Prefactor = 4.10783e-09 Prefactor = 0 Prefactor = 2.22045e-10 norm = 3.19258 Prefactor = 10.0266 norm = 5.55112e-11 norm = 1.16091 Prefactor = 7.10194 Prefactor = 8.38604 norm = 0 Prefactor = 5.55112e-11 norm = 16.724 norm = 1.68585 norm = 0 Prefactor = 13.6959 Prefactor = 4.44089e-10 Prefactor = 0.486548 norm = 18.3403 Prefactor = 5.53927 Normalizat = 1.04651 Prefactor = 0.902234 ********** ** 18 **HESSE ********** FCN= 20133.58 FROM HESSE STATUS=OK 554 CALLS 2385 TOTAL EDM= .12E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 27.270 9.2066 .19153E-03 -1.5604 2 norm 6.2378 1.3849 .40162E-03 -1.5658 3 Prefactor .55511E-10 .93612 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 23.404 16.379 .20795E-03 -1.5611 5 norm 7.9982 5.2676 .35464E-03 -1.5651 6 Prefactor .33917E-07 10.789 .24825E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .41078E-08 12.361 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 .58741 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .22204E-09 2.6226 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.1926 1.3972 .56699E-03 -1.5672 11 Prefactor 10.027 18.368 .32191E-03 -1.5645 12 norm .55511E-10 1.4600 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 1.1609 1.4178 .10694E-02 -1.5686 14 Prefactor 7.1019 3.4580 .37646E-03 -1.5655 15 Prefactor 8.3860 8.2381 .34588E-03 -1.5650 16 norm .0000 1.4732 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .55511E-10 3.2517 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 16.724 1.2387 .24465E-03 -1.5626 19 norm 1.6859 1.0699 .81031E-04 -1.5682 20 norm .0000 4.3395 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 13.696 11.228 .27105E-03 -1.5634 22 Prefactor .44409E-09 7.5189 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .48655 2.8262 .80298E-02 -1.5694 24 norm 18.340 12.353 .23383E-03 -1.5622 25 Prefactor 5.5393 13.524 .42746E-03 -1.5661 26 Normalizat 1.0465 .11989 .68717E-01 -.91488 27 Prefactor .90223 .86322E-01 .45031E-01 -.96063 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.16198e-07 Minuit parameter uncertainties: 1 9.20659 2 1.38487 3 1.12221e-05 4 16.379 5 5.26757 6 0.00120947 7 0.00045194 8 7.68469e-06 9 5.03076e-05 10 1.39722 11 18.3678 12 2.15169e-05 13 1.41775 14 3.45797 15 8.23807 16 7.68281e-06 17 2.92723e-05 18 1.23871 19 1.06985 20 2.02478e-06 21 11.2282 22 0.000117897 23 2.34527 24 12.3526 25 13.5246 26 0.119919 27 0.0863352 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20133.5820838 Extracting fit parameters... 4FGL J0538.2-3910 Spectrum: PowerLaw 299 Prefactor: 5.551e-11 2.927e-05 0.000e+00 1.000e+06 ( 1.000e-14) 300 Index: 1.964e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 301 Scale: 3.147e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 637 Prefactor: 9.022e-01 8.634e-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 636 Normalization: 1.047e+00 1.199e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 84.575 -39.170 Photon Flux Upper Limit: 1.65290477588e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00123589105638 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31031533/likelihoodResults_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.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) = 20133.582242 delta logL = -0.000158207400091 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 20133.5820842 delta logL = -3.5260381992e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19490E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.0391 1.0000 .0000 10.000 3 'Normalizat' 1.0465 1.0000 .10000E-01 10.000 4 'Prefactor ' .90219 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. FCN= 20133.58 FROM MIGRAD STATUS=CONVERGED 68 CALLS 304 TOTAL EDM= .44E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16653E-09 .34101E-02 .42118E-03** at limit ** 2 Index 2.4562 8.0210 .40594 .33607E-09 3 Normalizat 1.0465 .13871E-03 .68717E-01 .37772E-04 4 Prefactor .90223 .10480E-03 .45033E-01 .18068E-04 ERR DEF= .500 Final values: Prefactor = 1.66533e-10 Index = 2.45617 Normalizat = 1.04651 Prefactor = 0.902234 ********** ** 18 **HESSE ********** FCN= 20133.58 FROM HESSE STATUS=OK 33 CALLS 337 TOTAL EDM= .13E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16653E-09 2.2752 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4562 6.1953 .50000 -.53375 3 Normalizat 1.0465 .12799 .30402E-03 -.91488 4 Prefactor .90223 .96815E-01 .24423E-03 -.96063 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.2712e-10 Minuit parameter uncertainties: 1 3.56684e-05 2 5.16228 3 0.128029 4 0.0968332 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) = 20133.5820838 delta logL = -4.0017766878e-11 Extracting fit parameters... 4FGL J0538.2-3910 Spectrum: PowerLaw 299 Prefactor: 1.665e-10 3.567e-05 0.000e+00 1.000e+06 ( 1.000e-14) 300 Index: 2.456e+00 5.162e+00 0.000e+00 1.000e+01 (-1.000e+00) 301 Scale: 3.147e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 637 Prefactor: 9.022e-01 9.683e-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 636 Normalization: 1.047e+00 1.280e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 84.575 -39.170 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/31031533/cmap_HighResolution_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-03', job_status='DONE', photon_flux_upper_limit='1.65e-08', time_completed='2026-07-08 07:41:51.701584', job_id='31031533', GAL2='0.90', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1783521711.7', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-4.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='935' AND source_name='4FGL J0538.2-3910' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 8 07:41:52 PDT 2026 WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17462 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0538.2-3910_weekly_bin935 RA = 84.5746, Dec = -39.1696 tmin = 804470401, tmax = 805075201 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='31032201', job_status='RUN', time_executed='2026-07-08 07:42:25.286931', time_epoch_executed='1783521745.29' WHERE source_name='4FGL J0538.2-3910' and cadence='weekly' and bin_id='935' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31032201 Creating custom pfile directory: /lscratch/kocevski/31032201/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31032201/ft1_4FGL_J0538.2-3910_weekly_bin935.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31032201/ft1_4FGL_J0538.2-3910_weekly_bin935.fits outfile=/lscratch/kocevski/31032201/ft1_filteredMKT_4FGL_J0538.2-3910_weekly_bin935.fits ra=84.5746 dec=-39.1696 rad=12.0 tmin=804470401.0 tmax=805075201.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 6.48 user 5.63 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.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/31032201/ft1_filteredMKT_4FGL_J0538.2-3910_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.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.93 user 0.26 sys 0.13 Number of photons that the gtmktime cut: 1916 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31032201/ltcube_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.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/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits .....................! real 21.16 user 20.13 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31032201/ltcube_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits outfile=/lscratch/kocevski/31032201/expmap_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.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/31032201/ltcube_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits .....................! real 76.96 user 71.38 sys 4.50 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 Added 194 point sources and 0 extended sources Setting source of interest to: 4FGL J0538.2-3910 @ 84.5746 -39.1696 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits scfile=/lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits outfile=/lscratch/kocevski/31032201/cmap_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.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=84.5746 yref=-39.1696 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.82 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits scfile=/lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits outfile=/lscratch/kocevski/31032201/cmap_HighResolution_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.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=84.5746 yref=-39.1696 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.85 user 0.27 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31032201/Model_4FGL_J0538.2-3910_weekly_bin935.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 Working on... /lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits.....................! real 83.09 user 81.40 sys 0.80 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits', '/lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits', expMap='/lscratch/kocevski/31032201/expmap_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits', expCube='/lscratch/kocevski/31032201/ltcube_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31032201/Model_4FGL_J0538.2-3910_weekly_bin935.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0538.2-3910' 4FGL J0538.2-3910 Spectrum: PowerLaw 299 Prefactor: 1.828e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 300 Index: 1.964e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 301 Scale: 3.147e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31032201/ft1_filtered_4FGL_J0538.2-3910_weekly_bin935.fits Spacecraft file(s): /lscratch/kocevski/31032201/ft2_4FGL_J0538.2-3910_weekly_bin935.fits Exposure map: /lscratch/kocevski/31032201/expmap_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits Exposure cube: /lscratch/kocevski/31032201/ltcube_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31032201/Model_4FGL_J0538.2-3910_weekly_bin935.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) = 20133.6311432 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20133.5830004 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 27.271 1.0000 .0000 .10000E+07 2 'norm ' 6.2402 1.0000 .0000 .10000E+07 3 'Prefactor ' .33917E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' 23.137 1.0000 .0000 .10000E+07 5 'norm ' 7.9823 1.0000 .0000 .10000E+07 6 'Prefactor ' .16042E-01 1.0000 .0000 .10000E+07 7 'Prefactor ' .18563E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .25526E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' .51685E-03 1.0000 .0000 .10000E+07 10 'norm ' 3.1911 1.0000 .0000 .10000E+07 11 'Prefactor ' 9.6763 1.0000 .0000 .10000E+07 12 'norm ' .15974E-04 1.0000 .0000 .10000E+07 13 'norm ' 1.1603 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.0916 1.0000 .0000 .10000E+07 15 'Prefactor ' 8.3889 1.0000 .0000 .10000E+07 16 'norm ' .28565E-04 1.0000 .0000 .10000E+07 17 'Prefactor ' .42701E-04 1.0000 .0000 .10000E+07 18 'norm ' 16.723 1.0000 .0000 .10000E+07 19 'norm ' 1.6871 1.0000 .0000 .10000E+07 20 'norm ' .11712E-02 1.0000 .0000 .10000E+07 21 'Prefactor ' 13.630 1.0000 .0000 .10000E+07 22 'Prefactor ' .23229E-03 1.0000 .0000 .10000E+07 23 'Prefactor ' .48436 1.0000 .0000 .10000E+07 24 'norm ' 18.304 1.0000 .0000 .10000E+07 25 'Prefactor ' 5.5185 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0472 1.0000 .10000E-01 10.000 27 'Prefactor ' .90205 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= 20133.58 FROM MIGRAD STATUS=CONVERGED 113 CALLS 1831 TOTAL EDM= .36E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 27.270 1.0601 .73331E-08 .17817E-01 2 norm 6.2378 1.3559 -.50699E-07 -.12110E-02 3 Prefactor .55511E-10 .94122 .23980E-06** at limit ** 4 Prefactor 23.404 1.5609 .13703E-07 .32278E-02 5 norm 7.9982 3.9765 .21787E-08 -.14667E-02 6 Prefactor .33917E-07 .84555 -.19120E-06** at limit ** 7 Prefactor .41078E-08 12.254 -.45932E-06** at limit ** 8 Prefactor .0000 .59023 -.54331E-06** at limit ** 9 Prefactor .22204E-09 2.6929 -.13912E-05** at limit ** 10 norm 3.1926 1.3758 -.19844E-06 .64329E-02 11 Prefactor 10.027 1.7632 .27084E-07 -.47487E-01 12 norm .55511E-10 1.4662 .76661E-06** at limit ** 13 norm 1.1609 1.3783 -.14497E-06 .18457E-02 14 Prefactor 7.1019 3.3158 -.14878E-08 .14761E-03 15 Prefactor 8.3860 1.1737 -.40605E-07 .93596E-03 16 norm .0000 1.4823 .41859E-06** at limit ** 17 Prefactor .55511E-10 3.2417 .25895E-06** at limit ** 18 norm 16.724 1.2364 -.32970E-08 .44831E-02 19 norm 1.6859 1.0682 -.92474E-07 .38194E-02 20 norm .0000 4.3340 -.10702E-05** at limit ** 21 Prefactor 13.696 1.0599 .22409E-07 -.11342E-01 22 Prefactor .44409E-09 7.4957 -.16248E-05** at limit ** 23 Prefactor .48655 .64424 -.16284E-06 .10386E-01 24 norm 18.340 1.0045 .55739E-08 -.89333E-02 25 Prefactor 5.5393 1.0124 -.99552E-08 -.18039E-02 26 Normalizat 1.0465 .13480 .59658E-05 .75848E-04 27 Prefactor .90223 .97324E-01 -.18981E-05 .87597E-04 ERR DEF= .500 Final values: norm = 27.2696 norm = 6.23785 Prefactor = 5.55112e-11 Prefactor = 23.4035 norm = 7.9982 Prefactor = 3.39173e-08 Prefactor = 4.10783e-09 Prefactor = 0 Prefactor = 2.22045e-10 norm = 3.19258 Prefactor = 10.0266 norm = 5.55112e-11 norm = 1.16091 Prefactor = 7.10194 Prefactor = 8.38604 norm = 0 Prefactor = 5.55112e-11 norm = 16.724 norm = 1.68585 norm = 0 Prefactor = 13.6959 Prefactor = 4.44089e-10 Prefactor = 0.486548 norm = 18.3403 Prefactor = 5.53927 Normalizat = 1.04651 Prefactor = 0.902234 ********** ** 18 **HESSE ********** FCN= 20133.58 FROM HESSE STATUS=OK 554 CALLS 2385 TOTAL EDM= .12E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 27.270 9.2066 .19153E-03 -1.5604 2 norm 6.2378 1.3849 .40162E-03 -1.5658 3 Prefactor .55511E-10 .93612 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 23.404 16.379 .20795E-03 -1.5611 5 norm 7.9982 5.2676 .35464E-03 -1.5651 6 Prefactor .33917E-07 10.789 .24825E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .41078E-08 12.361 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 .58741 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .22204E-09 2.6226 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.1926 1.3972 .56699E-03 -1.5672 11 Prefactor 10.027 18.368 .32191E-03 -1.5645 12 norm .55511E-10 1.4600 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 1.1609 1.4178 .10694E-02 -1.5686 14 Prefactor 7.1019 3.4580 .37646E-03 -1.5655 15 Prefactor 8.3860 8.2381 .34588E-03 -1.5650 16 norm .0000 1.4732 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .55511E-10 3.2517 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 16.724 1.2387 .24465E-03 -1.5626 19 norm 1.6859 1.0699 .81031E-04 -1.5682 20 norm .0000 4.3395 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 13.696 11.228 .27105E-03 -1.5634 22 Prefactor .44409E-09 7.5189 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .48655 2.8262 .80298E-02 -1.5694 24 norm 18.340 12.353 .23383E-03 -1.5622 25 Prefactor 5.5393 13.524 .42746E-03 -1.5661 26 Normalizat 1.0465 .11989 .68717E-01 -.91488 27 Prefactor .90223 .86322E-01 .45031E-01 -.96063 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.16198e-07 Minuit parameter uncertainties: 1 9.20659 2 1.38487 3 1.12221e-05 4 16.379 5 5.26757 6 0.00120947 7 0.00045194 8 7.68469e-06 9 5.03076e-05 10 1.39722 11 18.3678 12 2.15169e-05 13 1.41775 14 3.45797 15 8.23807 16 7.68281e-06 17 2.92723e-05 18 1.23871 19 1.06985 20 2.02478e-06 21 11.2282 22 0.000117897 23 2.34527 24 12.3526 25 13.5246 26 0.119919 27 0.0863352 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20133.5820838 Extracting fit parameters... 4FGL J0538.2-3910 Spectrum: PowerLaw 299 Prefactor: 5.551e-11 2.927e-05 0.000e+00 1.000e+06 ( 1.000e-14) 300 Index: 1.964e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 301 Scale: 3.147e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 637 Prefactor: 9.022e-01 8.634e-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 636 Normalization: 1.047e+00 1.199e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 84.575 -39.170 Photon Flux Upper Limit: 1.65290477588e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00123589105638 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31032201/likelihoodResults_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.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) = 20133.582242 delta logL = -0.000158207400091 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 20133.5820842 delta logL = -3.5260381992e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19490E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.0391 1.0000 .0000 10.000 3 'Normalizat' 1.0465 1.0000 .10000E-01 10.000 4 'Prefactor ' .90219 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. FCN= 20133.58 FROM MIGRAD STATUS=CONVERGED 68 CALLS 304 TOTAL EDM= .44E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16653E-09 .34101E-02 .42118E-03** at limit ** 2 Index 2.4562 8.0210 .40594 .33607E-09 3 Normalizat 1.0465 .13871E-03 .68717E-01 .37772E-04 4 Prefactor .90223 .10480E-03 .45033E-01 .18068E-04 ERR DEF= .500 Final values: Prefactor = 1.66533e-10 Index = 2.45617 Normalizat = 1.04651 Prefactor = 0.902234 ********** ** 18 **HESSE ********** FCN= 20133.58 FROM HESSE STATUS=OK 33 CALLS 337 TOTAL EDM= .13E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16653E-09 2.2752 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4562 6.1953 .50000 -.53375 3 Normalizat 1.0465 .12799 .30402E-03 -.91488 4 Prefactor .90223 .96815E-01 .24423E-03 -.96063 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.2712e-10 Minuit parameter uncertainties: 1 3.56684e-05 2 5.16228 3 0.128029 4 0.0968332 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) = 20133.5820838 delta logL = -4.0017766878e-11 Extracting fit parameters... 4FGL J0538.2-3910 Spectrum: PowerLaw 299 Prefactor: 1.665e-10 3.567e-05 0.000e+00 1.000e+06 ( 1.000e-14) 300 Index: 2.456e+00 5.162e+00 0.000e+00 1.000e+01 (-1.000e+00) 301 Scale: 3.147e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 637 Prefactor: 9.022e-01 9.683e-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 636 Normalization: 1.047e+00 1.280e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 84.575 -39.170 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/31032201/cmap_HighResolution_804470401_805075201_4FGL_J0538.2-3910_weekly_bin935.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-03', job_status='DONE', photon_flux_upper_limit='1.65e-08', time_completed='2026-07-08 07:59:29.861713', job_id='31032201', GAL2='0.90', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1783522769.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-4.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='935' AND source_name='4FGL J0538.2-3910' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 8 07:59:29 PDT 2026