/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 = 17355 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_weekly_bin792 RA = 265.023, Dec = 47.6198 tmin = 717984001, tmax = 718588801 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='30111781', job_status='RUN', time_executed='2023-10-10 02:21:04.945194', time_epoch_executed='1696929664.95' WHERE source_name='4FGL J1740.0+4737' and cadence='weekly' and bin_id='792' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/30111781 Creating custom pfile directory: /lscratch/kocevski/30111781/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=717984001.0 && nMetStart<718588801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=717984001.0 && nMetStart<718588801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/30111781/ft1_4FGL_J1740.0+4737_weekly_bin792.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=717984001.0 && nMetStart<718588801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/30111781/ft1_4FGL_J1740.0+4737_weekly_bin792.fits outfile=/lscratch/kocevski/30111781/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin792.fits ra=265.023 dec=47.6198 rad=12.0 tmin=717984001.0 tmax=718588801.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.85 user 4.57 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.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/30111781/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin792.fits evtable="EVENTS" outfile="/lscratch/kocevski/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.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.39 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 2168 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30111781/ltcube_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.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/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits .....................! real 18.07 user 17.68 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.fits evtable="EVENTS" scfile=/lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30111781/ltcube_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.fits outfile=/lscratch/kocevski/30111781/expmap_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.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/30111781/ltcube_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.fits .....................! real 61.41 user 57.52 sys 3.55 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 214 point sources and 0 extended sources Setting source of interest to: 4FGL J1740.0+4737 @ 265.023 47.6198 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.fits scfile=/lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits outfile=/lscratch/kocevski/30111781/cmap_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.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.023 yref=47.6198 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.39 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.fits scfile=/lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits outfile=/lscratch/kocevski/30111781/cmap_HighResolution_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.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.023 yref=47.6198 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.38 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.fits evtable="EVENTS" scfile=/lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30111781/Model_4FGL_J1740.0+4737_weekly_bin792.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/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.fits.....................! real 60.92 user 59.86 sys 0.70 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.fits', '/lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits', expMap='/lscratch/kocevski/30111781/expmap_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.fits', expCube='/lscratch/kocevski/30111781/ltcube_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30111781/Model_4FGL_J1740.0+4737_weekly_bin792.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1740.0+4737' 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 7.827e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30111781/ft1_filtered_4FGL_J1740.0+4737_weekly_bin792.fits Spacecraft file(s): /lscratch/kocevski/30111781/ft2_4FGL_J1740.0+4737_weekly_bin792.fits Exposure map: /lscratch/kocevski/30111781/expmap_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.fits Exposure cube: /lscratch/kocevski/30111781/ltcube_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30111781/Model_4FGL_J1740.0+4737_weekly_bin792.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) = 22952.3314718 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22952.317248 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .25264E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' 4.2987 1.0000 .0000 .10000E+07 3 'Prefactor ' 11.289 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.3204 1.0000 .0000 .10000E+07 5 'norm ' 9.2674 1.0000 .0000 .10000E+07 6 'norm ' .31626 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.3808 1.0000 .0000 .10000E+07 8 'norm ' .74385E-07 1.0000 .0000 .10000E+07 9 'norm ' 6.3141 1.0000 .0000 .10000E+07 10 'Prefactor ' .85446E-03 1.0000 .0000 .10000E+07 11 'norm ' 3.0044 1.0000 .0000 .10000E+07 12 'Prefactor ' 2.6363 1.0000 .0000 .10000E+07 13 'norm ' 2.2695 1.0000 .0000 .10000E+07 14 'Prefactor ' 14.033 1.0000 .0000 .10000E+07 15 'norm ' .59457E-03 1.0000 .0000 .10000E+07 16 'Prefactor ' .84425E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' 5.7201 1.0000 .0000 .10000E+07 18 'Prefactor ' .12799E-05 1.0000 .0000 .10000E+07 19 'Prefactor ' .93602E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' .38559E-03 1.0000 .0000 .10000E+07 21 'norm ' .44817E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.3713 1.0000 .0000 .10000E+07 23 'norm ' 2.0765 1.0000 .0000 .10000E+07 24 'norm ' 17.262 1.0000 .0000 .10000E+07 25 'norm ' .26282E-02 1.0000 .0000 .10000E+07 26 'Normalizat' 1.3953 1.0000 .10000E-01 10.000 27 'Prefactor ' .85609 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 22952.32 FROM MIGRAD STATUS=CONVERGED 180 CALLS 3417 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.2187 .16134E-06** at limit ** 2 Prefactor 4.3006 1.9625 .20628E-07 -.15731E-03 3 Prefactor 11.302 2.8741 -.12831E-07 -.15841E-03 4 Prefactor 3.3117 3.1262 .49667E-07 .57493E-04 5 norm 9.2641 1.9735 .15683E-07 .44355E-03 6 norm .31654 .41180 -.13185E-07 .36205E-03 7 Prefactor 1.3660 3.8602 -.14689E-06 -.19650E-03 8 norm .0000 .30126 -.21289E-07** at limit ** 9 norm 6.3214 5.3821 -.11353E-06 .64596E-03 10 Prefactor .0000 3.6903 .73675E-07** at limit ** 11 norm 3.0051 1.0770 -.34686E-07 -.68679E-03 12 Prefactor 2.6361 1.5966 -.13068E-07 -.84227E-04 13 norm 2.2735 2.9762 .70791E-07 .95176E-03 14 Prefactor 13.785 3.1944 -.23803E-08 -.54922E-01 15 norm .0000 2.5608 -.55627E-07** at limit ** 16 Prefactor .11102E-09 11.693 -.65668E-06** at limit ** 17 Prefactor 5.7260 2.7313 .89360E-07 .60322E-03 18 Prefactor .22204E-09 9.1658 -.15593E-06** at limit ** 19 Prefactor .21289E-06 115.48 -.46951E-06** at limit ** 20 Prefactor .0000 2.0236 -.79696E-07** at limit ** 21 norm .0000 1.6731 -.85847E-07** at limit ** 22 Prefactor 5.3510 7.1153 -.13015E-06 -.35521E-02 23 norm 2.0704 3.2136 .74754E-07 .78884E-04 24 norm 17.274 5.8014 .47419E-07 .32549E-02 25 norm .16653E-09 8.9792 .23032E-06** at limit ** 26 Normalizat 1.3955 .15062 .17443E-05 .18485E-04 27 Prefactor .85596 .96057E-01 -.53427E-06 .23353E-04 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 4.30057 Prefactor = 11.3023 Prefactor = 3.31167 norm = 9.26414 norm = 0.316538 Prefactor = 1.366 norm = 0 norm = 6.32135 Prefactor = 0 norm = 3.0051 Prefactor = 2.63606 norm = 2.2735 Prefactor = 13.7854 norm = 0 Prefactor = 1.11022e-10 Prefactor = 5.72604 Prefactor = 2.22045e-10 Prefactor = 2.12885e-07 Prefactor = 0 norm = 0 Prefactor = 5.35101 norm = 2.07037 norm = 17.2737 norm = 1.66533e-10 Normalizat = 1.3955 Prefactor = 0.855964 ********** ** 18 **HESSE ********** FCN= 22952.32 FROM HESSE STATUS=OK 556 CALLS 3973 TOTAL EDM= .54E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.2103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 4.3006 1.9971 .48566E-03 -1.5666 3 Prefactor 11.302 2.8759 .29792E-03 -1.5641 4 Prefactor 3.3117 3.1244 .55527E-03 -1.5672 5 norm 9.2641 1.9745 .32897E-03 -1.5647 6 norm .31654 .44568 .24631E-02 -1.5697 7 Prefactor 1.3660 3.9951 .92591E-03 -1.5685 8 norm .0000 .14239 .19985E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 6.3214 5.4269 .39923E-03 -1.5658 10 Prefactor .0000 3.6812 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 3.0051 1.0808 .58533E-03 -1.5673 12 Prefactor 2.6361 1.5945 .62773E-03 -1.5675 13 norm 2.2735 3.3134 .68145E-03 -1.5678 14 Prefactor 13.785 43.709 .26712E-03 -1.5634 15 norm .0000 2.5299 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .11102E-09 11.693 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 5.7260 2.7295 .41974E-03 -1.5660 18 Prefactor .22204E-09 9.1671 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .21289E-06 115.94 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 2.0207 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .0000 1.6717 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 5.3510 7.1315 .43338E-03 -1.5662 23 norm 2.0704 3.2376 .71645E-03 -1.5679 24 norm 17.274 5.8033 .24079E-03 -1.5625 25 norm .16653E-09 8.6897 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat 1.3955 .12585 .64081E-01 -.80759 27 Prefactor .85596 .79917E-01 .44443E-01 -.97697 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.40362e-06 Minuit parameter uncertainties: 1 5.59254e-07 2 1.9971 3 2.87591 4 3.12441 5 1.97455 6 0.445676 7 3.99508 8 3.48526e-08 9 5.42693 10 2.71984e-06 11 1.08081 12 1.59446 13 3.31341 14 43.7104 15 6.64717e-06 16 6.54123e-05 17 2.72948 18 9.34138e-05 19 0.00993581 20 3.17939e-06 21 2.4639e-06 22 7.13147 23 3.23763 24 5.80334 25 7.06675e-05 26 0.12588 27 0.0799284 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22952.3161912 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 1.110e-10 6.541e-05 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 8.560e-01 7.993e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.396e+00 1.259e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 2.78212094081e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00210182757737 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/30111781/likelihoodResults_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.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) = 22952.357213 delta logL = -0.0410217938079 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 22951.9625274 delta logL = 0.353663774618 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .50716 1.0000 .0000 .10000E+07 2 'Index ' 3.8733 1.0000 .0000 10.000 3 'Normalizat' 1.3609 1.0000 .10000E-01 10.000 4 'Prefactor ' .86895 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 22951.96 FROM MIGRAD STATUS=CONVERGED 62 CALLS 237 TOTAL EDM= .14E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .50869 9.1575 .77993E-03 .60208E-01 2 Index 3.8733 1.9939 .10900 .58142E-03 3 Normalizat 1.3608 .22913E-01 .64766E-01 .85650E-05 4 Prefactor .86897 .15441E-01 .44608E-01 .28158E-04 ERR DEF= .500 Final values: Prefactor = 0.508692 Index = 3.87326 Normalizat = 1.36081 Prefactor = 0.86897 ********** ** 18 **HESSE ********** FCN= 22951.96 FROM HESSE STATUS=NOT POSDEF 33 CALLS 270 TOTAL EDM= .86E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .50869 34.989 .12328E-04 -1.5694 2 Index 3.8733 6.9157 .85886E-02 -.22730 3 Normalizat 1.3608 .10109 .28649E-03 -.81769 4 Prefactor .86897 .67119E-01 .23456E-03 -.97234 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 8.62322e-06 Minuit parameter uncertainties: 1 8.43769 2 5.91387 3 0.101101 4 0.0671254 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 22951.9625247 delta logL = 0.353666425006 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 5.087e-01 8.438e+00 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 3.873e+00 5.914e+00 0.000e+00 1.000e+01 (-1.000e+00) 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 8.690e-01 6.713e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.361e+00 1.011e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 265.023 47.620 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/30111781/cmap_HighResolution_717984001_718588801_4FGL_J1740.0+4737_weekly_bin792.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-03', job_status='DONE', photon_flux_upper_limit='2.78e-08', time_completed='2023-10-10 02:35:56.318323', job_id='30111781', GAL2='0.87', fit_tolerance='1e-08', EG2='1.36', EG='1.40', time_epoch_completed='1696930556.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.54e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='792' AND source_name='4FGL J1740.0+4737' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 10 02:35:56 PDT 2023