/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 = 17299 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_weekly_bin839 RA = 264.56, Dec = 40.0099 tmin = 746409601, tmax = 747014401 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='55073837', job_status='RUN', time_executed='2024-09-06 18:56:06.950185', time_epoch_executed='1725674166.95' WHERE source_name='4FGL J1738.2+4000' and cadence='weekly' and bin_id='839' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/55073837 Creating custom pfile directory: /lscratch/kocevski/55073837/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/55073837/ft1_4FGL_J1738.2+4000_weekly_bin839.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/55073837/ft1_4FGL_J1738.2+4000_weekly_bin839.fits outfile=/lscratch/kocevski/55073837/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin839.fits ra=264.56 dec=40.0099 rad=12.0 tmin=746409601.0 tmax=747014401.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 5.79 user 5.37 sys 0.32 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.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/55073837/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin839.fits evtable="EVENTS" outfile="/lscratch/kocevski/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.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.38 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 2024 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.fits" evtable="EVENTS" scfile=/lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits sctable="SC_DATA" outfile=/lscratch/kocevski/55073837/ltcube_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.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/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits .....................! real 15.41 user 15.03 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.fits evtable="EVENTS" scfile=/lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits sctable="SC_DATA" expcube=/lscratch/kocevski/55073837/ltcube_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.fits outfile=/lscratch/kocevski/55073837/expmap_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.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/55073837/ltcube_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.fits .....................! real 59.44 user 55.56 sys 3.51 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 210 point sources and 0 extended sources Setting source of interest to: 4FGL J1738.2+4000 @ 264.56 40.0099 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.fits scfile=/lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits outfile=/lscratch/kocevski/55073837/cmap_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.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=264.56 yref=40.0099 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.41 user 0.20 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.fits scfile=/lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits outfile=/lscratch/kocevski/55073837/cmap_HighResolution_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.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=264.56 yref=40.0099 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.21 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.fits evtable="EVENTS" scfile=/lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/55073837/Model_4FGL_J1738.2+4000_weekly_bin839.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/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.fits.....................! real 51.32 user 50.20 sys 0.78 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.fits', '/lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits', expMap='/lscratch/kocevski/55073837/expmap_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.fits', expCube='/lscratch/kocevski/55073837/ltcube_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/55073837/Model_4FGL_J1738.2+4000_weekly_bin839.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1738.2+4000' 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 6.394e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/55073837/ft1_filtered_4FGL_J1738.2+4000_weekly_bin839.fits Spacecraft file(s): /lscratch/kocevski/55073837/ft2_4FGL_J1738.2+4000_weekly_bin839.fits Exposure map: /lscratch/kocevski/55073837/expmap_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.fits Exposure cube: /lscratch/kocevski/55073837/ltcube_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/55073837/Model_4FGL_J1738.2+4000_weekly_bin839.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) = 21169.3648334 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21169.3177896 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 12.861 1.0000 .0000 .10000E+07 2 'Prefactor ' .63759 1.0000 .0000 .10000E+07 3 'Prefactor ' 7.6210 1.0000 .0000 .10000E+07 4 'Prefactor ' .29314E-05 1.0000 .0000 .10000E+07 5 'norm ' 3.6672 1.0000 .0000 .10000E+07 6 'norm ' .18611 1.0000 .0000 .10000E+07 7 'Prefactor ' 5.5020 1.0000 .0000 .10000E+07 8 'norm ' .80848E-01 1.0000 .0000 .10000E+07 9 'norm ' 7.2361 1.0000 .0000 .10000E+07 10 'norm ' 5.0855 1.0000 .0000 .10000E+07 11 'Prefactor ' .20484E-06 1.0000 .0000 .10000E+07 12 'norm ' 3.6778 1.0000 .0000 .10000E+07 13 'Prefactor ' .10446E-02 1.0000 .0000 .10000E+07 14 'Prefactor ' 21.272 1.0000 .0000 .10000E+07 15 'norm ' 2.7098 1.0000 .0000 .10000E+07 16 'Prefactor ' 57.068 1.0000 .0000 .10000E+07 17 'Prefactor ' 9.1188 1.0000 .0000 .10000E+07 18 'Prefactor ' 6.4664 1.0000 .0000 .10000E+07 19 'Prefactor ' .24358E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' 49.574 1.0000 .0000 .10000E+07 21 'norm ' 1.7808 1.0000 .0000 .10000E+07 22 'norm ' .62828E-06 1.0000 .0000 .10000E+07 23 'norm ' .84632E-06 1.0000 .0000 .10000E+07 24 'Prefactor ' 4.0519 1.0000 .0000 .10000E+07 25 'Prefactor ' 2.1228 1.0000 .0000 .10000E+07 26 'Normalizat' .71414 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.1469 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21169.32 FROM MIGRAD STATUS=CONVERGED 161 CALLS 2419 TOTAL EDM= .60E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 12.890 4.5883 -.35200E-07 -.77024E-01 2 Prefactor .63848 1.0199 .10353E-06 .10822E-02 3 Prefactor 7.6202 1.3813 -.71247E-07 .54281E-02 4 Prefactor .0000 4.2245 -.73133E-06** at limit ** 5 norm 3.6653 1.1498 .17737E-07 .12624E-02 6 norm .18582 .40944 -.67426E-07** at limit ** 7 Prefactor 5.5249 4.1386 -.58464E-07 .92931E-04 8 norm .80597E-01 .39031 .40314E-07** at limit ** 9 norm 7.2538 3.7607 .70970E-07 -.97652E-04 10 norm 5.0888 1.2467 -.18852E-07 .18785E-03 11 Prefactor .0000 .72743 .31791E-07** at limit ** 12 norm 3.6726 2.4042 .43824E-07 -.46600E-03 13 Prefactor .73275E-08 20.980 .35044E-06** at limit ** 14 Prefactor 20.144 36.316 .32671E-08 .76836E-01 15 norm 2.7320 2.8684 -.21332E-07 .23866E-03 16 Prefactor 56.262 29.424 .13491E-06 .20162E-01 17 Prefactor 9.2983 9.1426 .11285E-06 -.17728E-02 18 Prefactor 6.4678 5.4065 -.71030E-09 .26934E-03 19 Prefactor .66613E-09 11.526 -.49611E-06** at limit ** 20 Prefactor 50.555 30.993 -.48757E-07 .13584 21 norm 1.7798 .86713 -.31084E-07 -.29567E-03 22 norm .22204E-09 12.427 -.54423E-07** at limit ** 23 norm .0000 1.4028 -.10274E-06** at limit ** 24 Prefactor 4.0502 2.9860 .60359E-07 -.16938E-03 25 Prefactor 2.1208 2.0413 .10892E-06 -.53842E-03 26 Normalizat .71409 .15532 .54893E-05 .36598E-04 27 Prefactor 1.1469 .95739E-01 -.35555E-05 .12024E-03 ERR DEF= .500 Final values: norm = 12.8897 Prefactor = 0.638484 Prefactor = 7.62022 Prefactor = 0 norm = 3.66527 norm = 0.185819 Prefactor = 5.52491 norm = 0.0805966 norm = 7.25382 norm = 5.08884 Prefactor = 0 norm = 3.67264 Prefactor = 7.32747e-09 Prefactor = 20.1439 norm = 2.73196 Prefactor = 56.2618 Prefactor = 9.29833 Prefactor = 6.46784 Prefactor = 6.66134e-10 Prefactor = 50.5553 norm = 1.77976 norm = 2.22045e-10 norm = 0 Prefactor = 4.05022 Prefactor = 2.12083 Normalizat = 0.714093 Prefactor = 1.14691 ********** ** 18 **HESSE ********** FCN= 21169.32 FROM HESSE STATUS=OK 562 CALLS 2981 TOTAL EDM= .17E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 12.890 24.183 .27906E-03 -1.5636 2 Prefactor .63848 1.0905 .65926E-03 -1.5692 3 Prefactor 7.6202 1.4720 .36302E-03 -1.5653 4 Prefactor .0000 .71606 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.6653 1.1521 .52721E-03 -1.5670 6 norm .18582 .41497 .12028E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 5.5249 4.2601 .42811E-03 -1.5661 8 norm .80597E-01 .23745 .21283E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 7.2538 3.7682 .37264E-03 -1.5654 10 norm 5.0888 1.2488 .44562E-03 -1.5663 11 Prefactor .0000 .72660 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 3.6726 2.4070 .52642E-03 -1.5670 13 Prefactor .73275E-08 20.920 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 20.144 48.794 .21688E-03 -1.5618 15 norm 2.7320 2.8790 .61849E-03 -1.5675 16 Prefactor 56.262 30.384 .13238E-03 -1.5558 17 Prefactor 9.2983 9.2233 .33166E-03 -1.5647 18 Prefactor 6.4678 5.4202 .39444E-03 -1.5657 19 Prefactor .66613E-09 11.474 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 50.555 44.492 .14204E-03 -1.5566 21 norm 1.7798 .86302 .78395E-03 -1.5681 22 norm .22204E-09 12.423 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .0000 1.4060 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 4.0502 2.9931 .50068E-03 -1.5668 25 Prefactor 2.1208 2.0400 .70752E-03 -1.5679 26 Normalizat .71409 .13726 .82837E-01 -1.0334 27 Prefactor 1.1469 .82881E-01 .36026E-01 -.87981 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.73599e-06 Minuit parameter uncertainties: 1 24.1829 2 1.09046 3 1.47201 4 5.4969e-07 5 1.15205 6 0.414965 7 4.26008 8 0.237454 9 3.76822 10 1.24882 11 5.5571e-07 12 2.40704 13 0.000781829 14 48.7949 15 2.87902 16 30.3838 17 9.22328 18 5.42019 19 0.00017505 20 44.4924 21 0.863024 22 0.000110929 23 8.7363e-06 24 2.99307 25 2.04001 26 0.137322 27 0.08289 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21169.3167143 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 7.327e-09 7.818e-04 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 1.147e+00 8.289e-02 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 7.141e-01 1.373e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 3.92419052284e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00305539939398 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/55073837/likelihoodResults_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.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) = 21169.3397748 delta logL = -0.0230605187098 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 21169.3167143 delta logL = -3.57613316737e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .0000 1.0000 .0000 .10000E+07 2 'Index ' .44285 1.0000 .0000 10.000 3 'Normalizat' .71410 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1469 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21169.32 FROM MIGRAD STATUS=CONVERGED 39 CALLS 178 TOTAL EDM= .13E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 17.737 .92443E-06** at limit ** 2 Index 2.8695 5.9494 -.80429E-04 .0000 3 Normalizat .71409 .14252 .24820E-05 .59934E-04 4 Prefactor 1.1469 .93485E-01 -.17662E-05 .94527E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.86947 Normalizat = 0.714093 Prefactor = 1.14691 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 21169.32 FROM HESSE STATUS=FAILED 11 CALLS 189 TOTAL EDM= .13E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 17.712 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .93239 2.0960 -.80429E-04 -.44018 3 Normalizat .71409 1.0538 .24820E-05 -1.0334 4 Prefactor 1.1469 1.1233 -.17662E-05 -.87981 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.28542e-12 Minuit parameter uncertainties: 1 4.84049e-06 2 1.75803 3 1.08617 4 1.14798 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) = 21169.3167143 delta logL = 1.7462298274e-10 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 0.000e+00 4.840e-06 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.869e+00 1.758e+00 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 1.147e+00 1.148e+00 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 7.141e-01 1.086e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 264.560 40.010 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/55073837/cmap_HighResolution_746409601_747014401_4FGL_J1738.2+4000_weekly_bin839.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-03', job_status='DONE', photon_flux_upper_limit='3.92e-08', time_completed='2024-09-06 19:07:40.341251', job_id='55073837', GAL2='1.15', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1725674860.34', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.75e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='839' AND source_name='4FGL J1738.2+4000' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri Sep 6 19:07:40 PDT 2024