**** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5730E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 4784.124 FROM MIGRAD STATUS=CONVERGED 120 CALLS 1466 TOTAL EDM= .41E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 35.334 2.2458 -.20694E-07 .44704E-01 2 Prefactor .54401E-08 9.7118 -.45260E-06** at limit ** 3 Prefactor .66613E-08 4.8188 .14257E-07** at limit ** 4 Prefactor .28616E-06 6.1528 .10528E-06** at limit ** 5 Prefactor .64493E-06 7.1946 -.16648E-06** at limit ** 6 norm .0000 .99046 .26390E-06** at limit ** 7 norm 2.8394 1.1999 .40785E-07 .85437E-03 8 Prefactor .12712E-07 8.1470 -.14733E-06** at limit ** 9 Prefactor .23742E-06 12.278 -.51194E-06** at limit ** 10 Prefactor .55511E-10 4.7927 .37503E-06** at limit ** 11 norm .0000 .22952 .67859E-07** at limit ** 12 Prefactor .13228E-05 47.020 -.43905E-06** at limit ** 13 norm .0000 .12320 .12245E-07** at limit ** 14 norm 24.260 9.4439 .32169E-07 .70601E-02 15 Prefactor .11575E-05 5.4673 -.15999E-06** at limit ** 16 Prefactor .0000 3.5651 -.11321E-06** at limit ** 17 Prefactor .12657E-07 7.3072 .60472E-06** at limit ** 18 norm 1.0924 .57445 -.58024E-10 -.95925E-03 19 Normalizat 1.2429 .22841 .59562E-05 .33024E-04 20 Prefactor .87143 .26110 -.78710E-05 .25467E-05 ERR DEF= .500 Final values: Prefactor = 35.3344 Prefactor = 5.44009e-09 Prefactor = 6.66134e-09 Prefactor = 2.8616e-07 Prefactor = 6.44929e-07 norm = 0 norm = 2.83938 Prefactor = 1.27121e-08 Prefactor = 2.37421e-07 Prefactor = 5.55112e-11 norm = 0 Prefactor = 1.32283e-06 norm = 0 norm = 24.26 Prefactor = 1.15746e-06 Prefactor = 0 Prefactor = 1.26565e-08 norm = 1.09241 Normalizat = 1.24291 Prefactor = 0.87143 /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). ********** ** 18 **HESSE ********** FCN= 4784.124 FROM HESSE STATUS=OK 323 CALLS 1789 TOTAL EDM= .25E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 35.334 33.582 .16822E-03 -1.5589 2 Prefactor .54401E-08 22.295 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .66613E-08 12.178 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .28616E-06 11.781 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .64493E-06 18.623 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .99260 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 2.8394 1.2007 .60312E-03 -1.5674 8 Prefactor .12712E-07 17.354 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .23742E-06 22.814 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .55511E-10 4.7858 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .0000 .23049 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .13228E-05 53.732 .12267E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .0000 .12091 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 24.260 9.4548 .20296E-03 -1.5609 15 Prefactor .11575E-05 13.802 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 3.5667 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .12657E-07 7.3524 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 1.0924 .57638 .83377E-03 -1.5687 19 Normalizat 1.2429 .18969 .49936E-01 -.85287 20 Prefactor .87143 .21758 .66722E-01 -.97147 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.45012e-07 Minuit parameter uncertainties: 1 33.5826 2 0.000697743 3 0.000569865 4 0.00367217 5 0.00693114 6 3.03919e-06 7 1.20068 8 0.000939599 9 0.00465456 10 3.08226e-05 11 5.0004e-07 12 0.0168617 13 3.60122e-08 14 9.45477 15 0.0079938 16 1.6191e-05 17 0.000609947 18 0.576383 19 0.189795 20 0.217794 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4784.12386419 Extracting fit parameters... 4FGL J0334.2-3725 Spectrum: LogParabola 263 norm: 0.000e+00 3.039e-06 0.000e+00 1.000e+06 ( 1.000e-12) 264 alpha: 1.916e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 265 beta: 6.798e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 266 Eb: 9.584e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 570 Prefactor: 8.714e-01 2.178e-01 0.000e+00 1.000e+01 ( 1.000e+00) 571 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 572 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 566 Normalization: 1.243e+00 1.898e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 53.556 -37.433 Photon Flux Upper Limit: 3.79686465365e-08 ph cm-2 s-1 Energy Flux Upper Limit: None Saving results to: /lscratch/kocevski/54394153/likelihoodResults_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.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) = 4784.1239122 delta logL = -4.80078479086e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4784.12386894 delta logL = -4.74509033666e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .38025E-07 1.0000 .0000 .10000E+07 2 'alpha ' 1.1547 1.0000 .0000 5.0000 3 'Normalizat' 1.2423 1.0000 .10000E-01 10.000 4 'Prefactor ' .87222 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5730E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 4784.124 FROM MIGRAD STATUS=CONVERGED 34 CALLS 226 TOTAL EDM= .45E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 .77573 .42118E-03** at limit ** 2 alpha 2.5437 1.2836 -.13512E-05 .0000 3 Normalizat 1.2429 1.0936 .19865E-05 .52220E-04 4 Prefactor .87143 1.2179 -.52129E-05 .58160E-04 ERR DEF= .500 Final values: norm = 0 alpha = 2.54369 Normalizat = 1.24291 Prefactor = 0.871431 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 4784.124 FROM HESSE STATUS=FAILED 7 CALLS 233 TOTAL EDM= .45E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 .77573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 1.3179 1.2836 -.13512E-05 .17478E-01 3 Normalizat 1.2429 1.0936 .19865E-05 -.85287 4 Prefactor .87143 1.2179 -.52129E-05 -.97147 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 4.46461e-12 Minuit parameter uncertainties: 1 5.53203e-07 2 1.34804 3 1.11483 4 1.25933 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 4784.12386419 delta logL = -1.81898940355e-12 Extracting fit parameters... 4FGL J0334.2-3725 Spectrum: LogParabola 263 norm: 0.000e+00 5.532e-07 0.000e+00 1.000e+06 ( 1.000e-12) 264 alpha: 2.544e+00 1.348e+00 0.000e+00 5.000e+00 ( 1.000e+00) 265 beta: 6.798e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 266 Eb: 9.584e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 570 Prefactor: 8.714e-01 1.259e+00 0.000e+00 1.000e+01 ( 1.000e+00) 571 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 572 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 566 Normalization: 1.243e+00 1.115e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 53.556 -37.433 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/54394153/cmap_HighResolution_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.80e-08', time_completed='2024-08-24 10:55:30.898672', job_id='54394153', GAL2='0.87', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1724522130.9', return_code2='101', ts='0.00', return_code='0', GAL='0.87', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1954' AND source_name='4FGL J0334.2-3725' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 24 10:55:30 PDT 2024 number of points = 7568 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0334.2-3725_daily_bin1954 RA = 53.5556, Dec = -37.4327 tmin = 745804801, tmax = 746064001 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='54392564', job_status='RUN', time_executed='2024-08-24 10:55:08.416974', time_epoch_executed='1724522108.42' WHERE source_name='4FGL J0334.2-3725' and cadence='daily' and bin_id='1954' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/54392564 Creating custom pfile directory: /lscratch/kocevski/54392564/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=745804801.0 && nMetStart<746064001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=745804801.0 && nMetStart<746064001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/54392564/ft1_4FGL_J0334.2-3725_daily_bin1954.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=745804801.0 && nMetStart<746064001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/54392564/ft1_4FGL_J0334.2-3725_daily_bin1954.fits outfile=/lscratch/kocevski/54392564/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin1954.fits ra=53.5556 dec=-37.4327 rad=12.0 tmin=745804801.0 tmax=746064001.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 2.19 user 1.94 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.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/54392564/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin1954.fits evtable="EVENTS" outfile="/lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.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.44 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 429 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.fits" evtable="EVENTS" scfile=/lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits sctable="SC_DATA" outfile=/lscratch/kocevski/54392564/ltcube_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.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/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits .....................! real 8.51 user 8.07 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.fits evtable="EVENTS" scfile=/lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits sctable="SC_DATA" expcube=/lscratch/kocevski/54392564/ltcube_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.fits outfile=/lscratch/kocevski/54392564/expmap_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.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/54392564/ltcube_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.fits .....................! real 67.09 user 62.69 sys 3.81 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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template. Added 179 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 J0334.2-3725 @ 53.5556 -37.4327 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.fits scfile=/lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits outfile=/lscratch/kocevski/54392564/cmap_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.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=53.5556 yref=-37.4327 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.54 user 0.21 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.fits scfile=/lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits outfile=/lscratch/kocevski/54392564/cmap_HighResolution_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.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=53.5556 yref=-37.4327 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.46 user 0.21 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.fits evtable="EVENTS" scfile=/lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/54392564/Model_4FGL_J0334.2-3725_daily_bin1954.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 Fornax A adding source GAL_V02 Working on... /lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.fits.....................! real 39.55 user 38.02 sys 1.16 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.fits', '/lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits', expMap='/lscratch/kocevski/54392564/expmap_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.fits', expCube='/lscratch/kocevski/54392564/ltcube_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/54392564/Model_4FGL_J0334.2-3725_daily_bin1954.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0334.2-3725' 4FGL J0334.2-3725 Spectrum: LogParabola 263 norm: 3.336e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 264 alpha: 1.916e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 265 beta: 6.798e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 266 Eb: 9.584e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/54392564/ft1_filtered_4FGL_J0334.2-3725_daily_bin1954.fits Spacecraft file(s): /lscratch/kocevski/54392564/ft2_4FGL_J0334.2-3725_daily_bin1954.fits Exposure map: /lscratch/kocevski/54392564/expmap_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.fits Exposure cube: /lscratch/kocevski/54392564/ltcube_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/54392564/Model_4FGL_J0334.2-3725_daily_bin1954.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) = 4784.12399465 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4784.12616115 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 35.348 1.0000 .0000 .10000E+07 2 'Prefactor ' .16960E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .17661E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .14217E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .15419E-03 1.0000 .0000 .10000E+07 6 'norm ' .85615E-06 1.0000 .0000 .10000E+07 7 'norm ' 2.8401 1.0000 .0000 .10000E+07 8 'Prefactor ' .74317E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .23569E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .33584E-03 1.0000 .0000 .10000E+07 11 'norm ' .54401E-08 1.0000 .0000 .10000E+07 12 'Prefactor ' .17353 1.0000 .0000 .10000E+07 13 'norm ' .24653E-06 1.0000 .0000 .10000E+07 14 'norm ' 24.287 1.0000 .0000 .10000E+07 15 'Prefactor ' .24377E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .47870E-05 1.0000 .0000 .10000E+07 17 'Prefactor ' .44818E-02 1.0000 .0000 .10000E+07 18 'norm ' 1.0925 1.0000 .0000 .10000E+07 19 'Normalizat' 1.2430 1.0000 .10000E-01 10.000 20 'Prefactor ' .87132 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5730E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 4784.124 FROM MIGRAD STATUS=CONVERGED 120 CALLS 1466 TOTAL EDM= .41E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 35.334 2.2458 -.20694E-07 .44704E-01 2 Prefactor .54401E-08 9.7118 -.45260E-06** at limit ** 3 Prefactor .66613E-08 4.8188 .14257E-07** at limit ** 4 Prefactor .28616E-06 6.1528 .10528E-06** at limit ** 5 Prefactor .64493E-06 7.1946 -.16648E-06** at limit ** 6 norm .0000 .99046 .26390E-06** at limit ** 7 norm 2.8394 1.1999 .40785E-07 .85437E-03 8 Prefactor .12712E-07 8.1470 -.14733E-06** at limit ** 9 Prefactor .23742E-06 12.278 -.51194E-06** at limit ** 10 Prefactor .55511E-10 4.7927 .37503E-06** at limit ** 11 norm .0000 .22952 .67859E-07** at limit ** 12 Prefactor .13228E-05 47.020 -.43905E-06** at limit ** 13 norm .0000 .12320 .12245E-07** at limit ** 14 norm 24.260 9.4439 .32169E-07 .70601E-02 15 Prefactor .11575E-05 5.4673 -.15999E-06** at limit ** 16 Prefactor .0000 3.5651 -.11321E-06** at limit ** 17 Prefactor .12657E-07 7.3072 .60472E-06** at limit ** 18 norm 1.0924 .57445 -.58024E-10 -.95925E-03 19 Normalizat 1.2429 .22841 .59562E-05 .33024E-04 20 Prefactor .87143 .26110 -.78710E-05 .25467E-05 ERR DEF= .500 Final values: Prefactor = 35.3344 Prefactor = 5.44009e-09 Prefactor = 6.66134e-09 Prefactor = 2.8616e-07 Prefactor = 6.44929e-07 norm = 0 norm = 2.83938 Prefactor = 1.27121e-08 Prefactor = 2.37421e-07 Prefactor = 5.55112e-11 norm = 0 Prefactor = 1.32283e-06 norm = 0 norm = 24.26 Prefactor = 1.15746e-06 Prefactor = 0 Prefactor = 1.26565e-08 norm = 1.09241 Normalizat = 1.24291 Prefactor = 0.87143 ********** ** 18 **HESSE ********** FCN= 4784.124 FROM HESSE STATUS=OK 323 CALLS 1789 TOTAL EDM= .25E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 35.334 33.582 .16822E-03 -1.5589 2 Prefactor .54401E-08 22.295 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .66613E-08 12.178 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .28616E-06 11.781 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .64493E-06 18.623 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .99260 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 2.8394 1.2007 .60312E-03 -1.5674 8 Prefactor .12712E-07 17.354 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .23742E-06 22.814 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .55511E-10 4.7858 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .0000 .23049 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .13228E-05 53.732 .12267E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .0000 .12091 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 24.260 9.4548 .20296E-03 -1.5609 15 Prefactor .11575E-05 13.802 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 3.5667 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .12657E-07 7.3524 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 1.0924 .57638 .83377E-03 -1.5687 19 Normalizat 1.2429 .18969 .49936E-01 -.85287 20 Prefactor .87143 .21758 .66722E-01 -.97147 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.45012e-07 Minuit parameter uncertainties: 1 33.5826 2 0.000697743 3 0.000569865 4 0.00367217 5 0.00693114 6 3.03919e-06 7 1.20068 8 0.000939599 9 0.00465456 10 3.08226e-05 11 5.0004e-07 12 0.0168617 13 3.60122e-08 14 9.45477 15 0.0079938 16 1.6191e-05 17 0.000609947 18 0.576383 19 0.189795 20 0.217794 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4784.12386419 Extracting fit parameters... 4FGL J0334.2-3725 Spectrum: LogParabola 263 norm: 0.000e+00 3.039e-06 0.000e+00 1.000e+06 ( 1.000e-12) 264 alpha: 1.916e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 265 beta: 6.798e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 266 Eb: 9.584e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 570 Prefactor: 8.714e-01 2.178e-01 0.000e+00 1.000e+01 ( 1.000e+00) 571 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 572 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 566 Normalization: 1.243e+00 1.898e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 53.556 -37.433 Photon Flux Upper Limit: 3.79686465365e-08 ph cm-2 s-1 Energy Flux Upper Limit: None Saving results to: /lscratch/kocevski/54392564/likelihoodResults_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.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) = 4784.1239122 delta logL = -4.80078479086e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4784.12386894 delta logL = -4.74509033666e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .38025E-07 1.0000 .0000 .10000E+07 2 'alpha ' 1.1547 1.0000 .0000 5.0000 3 'Normalizat' 1.2423 1.0000 .10000E-01 10.000 4 'Prefactor ' .87222 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5730E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 4784.124 FROM MIGRAD STATUS=CONVERGED 34 CALLS 226 TOTAL EDM= .45E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 .77573 .42118E-03** at limit ** 2 alpha 2.5437 1.2836 -.13512E-05 .0000 3 Normalizat 1.2429 1.0936 .19865E-05 .52220E-04 4 Prefactor .87143 1.2179 -.52129E-05 .58160E-04 ERR DEF= .500 Final values: norm = 0 alpha = 2.54369 Normalizat = 1.24291 Prefactor = 0.871431 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 4784.124 FROM HESSE STATUS=FAILED 7 CALLS 233 TOTAL EDM= .45E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 .77573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 1.3179 1.2836 -.13512E-05 .17478E-01 3 Normalizat 1.2429 1.0936 .19865E-05 -.85287 4 Prefactor .87143 1.2179 -.52129E-05 -.97147 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 4.46461e-12 Minuit parameter uncertainties: 1 5.53203e-07 2 1.34804 3 1.11483 4 1.25933 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 4784.12386419 delta logL = -1.81898940355e-12 Extracting fit parameters... 4FGL J0334.2-3725 Spectrum: LogParabola 263 norm: 0.000e+00 5.532e-07 0.000e+00 1.000e+06 ( 1.000e-12) 264 alpha: 2.544e+00 1.348e+00 0.000e+00 5.000e+00 ( 1.000e+00) 265 beta: 6.798e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 266 Eb: 9.584e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 570 Prefactor: 8.714e-01 1.259e+00 0.000e+00 1.000e+01 ( 1.000e+00) 571 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 572 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 566 Normalization: 1.243e+00 1.115e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 53.556 -37.433 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/54392564/cmap_HighResolution_745804801_746064001_4FGL_J0334.2-3725_daily_bin1954.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.80e-08', time_completed='2024-08-24 11:00:35.711523', job_id='54392564', GAL2='0.87', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1724522435.71', return_code2='101', ts='0.00', return_code='0', GAL='0.87', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1954' AND source_name='4FGL J0334.2-3725' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 24 11:00:35 PDT 2024