/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). utfile=/lscratch/kocevski/27613930/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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/27613930/ft2_4FGL_J0330.6+0438_weekly_bin930.fits .....................! real 18.84 user 18.20 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/27613930/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27613930/ft2_4FGL_J0330.6+0438_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27613930/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits outfile=/lscratch/kocevski/27613930/expmap_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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/27613930/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits .....................! real 71.92 user 66.44 sys 4.30 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 148 point sources and 0 extended sources Setting source of interest to: 4FGL J0330.6+0438 @ 52.6727 4.6349 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/27613930/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits scfile=/lscratch/kocevski/27613930/ft2_4FGL_J0330.6+0438_weekly_bin930.fits outfile=/lscratch/kocevski/27613930/cmap_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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=52.6727 yref=4.6349 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.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/27613930/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits scfile=/lscratch/kocevski/27613930/ft2_4FGL_J0330.6+0438_weekly_bin930.fits outfile=/lscratch/kocevski/27613930/cmap_HighResolution_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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=52.6727 yref=4.6349 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.70 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/27613930/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27613930/ft2_4FGL_J0330.6+0438_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27613930/Model_4FGL_J0330.6+0438_weekly_bin930.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 GALnumber of points = 17278 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0330.6+0438_weekly_bin930 RA = 52.6727, Dec = 4.6349 tmin = 801446401, tmax = 802051201 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='27614334', job_status='RUN', time_executed='2026-06-02 03:05:46.926934', time_epoch_executed='1780394746.93' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='930' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/27614334 Creating custom pfile directory: /lscratch/kocevski/27614334/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/27614334/ft1_4FGL_J0330.6+0438_weekly_bin930.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/27614334/ft1_4FGL_J0330.6+0438_weekly_bin930.fits outfile=/lscratch/kocevski/27614334/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin930.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=801446401.0 tmax=802051201.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.51 user 4.63 sys 0.24 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.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/27614334/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin930.fits evtable="EVENTS" outfile="/lscratch/kocevski/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.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.72 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 2335 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits sctable="SC_DATA" o_V02 Working on... /lscratch/kocevski/27613930/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits.....................! real 121.42 user 119.13 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/27613930/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits', '/lscratch/kocevski/27613930/ft2_4FGL_J0330.6+0438_weekly_bin930.fits', expMap='/lscratch/kocevski/27613930/expmap_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits', expCube='/lscratch/kocevski/27613930/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27613930/Model_4FGL_J0330.6+0438_weekly_bin930.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0330.6+0438' 4FGL J0330.6+0438 Spectrum: PowerLaw 276 Prefactor: 3.042e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 277 Index: 2.242e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 1.412e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/27613930/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits Spacecraft file(s): /lscratch/kocevski/27613930/ft2_4FGL_J0330.6+0438_weekly_bin930.fits Exposure map: /lscratch/kocevski/27613930/expmap_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits Exposure cube: /lscratch/kocevski/27613930/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/27613930/Model_4FGL_J0330.6+0438_weekly_bin930.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) = 25251.1476137 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25250.3983398 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.2881 1.0000 .0000 .10000E+07 2 'norm ' .31031E-07 1.0000 .0000 .10000E+07 3 'norm ' 2.2882 1.0000 .0000 .10000E+07 4 'Prefactor ' .29421E-08 1.0000 .0000 .10000E+07 5 'norm ' .71287E-06 1.0000 .0000 .10000E+07 6 'Prefactor ' .12249E-01 1.0000 .0000 .10000E+07 7 'Prefactor ' .13461E-06 1.0000 .0000 .10000E+07 8 'Prefactor ' .30315E-06 1.0000 .0000 .10000E+07 9 'norm ' .21920E-05 1.0000 .0000 .10000E+07 10 'norm ' 1.5570 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.4553 1.0000 .0000 .10000E+07 12 'Prefactor ' .14131 1.0000 .0000 .10000E+07 13 'Normalizat' .99763 1.0000 .10000E-01 10.000 14 'Prefactor ' 1.0419 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4750E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25250.38 FROM MIGRAD STATUS=CONVERGED 101 CALLS 745 TOTAL EDM= .11E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2773 2.5288 -.13132E-07 .13213E-03 2 norm .0000 1.0604 .13025E-06** at limit ** 3 norm 2.2835 1.8826 .15374E-06 -.32344E-02 4 Prefactor .0000 .71808 -.75193E-08** at limit ** 5 norm .48295E-08 2.4672 .30752E-06** at limit ** 6 Prefactor .55511E-10 14.023 -.77961E-06** at limit ** 7 Prefactor .20206E-07 1.1065 .31293E-07** at limit ** 8 Prefactor .0000 2.1190 -.37907E-07** at limit ** 9 norm .29421E-08 2.8458 -.42855E-06** at limit ** 10 norm 1.5544 .76802 .10440E-07 -.58940E-02 11 Prefactor .0000 178.74 -.55982E-06** at limit ** 12 Prefactor .11990E-07 32.157 .53076E-07** at limit ** 13 Normalizat .99880 .13281 .20716E-05 -.11502E-03 14 Prefactor 1.0422 .48389E-01 .43785E-06 -.22199E-03 ERR DEF= .500 Final values: Prefactor = 2.27731 norm = 0 norm = 2.28352 Prefactor = 0 norm = 4.82947e-09 Prefactor = 5.55112e-11 Prefactor = 2.02061e-08 Prefactor = 0 norm = 2.94209e-09 norm = 1.55441 Prefactor = 0 Prefactor = 1.19904e-08 Normalizat = 0.9988 Prefactor = 1.04219 ********** ** 18 **HESSE ********** FCN= 25250.38 FROM HESSE STATUS=OK 190 CALLS 935 TOTAL EDM= .10E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2773 2.5455 .67836E-03 -1.5678 2 norm .0000 1.0608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 2.2835 1.9203 .67836E-03 -1.5678 4 Prefactor .0000 .71784 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .48295E-08 3.1007 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .55511E-10 14.024 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .20206E-07 3.1603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 2.1275 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .29421E-08 3.0212 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.5544 .77932 .85272E-03 -1.5683 11 Prefactor .0000 175.42 .65248E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .11990E-07 3.5505 .12931E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Normalizat .99880 .12145 .92714E-01 -.93071 14 Prefactor 1.0422 .44023E-01 .40411E-01 -.91336 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.03219e-08 Minuit parameter uncertainties: 1 2.54554 2 1.26483e-06 3 1.92026 4 4.16689e-07 5 0.00024543 6 5.07339e-05 7 0.000505186 8 1.29789e-05 9 0.000189084 10 0.779322 11 5.79582e-05 12 0.000412371 13 0.121485 14 0.0440249 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25250.3848461 Extracting fit parameters... 4FGL J0330.6+0438 Spectrum: PowerLaw 276 Prefactor: 0.000e+00 1.298e-05 0.000e+00 1.000e+06 ( 1.000e-13) 277 Index: 2.242e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 1.412e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 472 Prefactor: 1.042e+00 4.402e-02 0.000e+00 1.000e+01 ( 1.000e+00) 473 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 474 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 471 Normalization: 9.988e-01 1.215e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 52.673 4.635 Photon Flux Upper Limit: 3.07795101888e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00235234603975 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27613930/likelihoodResults_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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) = 25250.3851879 delta logL = -0.000341755341651 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25250.3848476 delta logL = -1.49644984049e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16711E-05 1.0000 .0000 .10000E+07 2 'Index ' .89781 1.0000 .0000 10.000 3 'Normalizat' .99895 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0421 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4750E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25250.38 FROM MIGRAD STATUS=CONVERGED 68 CALLS 269 TOTAL EDM= .16E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 .43128E-02 .42118E-03** at limit ** 2 Index 2.5163 6.1553 .44977 .10111E-09 3 Normalizat .99880 .18411E-03 .92714E-01 .15965E-03 4 Prefactor 1.0422 .67886E-04 .40393E-01 .25642E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.51628 Normalizat = 0.9988 Prefactor = 1.04219 ********** ** 18 **HESSE ********** FCN= 25250.38 FROM HESSE STATUS=NOT POSDEF 31 CALLS 300 TOTAL EDM= .14E-12 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 .27844E-01 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5163 8.5548 .50000 -.51984 3 Normalizat .99880 .46610E-03 .41064E-03 -.93071 4 Prefactor 1.0422 .17234E-03 .14784E-03 -.91336 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.37681e-13 Minuit parameter uncertainties: 1 1.84046e-06 2 10026.4 3 0.000466103 4 0.000172338 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) = 25250.3848461 delta logL = -1.45519152284e-11 Extracting fit parameters... 4FGL J0330.6+0438 Spectrum: PowerLaw 276 Prefactor: 5.551e-11 1.840e-06 0.000e+00 1.000e+06 ( 1.000e-13) 277 Index: 2.516e+00 1.003e+04 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 1.412e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 472 Prefactor: 1.042e+00 1.723e-04 0.000e+00 1.000e+01 ( 1.000e+00) 473 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 474 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 471 Normalization: 9.988e-01 4.661e-04 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 52.673 4.635 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/27613930/cmap_HighResolution_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-03', job_status='DONE', photon_flux_upper_limit='3.08e-08', time_completed='2026-06-02 03:09:01.946252', job_id='27613930', GAL2='1.04', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1780394941.95', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-1.46e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='930' AND source_name='4FGL J0330.6+0438' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 2 03:09:02 PDT 2026 utfile=/lscratch/kocevski/27614334/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits .....................! real 19.83 user 19.17 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27614334/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits outfile=/lscratch/kocevski/27614334/expmap_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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/27614334/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits .....................! real 75.14 user 70.29 sys 4.11 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 148 point sources and 0 extended sources Setting source of interest to: 4FGL J0330.6+0438 @ 52.6727 4.6349 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits scfile=/lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits outfile=/lscratch/kocevski/27614334/cmap_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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=52.6727 yref=4.6349 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.59 user 0.25 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits scfile=/lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits outfile=/lscratch/kocevski/27614334/cmap_HighResolution_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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=52.6727 yref=4.6349 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.63 user 0.27 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27614334/Model_4FGL_J0330.6+0438_weekly_bin930.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/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits.....................! real 126.33 user 124.06 sys 1.12 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits', '/lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits', expMap='/lscratch/kocevski/27614334/expmap_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits', expCube='/lscratch/kocevski/27614334/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27614334/Model_4FGL_J0330.6+0438_weekly_bin930.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0330.6+0438' 4FGL J0330.6+0438 Spectrum: PowerLaw 276 Prefactor: 3.042e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 277 Index: 2.242e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 1.412e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/27614334/ft1_filtered_4FGL_J0330.6+0438_weekly_bin930.fits Spacecraft file(s): /lscratch/kocevski/27614334/ft2_4FGL_J0330.6+0438_weekly_bin930.fits Exposure map: /lscratch/kocevski/27614334/expmap_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits Exposure cube: /lscratch/kocevski/27614334/ltcube_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/27614334/Model_4FGL_J0330.6+0438_weekly_bin930.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) = 25251.1476137 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25250.3983398 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.2881 1.0000 .0000 .10000E+07 2 'norm ' .31031E-07 1.0000 .0000 .10000E+07 3 'norm ' 2.2882 1.0000 .0000 .10000E+07 4 'Prefactor ' .29421E-08 1.0000 .0000 .10000E+07 5 'norm ' .71287E-06 1.0000 .0000 .10000E+07 6 'Prefactor ' .12249E-01 1.0000 .0000 .10000E+07 7 'Prefactor ' .13461E-06 1.0000 .0000 .10000E+07 8 'Prefactor ' .30315E-06 1.0000 .0000 .10000E+07 9 'norm ' .21920E-05 1.0000 .0000 .10000E+07 10 'norm ' 1.5570 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.4553 1.0000 .0000 .10000E+07 12 'Prefactor ' .14131 1.0000 .0000 .10000E+07 13 'Normalizat' .99763 1.0000 .10000E-01 10.000 14 'Prefactor ' 1.0419 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4750E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25250.38 FROM MIGRAD STATUS=CONVERGED 101 CALLS 745 TOTAL EDM= .11E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2773 2.5288 -.13132E-07 .13213E-03 2 norm .0000 1.0604 .13025E-06** at limit ** 3 norm 2.2835 1.8826 .15374E-06 -.32344E-02 4 Prefactor .0000 .71808 -.75193E-08** at limit ** 5 norm .48295E-08 2.4672 .30752E-06** at limit ** 6 Prefactor .55511E-10 14.023 -.77961E-06** at limit ** 7 Prefactor .20206E-07 1.1065 .31293E-07** at limit ** 8 Prefactor .0000 2.1190 -.37907E-07** at limit ** 9 norm .29421E-08 2.8458 -.42855E-06** at limit ** 10 norm 1.5544 .76802 .10440E-07 -.58940E-02 11 Prefactor .0000 178.74 -.55982E-06** at limit ** 12 Prefactor .11990E-07 32.157 .53076E-07** at limit ** 13 Normalizat .99880 .13281 .20716E-05 -.11502E-03 14 Prefactor 1.0422 .48389E-01 .43785E-06 -.22199E-03 ERR DEF= .500 Final values: Prefactor = 2.27731 norm = 0 norm = 2.28352 Prefactor = 0 norm = 4.82947e-09 Prefactor = 5.55112e-11 Prefactor = 2.02061e-08 Prefactor = 0 norm = 2.94209e-09 norm = 1.55441 Prefactor = 0 Prefactor = 1.19904e-08 Normalizat = 0.9988 Prefactor = 1.04219 ********** ** 18 **HESSE ********** FCN= 25250.38 FROM HESSE STATUS=OK 190 CALLS 935 TOTAL EDM= .10E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2773 2.5455 .67836E-03 -1.5678 2 norm .0000 1.0608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 2.2835 1.9203 .67836E-03 -1.5678 4 Prefactor .0000 .71784 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .48295E-08 3.1007 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .55511E-10 14.024 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .20206E-07 3.1603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 2.1275 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .29421E-08 3.0212 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.5544 .77932 .85272E-03 -1.5683 11 Prefactor .0000 175.42 .65248E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .11990E-07 3.5505 .12931E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Normalizat .99880 .12145 .92714E-01 -.93071 14 Prefactor 1.0422 .44023E-01 .40411E-01 -.91336 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.03219e-08 Minuit parameter uncertainties: 1 2.54554 2 1.26483e-06 3 1.92026 4 4.16689e-07 5 0.00024543 6 5.07339e-05 7 0.000505186 8 1.29789e-05 9 0.000189084 10 0.779322 11 5.79582e-05 12 0.000412371 13 0.121485 14 0.0440249 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25250.3848461 Extracting fit parameters... 4FGL J0330.6+0438 Spectrum: PowerLaw 276 Prefactor: 0.000e+00 1.298e-05 0.000e+00 1.000e+06 ( 1.000e-13) 277 Index: 2.242e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 1.412e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 472 Prefactor: 1.042e+00 4.402e-02 0.000e+00 1.000e+01 ( 1.000e+00) 473 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 474 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 471 Normalization: 9.988e-01 1.215e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 52.673 4.635 Photon Flux Upper Limit: 3.07795101888e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00235234603975 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27614334/likelihoodResults_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.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) = 25250.3851879 delta logL = -0.000341755341651 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25250.3848476 delta logL = -1.49644984049e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16711E-05 1.0000 .0000 .10000E+07 2 'Index ' .89781 1.0000 .0000 10.000 3 'Normalizat' .99895 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0421 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4750E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25250.38 FROM MIGRAD STATUS=CONVERGED 68 CALLS 269 TOTAL EDM= .16E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 .43128E-02 .42118E-03** at limit ** 2 Index 2.5163 6.1553 .44977 .10111E-09 3 Normalizat .99880 .18411E-03 .92714E-01 .15965E-03 4 Prefactor 1.0422 .67886E-04 .40393E-01 .25642E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.51628 Normalizat = 0.9988 Prefactor = 1.04219 ********** ** 18 **HESSE ********** FCN= 25250.38 FROM HESSE STATUS=NOT POSDEF 31 CALLS 300 TOTAL EDM= .14E-12 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 .27844E-01 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5163 8.5548 .50000 -.51984 3 Normalizat .99880 .46610E-03 .41064E-03 -.93071 4 Prefactor 1.0422 .17234E-03 .14784E-03 -.91336 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.37681e-13 Minuit parameter uncertainties: 1 1.84046e-06 2 10026.4 3 0.000466103 4 0.000172338 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) = 25250.3848461 delta logL = -1.45519152284e-11 Extracting fit parameters... 4FGL J0330.6+0438 Spectrum: PowerLaw 276 Prefactor: 5.551e-11 1.840e-06 0.000e+00 1.000e+06 ( 1.000e-13) 277 Index: 2.516e+00 1.003e+04 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 1.412e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 472 Prefactor: 1.042e+00 1.723e-04 0.000e+00 1.000e+01 ( 1.000e+00) 473 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 474 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 471 Normalization: 9.988e-01 4.661e-04 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 52.673 4.635 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/27614334/cmap_HighResolution_801446401_802051201_4FGL_J0330.6+0438_weekly_bin930.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-03', job_status='DONE', photon_flux_upper_limit='3.08e-08', time_completed='2026-06-02 03:14:16.295266', job_id='27614334', GAL2='1.04', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1780395256.3', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-1.46e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='930' AND source_name='4FGL J0330.6+0438' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 2 03:14:16 PDT 2026