/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 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16161.537015 Extracting fit parameters... 4FGL J0336.4+3224 Spectrum: LogParabola 287 norm: 1.148e+00 1.683e+00 0.000e+00 1.000e+06 ( 1.000e-11) 288 alpha: 2.859e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 289 beta: 4.691e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 290 Eb: 5.093e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 522 Prefactor: 9.964e-01 5.474e-02 0.000e+00 1.000e+01 ( 1.000e+00) 523 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 524 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 1.322e+00 2.359e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.55 Ra Dec: 54.102 32.411 Photon Flux Upper Limit: 1.41708972969e-07 ph cm-2 s-1 Energy Flux Upper Limit: 3.4962956655e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/13920864/likelihoodResults_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.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) = 16161.2775562 delta logL = 0.259458750768 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16161.2730773 delta logL = 0.263937616139 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .43205 1.0000 .0000 .10000E+07 2 'alpha ' 4.3596 1.0000 .0000 5.0000 3 'Normalizat' 1.2842 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0012 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 16161.27 FROM MIGRAD STATUS=FAILED 98 CALLS 297 TOTAL EDM= .56E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .43103 21.557 .80916E-05 -.13600E-02 2 alpha 4.3616 3.0428 .69124E-01 .34651E-03 3 Normalizat 1.2842 .22383 .53280E-03 -.20441E-04 4 Prefactor 1.0012 .56244E-01 .14417E-03 -.41321E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 16161.27 FROM SIMPLEX STATUS=UNCHANGED 83 CALLS 380 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .43103 21.557 .51691E-05 -.13600E-02 2 alpha 4.3616 3.0428 .36535E-02 .34651E-03 3 Normalizat 1.2842 .22383 .14317E-03 -.20441E-04 4 Prefactor 1.0012 .56244E-01 .40043E-04 -.41321E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16161.27 FROM MIGRAD STATUS=CONVERGED 31 CALLS 411 TOTAL EDM= .14E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .43103 1.3606 .32366E-06 -.13344E-02 2 alpha 4.3616 4.2128 .13825E-01 -.15542E-05 3 Normalizat 1.2842 .24230 .21312E-04 -.20484E-04 4 Prefactor 1.0012 .58287E-01 .57667E-05 -.41795E-04 ERR DEF= .500 Final values: norm = 0.43103 alpha = 4.36159 Normalizat = 1.28417 Prefactor = 1.00121 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). ********** ** 18 **HESSE ********** FCN= 16161.27 FROM HESSE STATUS=OK 25 CALLS 436 TOTAL EDM= .16E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .43103 1.0968 .37419E-06 -1.5695 2 alpha 4.3616 3.8961 .55299E-03 .83999 3 Normalizat 1.2842 .24175 .42624E-05 -.84040 4 Prefactor 1.0012 .58075E-01 .11533E-05 -.92689 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.59251e-12 Minuit parameter uncertainties: 1 1.09682 2 2.03811 3 0.241963 4 0.0580786 /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) 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) = 16161.2730768 delta logL = 0.263938112992 Extracting fit parameters... 4FGL J0336.4+3224 Spectrum: LogParabola 287 norm: 4.310e-01 1.097e+00 0.000e+00 1.000e+06 ( 1.000e-11) 288 alpha: 4.362e+00 2.038e+00 0.000e+00 5.000e+00 ( 1.000e+00) 289 beta: 4.691e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 290 Eb: 5.093e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 522 Prefactor: 1.001e+00 5.808e-02 0.000e+00 1.000e+01 ( 1.000e+00) 523 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 524 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 1.284e+00 2.420e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.11 Ra Dec: 54.102 32.411 Photon Index (Free Index): 4.36 +/- 2.04 Photon Flux (Free Index): 6.84e-08 +/- 7.13e-08 Energy Flux (Free Index): 1.10e-05 +/- 1.15e-05 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/13920864/cmap_HighResolution_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-05', comment='SUCCESS', energy_flux2='1.10e-05', dlogl='2.64e-01', photon_flux2='6.84e-08', job_status='DONE', time_completed='2025-10-17 23:56:20.053850', photon_index_error2='2.04', photon_index2='4.36', ts='0.55', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.15e-05', EG='1.32', time_epoch_completed='1760770580.05', return_code='0', job_id='13920864', GAL2='1.00', EG2='1.28', return_code2='0', photon_flux_error2='7.13e-08', ts2='1.11', photon_index='2.86' WHERE bin_id='2061' AND source_name='4FGL J0336.4+3224' AND cadence='daily'; Database successfully updated. Analysis Complete. Fri Oct 17 23:56:20 PDT 2025 WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7541 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0336.4+3224_daily_bin2061 RA = 54.1015, Dec = 32.4111 tmin = 773539201, tmax = 773798401 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='13922811', job_status='RUN', time_executed='2025-10-17 23:56:24.343737', time_epoch_executed='1760770584.34' WHERE source_name='4FGL J0336.4+3224' and cadence='daily' and bin_id='2061' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/13922811 Creating custom pfile directory: /lscratch/kocevski/13922811/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=773539201.0 && nMetStart<773798401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=773539201.0 && nMetStart<773798401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/13922811/ft1_4FGL_J0336.4+3224_daily_bin2061.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=773539201.0 && nMetStart<773798401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/13922811/ft1_4FGL_J0336.4+3224_daily_bin2061.fits outfile=/lscratch/kocevski/13922811/ft1_filteredMKT_4FGL_J0336.4+3224_daily_bin2061.fits ra=54.1015 dec=32.4111 rad=12.0 tmin=773539201.0 tmax=773798401.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 3.51 user 2.22 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.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/13922811/ft1_filteredMKT_4FGL_J0336.4+3224_daily_bin2061.fits evtable="EVENTS" outfile="/lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.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.32 user 0.22 sys 0.12 Number of photons that the gtmktime cut: 1595 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.fits" evtable="EVENTS" scfile=/lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits sctable="SC_DATA" outfile=/lscratch/kocevski/13922811/ltcube_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.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/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits .....................! real 9.77 user 8.49 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.fits evtable="EVENTS" scfile=/lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits sctable="SC_DATA" expcube=/lscratch/kocevski/13922811/ltcube_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.fits outfile=/lscratch/kocevski/13922811/expmap_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.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/13922811/ltcube_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.fits .....................! real 74.10 user 68.56 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 Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template. Added 156 point sources and 1 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 J0336.4+3224 @ 54.1015 32.4111 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.fits scfile=/lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits outfile=/lscratch/kocevski/13922811/cmap_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.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=54.1015 yref=32.4111 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.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.fits scfile=/lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits outfile=/lscratch/kocevski/13922811/cmap_HighResolution_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.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=54.1015 yref=32.4111 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.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.fits evtable="EVENTS" scfile=/lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/13922811/Model_4FGL_J0336.4+3224_daily_bin2061.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 HB 9 Working on... /lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.fits.....................! real 116.32 user 114.69 sys 0.77 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.fits', '/lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits', expMap='/lscratch/kocevski/13922811/expmap_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.fits', expCube='/lscratch/kocevski/13922811/ltcube_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/13922811/Model_4FGL_J0336.4+3224_daily_bin2061.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0336.4+3224' 4FGL J0336.4+3224 Spectrum: LogParabola 287 norm: 1.073e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-11) 288 alpha: 2.859e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 289 beta: 4.691e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 290 Eb: 5.093e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/13922811/ft1_filtered_4FGL_J0336.4+3224_daily_bin2061.fits Spacecraft file(s): /lscratch/kocevski/13922811/ft2_4FGL_J0336.4+3224_daily_bin2061.fits Exposure map: /lscratch/kocevski/13922811/expmap_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.fits Exposure cube: /lscratch/kocevski/13922811/ltcube_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/13922811/Model_4FGL_J0336.4+3224_daily_bin2061.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) = 16161.546986 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16161.5370235 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 33.835 1.0000 .0000 .10000E+07 2 'norm ' 6.2631 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.3763 1.0000 .0000 .10000E+07 4 'Prefactor ' 4.4204 1.0000 .0000 .10000E+07 5 'norm ' 2.7311 1.0000 .0000 .10000E+07 6 'Prefactor ' .25496E-06 1.0000 .0000 .10000E+07 7 'norm ' 1.2125 1.0000 .0000 .10000E+07 8 'norm ' 1.1465 1.0000 .0000 .10000E+07 9 'Prefactor ' 69.268 1.0000 .0000 .10000E+07 10 'norm ' 12.832 1.0000 .0000 .10000E+07 11 'norm ' 1.4050 1.0000 .0000 .10000E+07 12 'Normalizat' 1.3212 1.0000 .10000E-01 10.000 13 'Prefactor ' .99658 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16161.54 FROM MIGRAD STATUS=CONVERGED 45 CALLS 928 TOTAL EDM= .15E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 33.838 1.0567 .26304E-07 -.50798E-01 2 norm 6.2541 1.1467 -.10011E-06 .32874E-01 3 Prefactor 1.3888 2.4416 .83850E-06 -.44967E-01 4 Prefactor 4.4206 4.2030 -.89847E-06 -.39522E-01 5 norm 2.7292 .60985 .36562E-07 -.35862E-01 6 Prefactor .55511E-10 .58259 .83395E-07** at limit ** 7 norm 1.2135 2.1829 .93310E-07 .93528E-03 8 norm 1.1480 1.6609 .10975E-07 -.15206E-02 9 Prefactor 69.267 1.0470 -.16719E-07 .65133E-01 10 norm 12.835 1.0095 -.16618E-07 .11640E-01 11 norm 1.4079 2.9650 .24969E-06 .16025E-02 12 Normalizat 1.3217 .24202 -.83697E-05 -.34119E-03 13 Prefactor .99643 .59106E-01 .10230E-05 -.82085E-03 ERR DEF= .500 Final values: Prefactor = 33.8376 norm = 6.25406 Prefactor = 1.3888 Prefactor = 4.42056 norm = 2.72921 Prefactor = 5.55112e-11 norm = 1.21349 norm = 1.14802 Prefactor = 69.2668 norm = 12.8355 norm = 1.40786 Normalizat = 1.32172 Prefactor = 0.996433 ********** ** 18 **HESSE ********** FCN= 16161.54 FROM HESSE STATUS=OK 181 CALLS 1109 TOTAL EDM= .77E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 33.838 61.342 .17194E-03 -1.5592 2 norm 6.2541 18.763 .40087E-03 -1.5658 3 Prefactor 1.3888 23.966 .92811E-03 -1.5684 4 Prefactor 4.4206 4.2994 .47874E-03 -1.5666 5 norm 2.7292 .70479 .61590E-03 -1.5675 6 Prefactor .55511E-10 .57476 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.2135 2.2059 .10265E-02 -1.5686 8 norm 1.1480 1.6835 .10823E-02 -1.5687 9 Prefactor 69.267 59.278 .12016E-03 -1.5542 10 norm 12.835 35.452 .27937E-03 -1.5636 11 norm 1.4079 2.9712 .91442E-03 -1.5684 12 Normalizat 1.3217 .23566 .11869 -.82920 13 Prefactor .99643 .54733E-01 .32699E-01 -.92849 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.71456e-07 Minuit parameter uncertainties: 1 61.3432 2 18.7635 3 11.5385 4 4.29943 5 0.704786 6 8.20514e-06 7 2.20587 8 1.68347 9 59.2784 10 35.4524 11 2.97122 12 0.235857 13 0.0547363 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16161.537015 Extracting fit parameters... 4FGL J0336.4+3224 Spectrum: LogParabola 287 norm: 1.148e+00 1.683e+00 0.000e+00 1.000e+06 ( 1.000e-11) 288 alpha: 2.859e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 289 beta: 4.691e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 290 Eb: 5.093e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 522 Prefactor: 9.964e-01 5.474e-02 0.000e+00 1.000e+01 ( 1.000e+00) 523 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 524 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 1.322e+00 2.359e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.55 Ra Dec: 54.102 32.411 Photon Flux Upper Limit: 1.41708972969e-07 ph cm-2 s-1 Energy Flux Upper Limit: 3.4962956655e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/13922811/likelihoodResults_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.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) = 16161.2775562 delta logL = 0.259458750768 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16161.2730773 delta logL = 0.263937616139 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .43205 1.0000 .0000 .10000E+07 2 'alpha ' 4.3596 1.0000 .0000 5.0000 3 'Normalizat' 1.2842 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0012 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 16161.27 FROM MIGRAD STATUS=FAILED 98 CALLS 297 TOTAL EDM= .56E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .43103 21.557 .80916E-05 -.13600E-02 2 alpha 4.3616 3.0428 .69124E-01 .34651E-03 3 Normalizat 1.2842 .22383 .53280E-03 -.20441E-04 4 Prefactor 1.0012 .56244E-01 .14417E-03 -.41321E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 16161.27 FROM SIMPLEX STATUS=UNCHANGED 83 CALLS 380 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .43103 21.557 .51691E-05 -.13600E-02 2 alpha 4.3616 3.0428 .36535E-02 .34651E-03 3 Normalizat 1.2842 .22383 .14317E-03 -.20441E-04 4 Prefactor 1.0012 .56244E-01 .40043E-04 -.41321E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16161.27 FROM MIGRAD STATUS=CONVERGED 31 CALLS 411 TOTAL EDM= .14E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .43103 1.3606 .32366E-06 -.13344E-02 2 alpha 4.3616 4.2128 .13825E-01 -.15542E-05 3 Normalizat 1.2842 .24230 .21312E-04 -.20484E-04 4 Prefactor 1.0012 .58287E-01 .57667E-05 -.41795E-04 ERR DEF= .500 Final values: norm = 0.43103 alpha = 4.36159 Normalizat = 1.28417 Prefactor = 1.00121 ********** ** 18 **HESSE ********** FCN= 16161.27 FROM HESSE STATUS=OK 25 CALLS 436 TOTAL EDM= .16E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .43103 1.0968 .37419E-06 -1.5695 2 alpha 4.3616 3.8961 .55299E-03 .83999 3 Normalizat 1.2842 .24175 .42624E-05 -.84040 4 Prefactor 1.0012 .58075E-01 .11533E-05 -.92689 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.59251e-12 Minuit parameter uncertainties: 1 1.09682 2 2.03811 3 0.241963 4 0.0580786 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) = 16161.2730768 delta logL = 0.263938112992 Extracting fit parameters... 4FGL J0336.4+3224 Spectrum: LogParabola 287 norm: 4.310e-01 1.097e+00 0.000e+00 1.000e+06 ( 1.000e-11) 288 alpha: 4.362e+00 2.038e+00 0.000e+00 5.000e+00 ( 1.000e+00) 289 beta: 4.691e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 290 Eb: 5.093e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 522 Prefactor: 1.001e+00 5.808e-02 0.000e+00 1.000e+01 ( 1.000e+00) 523 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 524 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 1.284e+00 2.420e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.11 Ra Dec: 54.102 32.411 Photon Index (Free Index): 4.36 +/- 2.04 Photon Flux (Free Index): 6.84e-08 +/- 7.13e-08 Energy Flux (Free Index): 1.10e-05 +/- 1.15e-05 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/13922811/cmap_HighResolution_773539201_773798401_4FGL_J0336.4+3224_daily_bin2061.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-05', comment='SUCCESS', energy_flux2='1.10e-05', dlogl='2.64e-01', photon_flux2='6.84e-08', job_status='DONE', time_completed='2025-10-18 00:05:45.002707', photon_index_error2='2.04', photon_index2='4.36', ts='0.55', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.15e-05', EG='1.32', time_epoch_completed='1760771145.0', return_code='0', job_id='13922811', GAL2='1.00', EG2='1.28', return_code2='0', photon_flux_error2='7.13e-08', ts2='1.11', photon_index='2.86' WHERE bin_id='2061' AND source_name='4FGL J0336.4+3224' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Oct 18 00:05:45 PDT 2025