/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17353 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1304.0+3704_weekly_bin848 RA = 196.008, Dec = 37.071 tmin = 751852801, tmax = 752457601 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='58229333', job_status='RUN', time_executed='2024-11-05 01:24:01.780363', time_epoch_executed='1730798641.78' WHERE source_name='4FGL J1304.0+3704' and cadence='weekly' and bin_id='848' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/58229333 Creating custom pfile directory: /lscratch/kocevski/58229333/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=751852801.0 && nMetStart<752457601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=751852801.0 && nMetStart<752457601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/58229333/ft1_4FGL_J1304.0+3704_weekly_bin848.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=751852801.0 && nMetStart<752457601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/58229333/ft1_4FGL_J1304.0+3704_weekly_bin848.fits outfile=/lscratch/kocevski/58229333/ft1_filteredMKT_4FGL_J1304.0+3704_weekly_bin848.fits ra=196.008 dec=37.071 rad=12.0 tmin=751852801.0 tmax=752457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.45 user 4.01 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.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/58229333/ft1_filteredMKT_4FGL_J1304.0+3704_weekly_bin848.fits evtable="EVENTS" outfile="/lscratch/kocevski/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.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.47 user 0.20 sys 0.15 Number of photons that the gtmktime cut: 1669 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.fits" evtable="EVENTS" scfile=/lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits sctable="SC_DATA" outfile=/lscratch/kocevski/58229333/ltcube_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.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/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits .....................! real 19.30 user 18.71 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.fits evtable="EVENTS" scfile=/lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits sctable="SC_DATA" expcube=/lscratch/kocevski/58229333/ltcube_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.fits outfile=/lscratch/kocevski/58229333/expmap_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.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/58229333/ltcube_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.fits .....................! real 69.86 user 65.19 sys 4.05 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 187 point sources and 0 extended sources Setting source of interest to: 4FGL J1304.0+3704 @ 196.008 37.071 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.fits scfile=/lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits outfile=/lscratch/kocevski/58229333/cmap_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.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=196.008 yref=37.071 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.51 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.fits scfile=/lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits outfile=/lscratch/kocevski/58229333/cmap_HighResolution_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.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=196.008 yref=37.071 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.47 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.fits evtable="EVENTS" scfile=/lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/58229333/Model_4FGL_J1304.0+3704_weekly_bin848.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/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.fits.....................! real 48.88 user 47.64 sys 0.69 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.fits', '/lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits', expMap='/lscratch/kocevski/58229333/expmap_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.fits', expCube='/lscratch/kocevski/58229333/ltcube_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/58229333/Model_4FGL_J1304.0+3704_weekly_bin848.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1304.0+3704' 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 2.111e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 314 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/58229333/ft1_filtered_4FGL_J1304.0+3704_weekly_bin848.fits Spacecraft file(s): /lscratch/kocevski/58229333/ft2_4FGL_J1304.0+3704_weekly_bin848.fits Exposure map: /lscratch/kocevski/58229333/expmap_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.fits Exposure cube: /lscratch/kocevski/58229333/ltcube_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/58229333/Model_4FGL_J1304.0+3704_weekly_bin848.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) = 17487.4749306 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17487.4437075 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 9.8875 1.0000 .0000 .10000E+07 2 'Prefactor ' .10342E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .38181E-06 1.0000 .0000 .10000E+07 4 'Prefactor ' .30112E-05 1.0000 .0000 .10000E+07 5 'Prefactor ' 5.6868 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.7540 1.0000 .0000 .10000E+07 7 'Prefactor ' .40492E-03 1.0000 .0000 .10000E+07 8 'norm ' 3.8933 1.0000 .0000 .10000E+07 9 'Prefactor ' .61841E-04 1.0000 .0000 .10000E+07 10 'Prefactor ' .61016E-04 1.0000 .0000 .10000E+07 11 'norm ' .10547E-08 1.0000 .0000 .10000E+07 12 'norm ' 29.012 1.0000 .0000 .10000E+07 13 'norm ' 96.133 1.0000 .0000 .10000E+07 14 'norm ' 53.730 1.0000 .0000 .10000E+07 15 'norm ' .41322E-04 1.0000 .0000 .10000E+07 16 'Prefactor ' .11707E-06 1.0000 .0000 .10000E+07 17 'Prefactor ' .40381E-04 1.0000 .0000 .10000E+07 18 'Prefactor ' 29.014 1.0000 .0000 .10000E+07 19 'Prefactor ' .54565E-04 1.0000 .0000 .10000E+07 20 'Prefactor ' .31747E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' .19353E-02 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.6312 1.0000 .0000 .10000E+07 23 'norm ' 6.3956 1.0000 .0000 .10000E+07 24 'Prefactor ' .44309E-04 1.0000 .0000 .10000E+07 25 'norm ' .20042E-02 1.0000 .0000 .10000E+07 26 'Normalizat' .67927 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.2066 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 17487.44 FROM MIGRAD STATUS=CONVERGED 141 CALLS 1841 TOTAL EDM= .41E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 9.8901 2.6593 .38804E-07 -.20476E-02 2 Prefactor .82712E-07 1.6033 .97552E-07** at limit ** 3 Prefactor .0000 .35173 .34321E-07** at limit ** 4 Prefactor .15765E-07 3.3695 .21809E-06** at limit ** 5 Prefactor 5.6664 1.1048 -.43396E-08 .11176E-02 6 Prefactor 3.7598 1.1881 -.94903E-08 -.18445E-01 7 Prefactor .22204E-09 1.7207 -.11649E-06** at limit ** 8 norm 3.8775 2.6168 -.15544E-07 -.23394E-03 9 Prefactor .10458E-06 11.514 .24061E-06** at limit ** 10 Prefactor .25535E-08 3.2270 .35160E-06** at limit ** 11 norm .55511E-10 .89394 -.11726E-06** at limit ** 12 norm 29.019 1.0479 -.10967E-08 .29359E-02 13 norm 96.159 5.6340 -.16247E-09 .94130E-02 14 norm 53.696 3.1705 -.76226E-08 .49529E-02 15 norm .60618E-07 1.3817 .14105E-06** at limit ** 16 Prefactor .0000 .39068 -.65545E-07** at limit ** 17 Prefactor .22204E-09 1.9936 .67919E-07** at limit ** 18 Prefactor 29.699 19.532 .88075E-07 -.28291E-01 19 Prefactor .18591E-06 5.2497 .30224E-07** at limit ** 20 Prefactor .16653E-09 2.1499 .15850E-06** at limit ** 21 Prefactor .33684E-06 4.5446 .13300E-06** at limit ** 22 Prefactor 5.6352 1.0167 -.12200E-08 .23166E-03 23 norm 6.3941 1.2802 -.25120E-07 .14641E-02 24 Prefactor .55511E-10 1.1542 -.47655E-07** at limit ** 25 norm .18541E-07 4.2676 .11214E-06** at limit ** 26 Normalizat .67891 .12204 .21308E-05 -.70417E-04 27 Prefactor 1.2068 .15514 -.60691E-06 -.50888E-04 ERR DEF= .500 Final values: norm = 9.89008 Prefactor = 8.27116e-08 Prefactor = 0 Prefactor = 1.57652e-08 Prefactor = 5.66638 Prefactor = 3.75979 Prefactor = 2.22045e-10 norm = 3.87747 Prefactor = 1.04583e-07 Prefactor = 2.55351e-09 norm = 5.55112e-11 norm = 29.0191 norm = 96.1594 norm = 53.6963 norm = 6.06182e-08 Prefactor = 0 Prefactor = 2.22045e-10 Prefactor = 29.6986 Prefactor = 1.85907e-07 Prefactor = 1.66533e-10 Prefactor = 3.36842e-07 Prefactor = 5.63525 norm = 6.39412 Prefactor = 5.55112e-11 norm = 1.85407e-08 Normalizat = 0.678912 Prefactor = 1.2068 ********** ** 18 **HESSE ********** FCN= 17487.44 FROM HESSE STATUS=OK 544 CALLS 2385 TOTAL EDM= .11E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 9.8901 2.6614 .31843E-03 -1.5645 2 Prefactor .82712E-07 6.2776 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .35124 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .15765E-07 4.2711 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 5.6664 13.374 .42098E-03 -1.5660 6 Prefactor 3.7598 6.4464 .52085E-03 -1.5669 7 Prefactor .22204E-09 1.7235 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 3.8775 2.6235 .51111E-03 -1.5669 9 Prefactor .10458E-06 12.399 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .25535E-08 3.3055 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .55511E-10 .89259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 29.019 10.705 .18569E-03 -1.5600 13 norm 96.159 9.2648 .10200E-03 -1.5512 14 norm 53.696 17.163 .13643E-03 -1.5561 15 norm .60618E-07 1.0623 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 .39078 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .22204E-09 2.0067 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 29.699 20.861 .18568E-03 -1.5599 19 Prefactor .18591E-06 8.1055 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .16653E-09 2.1585 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .33684E-06 9.0475 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 5.6352 9.0923 .42309E-03 -1.5660 23 norm 6.3941 1.2810 .39664E-03 -1.5657 24 Prefactor .55511E-10 1.1525 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .18541E-07 5.7256 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat .67891 .10210 .65842E-01 -1.0473 27 Prefactor 1.2068 .12903 .65130E-01 -.86122 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05786e-07 Minuit parameter uncertainties: 1 2.66141 2 0.00144138 3 4.02707e-07 4 0.000519414 5 13.3744 6 6.44638 7 4.08872e-05 8 2.6235 9 0.00227721 10 0.000183731 11 1.2401e-05 12 10.7053 13 9.26478 14 17.1634 15 0.000507511 16 1.6967e-06 17 4.00481e-05 18 20.861 19 0.00245494 20 3.76029e-05 21 0.0034915 22 9.09235 23 1.28097 24 1.7866e-05 25 0.000651968 26 0.102126 27 0.129066 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17487.4425282 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 2.554e-09 1.837e-04 0.000e+00 1.000e+06 ( 1.000e-13) 314 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.207e+00 1.291e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 6.789e-01 1.021e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 196.008 37.071 Photon Flux Upper Limit: 2.76225060795e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00213953022789 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/58229333/likelihoodResults_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.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) = 17487.442883 delta logL = -0.000354825446266 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17487.4425332 delta logL = -5.02663533553e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .81801E-06 1.0000 .0000 .10000E+07 2 'Index ' 1.3306 1.0000 .0000 10.000 3 'Normalizat' .67865 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2073 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 17487.44 FROM MIGRAD STATUS=CONVERGED 43 CALLS 244 TOTAL EDM= .69E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 2.1787 .42118E-03** at limit ** 2 Index 2.7214 1.4041 .15451E-03 .0000 3 Normalizat .67891 1.0183 .84910E-06 -.12779E-02 4 Prefactor 1.2068 1.1005 .15524E-04 -.15309E-02 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.7214 Normalizat = 0.678913 Prefactor = 1.2068 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 17487.44 FROM HESSE STATUS=FAILED 9 CALLS 253 TOTAL EDM= .69E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 2.1787 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .83867 1.9991 .15451E-03 -.47318 3 Normalizat .67891 1.0183 .84910E-06 -1.0473 4 Prefactor 1.2068 1.1005 .15524E-04 -.86122 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 6.91864e-10 Minuit parameter uncertainties: 1 1.37543e-05 2 1.42852 3 1.04886 4 1.12259 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) = 17487.4425282 delta logL = -2.0008883439e-10 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 0.000e+00 1.375e-05 0.000e+00 1.000e+06 ( 1.000e-13) 314 Index: 2.721e+00 1.429e+00 0.000e+00 1.000e+01 (-1.000e+00) 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.207e+00 1.123e+00 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 6.789e-01 1.049e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 196.008 37.071 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/58229333/cmap_HighResolution_751852801_752457601_4FGL_J1304.0+3704_weekly_bin848.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-03', job_status='DONE', photon_flux_upper_limit='2.76e-08', time_completed='2024-11-05 01:34:17.096099', job_id='58229333', GAL2='1.21', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1730799257.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='-2.00e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='848' AND source_name='4FGL J1304.0+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Nov 5 01:34:17 PST 2024