/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 = 17475 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.6+5346_weekly_bin831 RA = 265.159, Dec = 53.7701 tmin = 741571201, tmax = 742176001 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='52004636', job_status='RUN', time_executed='2024-07-09 03:25:36.326000', time_epoch_executed='1720520736.33' WHERE source_name='4FGL J1740.6+5346' and cadence='weekly' and bin_id='831' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/52004636 Creating custom pfile directory: /lscratch/kocevski/52004636/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=741571201.0 && nMetStart<742176001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=741571201.0 && nMetStart<742176001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/52004636/ft1_4FGL_J1740.6+5346_weekly_bin831.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=741571201.0 && nMetStart<742176001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/52004636/ft1_4FGL_J1740.6+5346_weekly_bin831.fits outfile=/lscratch/kocevski/52004636/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin831.fits ra=265.159 dec=53.7701 rad=12.0 tmin=741571201.0 tmax=742176001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 6.01 user 4.52 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.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/52004636/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin831.fits evtable="EVENTS" outfile="/lscratch/kocevski/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.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.82 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 2331 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.fits" evtable="EVENTS" scfile=/lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits sctable="SC_DATA" outfile=/lscratch/kocevski/52004636/ltcube_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.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/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits .....................! real 16.60 user 15.14 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.fits evtable="EVENTS" scfile=/lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits sctable="SC_DATA" expcube=/lscratch/kocevski/52004636/ltcube_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.fits outfile=/lscratch/kocevski/52004636/expmap_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.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/52004636/ltcube_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.fits .....................! real 62.38 user 57.50 sys 3.46 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 206 point sources and 0 extended sources Setting source of interest to: 4FGL J1740.6+5346 @ 265.159 53.7701 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.fits scfile=/lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits outfile=/lscratch/kocevski/52004636/cmap_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.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=265.159 yref=53.7701 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 1.22 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.fits scfile=/lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits outfile=/lscratch/kocevski/52004636/cmap_HighResolution_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.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=265.159 yref=53.7701 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 1.44 user 0.20 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.fits evtable="EVENTS" scfile=/lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/52004636/Model_4FGL_J1740.6+5346_weekly_bin831.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/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.fits.....................! real 67.14 user 65.23 sys 0.61 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.fits', '/lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits', expMap='/lscratch/kocevski/52004636/expmap_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.fits', expCube='/lscratch/kocevski/52004636/ltcube_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/52004636/Model_4FGL_J1740.6+5346_weekly_bin831.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1740.6+5346' 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 8.657e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.165e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/52004636/ft1_filtered_4FGL_J1740.6+5346_weekly_bin831.fits Spacecraft file(s): /lscratch/kocevski/52004636/ft2_4FGL_J1740.6+5346_weekly_bin831.fits Exposure map: /lscratch/kocevski/52004636/expmap_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.fits Exposure cube: /lscratch/kocevski/52004636/ltcube_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/52004636/Model_4FGL_J1740.6+5346_weekly_bin831.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) = 23923.4394781 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23923.2889468 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 36.522 1.0000 .0000 .10000E+07 2 'Prefactor ' 3.8887 1.0000 .0000 .10000E+07 3 'Prefactor ' .46610 1.0000 .0000 .10000E+07 4 'Prefactor ' .52699E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .33139E-04 1.0000 .0000 .10000E+07 6 'Prefactor ' .76817 1.0000 .0000 .10000E+07 7 'norm ' .27230 1.0000 .0000 .10000E+07 8 'Prefactor ' 4.6228 1.0000 .0000 .10000E+07 9 'norm ' .28788E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' 8.8255 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.4588 1.0000 .0000 .10000E+07 12 'norm ' 2.0835 1.0000 .0000 .10000E+07 13 'Prefactor ' 1.6074 1.0000 .0000 .10000E+07 14 'Prefactor ' .69566E-04 1.0000 .0000 .10000E+07 15 'norm ' 3.0908 1.0000 .0000 .10000E+07 16 'Prefactor ' .33509E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 14.221 1.0000 .0000 .10000E+07 18 'Prefactor ' .11545E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' 30.326 1.0000 .0000 .10000E+07 20 'Prefactor ' .60144E-05 1.0000 .0000 .10000E+07 21 'norm ' 5.8119 1.0000 .0000 .10000E+07 22 'Prefactor ' .47017E-03 1.0000 .0000 .10000E+07 23 'Prefactor ' 4.5785 1.0000 .0000 .10000E+07 24 'norm ' 4.9521 1.0000 .0000 .10000E+07 25 'norm ' .24739E-05 1.0000 .0000 .10000E+07 26 'norm ' 15.619 1.0000 .0000 .10000E+07 27 'Prefactor ' .14790E-02 1.0000 .0000 .10000E+07 28 'Normalizat' 1.0198 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0093 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 23923.28 FROM MIGRAD STATUS=CONVERGED 188 CALLS 2166 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 36.543 1.0656 -.15873E-08 -.97677E-02 2 Prefactor 3.9173 2.9420 .19501E-07 .14157E-02 3 Prefactor .47131 2.0238 -.15300E-07 .13037E-03 4 Prefactor .13323E-08 4.4431 -.13885E-06** at limit ** 5 Prefactor .22204E-09 3.4001 .24748E-06** at limit ** 6 Prefactor .81322 .81472 -.20741E-07 .43627E-03 7 norm .27261 .37216 -.20375E-07 -.19612E-02 8 Prefactor 4.6379 3.8285 .67879E-07 .24692E-02 9 norm .0000 .26152 -.24158E-07** at limit ** 10 Prefactor 8.8185 4.2329 -.89564E-07 -.44270E-02 11 Prefactor 2.4128 5.0944 -.20904E-07 -.65505E-03 12 norm 2.0854 .95788 -.27768E-07 -.35330E-02 13 Prefactor 1.6083 1.4438 .61977E-07 .51249E-02 14 Prefactor .10268E-05 13.247 -.97495E-07** at limit ** 15 norm 3.0917 2.9147 -.56542E-07 -.10718E-02 16 Prefactor .80358E-06 6.2713 -.61560E-07** at limit ** 17 Prefactor 14.240 3.5019 -.60490E-08 .24467E-03 18 Prefactor .35527E-08 6.2876 -.39836E-07** at limit ** 19 Prefactor 33.746 37.952 -.48317E-06 -.62561E-02 20 Prefactor .27058E-05 4.1399 -.50485E-07** at limit ** 21 norm 5.8278 4.1961 .61729E-09 .72369E-03 22 Prefactor .82639E-06 10.531 -.10725E-06** at limit ** 23 Prefactor 4.6010 1.0849 -.93158E-08 .12918E-01 24 norm 4.9504 3.3484 .91219E-08 .69182E-03 25 norm .16653E-09 2.6971 .12715E-06** at limit ** 26 norm 15.620 6.4028 .13781E-07 .12322E-02 27 Prefactor .47784E-06 21.396 .26752E-06** at limit ** 28 Normalizat 1.0186 .14180 .24911E-05 .23141E-03 29 Prefactor 1.0092 .98768E-01 -.65593E-06 .23985E-03 ERR DEF= .500 Final values: norm = 36.5432 Prefactor = 3.91731 Prefactor = 0.471308 Prefactor = 1.33227e-09 Prefactor = 2.22045e-10 Prefactor = 0.813218 norm = 0.272615 Prefactor = 4.63787 norm = 0 Prefactor = 8.81853 Prefactor = 2.41283 norm = 2.08536 Prefactor = 1.60831 Prefactor = 1.02679e-06 norm = 3.09166 Prefactor = 8.03579e-07 Prefactor = 14.2397 Prefactor = 3.55271e-09 Prefactor = 33.7458 Prefactor = 2.70584e-06 norm = 5.82784 Prefactor = 8.26395e-07 Prefactor = 4.60105 norm = 4.95038 norm = 1.66533e-10 norm = 15.6205 Prefactor = 4.7784e-07 Normalizat = 1.01864 Prefactor = 1.00925 ********** ** 18 **HESSE ********** FCN= 23923.28 FROM HESSE STATUS=OK 625 CALLS 2791 TOTAL EDM= .89E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 36.543 13.295 .16549E-03 -1.5587 2 Prefactor 3.9173 2.9767 .51142E-03 -1.5668 3 Prefactor .47131 2.0634 .82196E-03 -1.5694 4 Prefactor .13323E-08 .82405 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .22204E-09 3.3923 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .81322 22.637 .55338E-03 -1.5690 7 norm .27261 .39615 .25145E-02 -1.5698 8 Prefactor 4.6379 3.8812 .46788E-03 -1.5665 9 norm .0000 .25492 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 8.8185 4.2619 .33716E-03 -1.5649 11 Prefactor 2.4128 5.1447 .65198E-03 -1.5677 12 norm 2.0854 .96286 .71507E-03 -1.5679 13 Prefactor 1.6083 1.4317 .83539E-03 -1.5683 14 Prefactor .10268E-05 15.090 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 3.0917 2.9325 .57661E-03 -1.5673 16 Prefactor .80358E-06 7.6773 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 14.240 3.5038 .26534E-03 -1.5632 18 Prefactor .35527E-08 6.2936 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 33.746 37.978 .18162E-03 -1.5592 20 Prefactor .27058E-05 8.7501 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 5.8278 4.2052 .41636E-03 -1.5660 22 Prefactor .82639E-06 11.868 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 4.6010 10.227 .47020E-03 -1.5665 24 norm 4.9504 3.3510 .45170E-03 -1.5663 25 norm .16653E-09 2.6856 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm 15.620 6.3972 .25316E-03 -1.5629 27 Prefactor .47784E-06 21.938 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat 1.0186 .12113 .70916E-01 -.92409 29 Prefactor 1.0092 .82850E-01 .43437E-01 -.92422 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.89747e-06 Minuit parameter uncertainties: 1 13.2949 2 2.97674 3 1.97233 4 6.65895e-05 5 5.54072e-05 6 8.58119 7 0.396147 8 3.88122 9 1.31515e-06 10 4.2619 11 5.14469 12 0.962855 13 1.43167 14 0.00787247 15 2.93254 16 0.00496769 17 3.50384 18 0.000298382 19 37.9785 20 0.00973161 21 4.20518 22 0.00626333 23 10.2266 24 3.35102 25 4.50609e-05 26 6.39723 27 0.00647567 28 0.12116 29 0.0828608 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23923.2845332 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 3.553e-09 2.984e-04 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.165e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 674 Prefactor: 1.009e+00 8.286e-02 0.000e+00 1.000e+01 ( 1.000e+00) 675 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 676 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 673 Normalization: 1.019e+00 1.212e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 265.159 53.770 Photon Flux Upper Limit: 1.83810571657e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00139681242352 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/52004636/likelihoodResults_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.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) = 23923.3604725 delta logL = -0.0759393024018 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 23923.2845349 delta logL = -1.64383163792e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .89806E-05 1.0000 .0000 .10000E+07 2 'Index ' .77358 1.0000 .0000 10.000 3 'Normalizat' 1.0187 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0092 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 23923.28 FROM MIGRAD STATUS=CONVERGED 34 CALLS 192 TOTAL EDM= .47E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 5.8066 -.31698E-07** at limit ** 2 Index 2.2650 3.2866 .17737E-05 .0000 3 Normalizat 1.0186 .13096 .16958E-05 -.67679E-05 4 Prefactor 1.0092 .96327E-01 -.23744E-06 -.31766E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.26499 Normalizat = 1.01864 Prefactor = 1.00925 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 23923.28 FROM HESSE STATUS=FAILED 11 CALLS 203 TOTAL EDM= .47E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 5.7919 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .56969 1.9485 .17737E-05 -.57878 3 Normalizat 1.0186 1.2696 .16958E-05 -.92409 4 Prefactor 1.0092 1.2681 -.23744E-06 -.92422 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 4.69902e-13 Minuit parameter uncertainties: 1 5.55399e-06 2 1.81542 3 1.3106 4 1.30888 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) = 23923.2845332 delta logL = 2.94676283374e-10 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 0.000e+00 5.554e-06 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.265e+00 1.815e+00 0.000e+00 1.000e+01 (-1.000e+00) 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 674 Prefactor: 1.009e+00 1.309e+00 0.000e+00 1.000e+01 ( 1.000e+00) 675 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 676 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 673 Normalization: 1.019e+00 1.311e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 265.159 53.770 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/52004636/cmap_HighResolution_741571201_742176001_4FGL_J1740.6+5346_weekly_bin831.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-03', job_status='DONE', photon_flux_upper_limit='1.84e-08', time_completed='2024-07-09 03:52:29.856300', job_id='52004636', GAL2='1.01', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1720522349.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.95e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='831' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 9 03:52:30 PDT 2024