/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 = 17450 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.1+7647_weekly_bin830 RA = 256.037, Dec = 76.7923 tmin = 740966401, tmax = 741571201 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='51622418', job_status='RUN', time_executed='2024-07-02 02:14:21.450385', time_epoch_executed='1719911661.45' WHERE source_name='4FGL J1704.1+7647' and cadence='weekly' and bin_id='830' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/51622418 Creating custom pfile directory: /lscratch/kocevski/51622418/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/51622418/ft1_4FGL_J1704.1+7647_weekly_bin830.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/51622418/ft1_4FGL_J1704.1+7647_weekly_bin830.fits outfile=/lscratch/kocevski/51622418/ft1_filteredMKT_4FGL_J1704.1+7647_weekly_bin830.fits ra=256.037 dec=76.7923 rad=12.0 tmin=740966401.0 tmax=741571201.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 3.82 user 2.57 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.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/51622418/ft1_filteredMKT_4FGL_J1704.1+7647_weekly_bin830.fits evtable="EVENTS" outfile="/lscratch/kocevski/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.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.49 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 3325 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.fits" evtable="EVENTS" scfile=/lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits sctable="SC_DATA" outfile=/lscratch/kocevski/51622418/ltcube_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.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/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits .....................! real 18.14 user 16.48 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.fits evtable="EVENTS" scfile=/lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits sctable="SC_DATA" expcube=/lscratch/kocevski/51622418/ltcube_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.fits outfile=/lscratch/kocevski/51622418/expmap_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.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/51622418/ltcube_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.fits .....................! real 60.95 user 55.55 sys 3.57 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 201 point sources and 0 extended sources Setting source of interest to: 4FGL J1704.1+7647 @ 256.037 76.7923 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.fits scfile=/lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits outfile=/lscratch/kocevski/51622418/cmap_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.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=256.037 yref=76.7923 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.92 user 0.21 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.fits scfile=/lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits outfile=/lscratch/kocevski/51622418/cmap_HighResolution_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.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=256.037 yref=76.7923 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.62 user 0.21 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.fits evtable="EVENTS" scfile=/lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/51622418/Model_4FGL_J1704.1+7647_weekly_bin830.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/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.fits.....................! real 118.87 user 116.28 sys 0.98 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.fits', '/lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits', expMap='/lscratch/kocevski/51622418/expmap_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.fits', expCube='/lscratch/kocevski/51622418/ltcube_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/51622418/Model_4FGL_J1704.1+7647_weekly_bin830.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.1+7647' 4FGL J1704.1+7647 Spectrum: PowerLaw 379 Prefactor: 1.968e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 380 Index: 2.548e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 381 Scale: 7.874e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/51622418/ft1_filtered_4FGL_J1704.1+7647_weekly_bin830.fits Spacecraft file(s): /lscratch/kocevski/51622418/ft2_4FGL_J1704.1+7647_weekly_bin830.fits Exposure map: /lscratch/kocevski/51622418/expmap_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.fits Exposure cube: /lscratch/kocevski/51622418/ltcube_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/51622418/Model_4FGL_J1704.1+7647_weekly_bin830.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) = 34903.9255883 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 34903.9058885 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.0883 1.0000 .0000 .10000E+07 2 'Prefactor ' 4.5711 1.0000 .0000 .10000E+07 3 'Prefactor ' .38159 1.0000 .0000 .10000E+07 4 'Prefactor ' .55525E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' 10.097 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.4528 1.0000 .0000 .10000E+07 7 'Prefactor ' .77944E-04 1.0000 .0000 .10000E+07 8 'norm ' .14222E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .67010E-01 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.3725 1.0000 .0000 .10000E+07 11 'norm ' .54166 1.0000 .0000 .10000E+07 12 'Prefactor ' .19014E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' .18721E-04 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.6834 1.0000 .0000 .10000E+07 15 'Prefactor ' 3.5613 1.0000 .0000 .10000E+07 16 'Prefactor ' 44.165 1.0000 .0000 .10000E+07 17 'norm ' 4.8813 1.0000 .0000 .10000E+07 18 'norm ' 3.5711 1.0000 .0000 .10000E+07 19 'norm ' 3.2525 1.0000 .0000 .10000E+07 20 'Prefactor ' .38693E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' 7.4012 1.0000 .0000 .10000E+07 22 'Prefactor ' .38579E-03 1.0000 .0000 .10000E+07 23 'Prefactor ' 3.6640 1.0000 .0000 .10000E+07 24 'norm ' 1.2973 1.0000 .0000 .10000E+07 25 'Prefactor ' 14.391 1.0000 .0000 .10000E+07 26 'Normalizat' .89061 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0443 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6510E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 34903.91 FROM MIGRAD STATUS=CONVERGED 150 CALLS 2413 TOTAL EDM= .49E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.0998 1.1809 -.16598E-08 -.26879E-02 2 Prefactor 4.5651 6.7848 -.88171E-08 -.77109E-02 3 Prefactor .38942 13.747 -.26049E-07 -.11206E-01 4 Prefactor .17197E-06 8.2338 .10712E-06** at limit ** 5 Prefactor 10.157 5.4762 -.87254E-08 .11736E-01 6 Prefactor 4.4246 1.3804 -.23535E-08 -.88901E-03 7 Prefactor .16992E-06 8.6953 .18146E-06** at limit ** 8 norm .16653E-09 3.2065 -.19522E-07** at limit ** 9 Prefactor .39702E-06 15.317 -.29749E-07** at limit ** 10 Prefactor 1.3767 3.0271 -.12162E-07 .33971E-02 11 norm .54171 .31844 .64792E-08 .69009E-02 12 Prefactor .0000 1.7319 -.31592E-07** at limit ** 13 Prefactor .11102E-09 3.6991 .58191E-07** at limit ** 14 Prefactor 7.6679 6.3960 -.23521E-07 -.10317E-01 15 Prefactor 3.5124 10.667 -.14007E-07 -.12568E-01 16 Prefactor 44.328 12.275 .22928E-07 -.11864 17 norm 4.8827 1.2880 .24493E-10 .30995E-02 18 norm 3.5724 .45884 -.72768E-08 -.22039E-01 19 norm 3.2509 1.9395 .36557E-07 .64747E-02 20 Prefactor .11047E-07 21.940 .74101E-07** at limit ** 21 Prefactor 7.4016 2.7416 -.44744E-08 .76690E-03 22 Prefactor .55511E-10 2.0835 -.20899E-08** at limit ** 23 Prefactor 3.6649 2.3960 -.18110E-08 .16201E-03 24 norm 1.2989 1.2732 -.17730E-07 -.21725E-02 25 Prefactor 14.382 1.6997 .32227E-08 .14388E-01 26 Normalizat .89055 .95439E-01 -.22374E-06 .12750E-03 27 Prefactor 1.0443 .59894E-01 .34510E-06 .34253E-03 ERR DEF= .500 Final values: Prefactor = 6.0998 Prefactor = 4.56509 Prefactor = 0.389419 Prefactor = 1.71974e-07 Prefactor = 10.1565 Prefactor = 4.42459 Prefactor = 1.6992e-07 norm = 1.66533e-10 Prefactor = 3.97016e-07 Prefactor = 1.3767 norm = 0.541709 Prefactor = 0 Prefactor = 1.11022e-10 Prefactor = 7.6679 Prefactor = 3.51241 Prefactor = 44.3283 norm = 4.88269 norm = 3.57236 norm = 3.25093 Prefactor = 1.10467e-08 Prefactor = 7.4016 Prefactor = 5.55112e-11 Prefactor = 3.66489 norm = 1.29894 Prefactor = 14.382 Normalizat = 0.890545 Prefactor = 1.04426 ********** ** 18 **HESSE ********** FCN= 34903.91 FROM HESSE STATUS=OK 558 CALLS 2971 TOTAL EDM= .35E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.0998 13.490 .40666E-03 -1.5659 2 Prefactor 4.5651 6.8197 .47059E-03 -1.5665 3 Prefactor .38942 2.0296 .14436E-01 -1.5695 4 Prefactor .17197E-06 9.3712 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 10.157 10.117 .31510E-03 -1.5644 6 Prefactor 4.4246 17.397 .47695E-03 -1.5666 7 Prefactor .16992E-06 9.8242 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .16653E-09 3.2066 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .39702E-06 85.857 .14918E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.3767 21.784 .92999E-03 -1.5684 11 norm .54171 .33188 .74625E-03 -1.5693 12 Prefactor .0000 1.7277 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .11102E-09 .55384 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 7.6679 6.6133 .36154E-03 -1.5653 15 Prefactor 3.5124 13.025 .53532E-03 -1.5670 16 Prefactor 44.328 29.841 .15049E-03 -1.5575 17 norm 4.8827 1.2912 .45504E-03 -1.5664 18 norm 3.5724 .46137 .53455E-03 -1.5670 19 norm 3.2509 1.9532 .56132E-03 -1.5672 20 Prefactor .11047E-07 21.984 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 7.4016 2.7503 .36843E-03 -1.5654 22 Prefactor .55511E-10 2.0876 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 3.6649 2.4017 .52745E-03 -1.5670 24 norm 1.2989 1.3054 .97044E-03 -1.5685 25 Prefactor 14.382 6.3779 .26377E-03 -1.5632 26 Normalizat .89055 .86512E-01 .71468E-01 -.96793 27 Prefactor 1.0443 .53578E-01 .40257E-01 -.91269 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.45294e-07 Minuit parameter uncertainties: 1 13.4903 2 6.8197 3 1.77805 4 0.00253886 5 10.1166 6 17.3968 7 0.00258408 8 4.83714e-05 9 0.0116773 10 10.9527 11 0.331878 12 1.13802e-05 13 1.7158e-05 14 6.61327 15 13.0254 16 29.8408 17 1.29118 18 0.461373 19 1.95322 20 0.000986349 21 2.75032 22 2.25574e-05 23 2.40167 24 1.30536 25 6.37789 26 0.0865253 27 0.053581 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 34903.9052575 Extracting fit parameters... 4FGL J1704.1+7647 Spectrum: PowerLaw 379 Prefactor: 1.110e-10 1.716e-05 0.000e+00 1.000e+06 ( 1.000e-12) 380 Index: 2.548e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 381 Scale: 7.874e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 648 Prefactor: 1.044e+00 5.358e-02 0.000e+00 1.000e+01 ( 1.000e+00) 649 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 650 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 647 Normalization: 8.905e-01 8.653e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 256.037 76.792 Photon Flux Upper Limit: 3.18102340382e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00248157148258 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/51622418/likelihoodResults_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.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) = 34903.9160809 delta logL = -0.0108233823994 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 34903.9033025 delta logL = 0.00195507113676 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22189E-01 1.0000 .0000 .10000E+07 2 'Index ' 3.4914 1.0000 .0000 10.000 3 'Normalizat' .88904 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0447 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6510E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 34903.90 FROM MIGRAD STATUS=CONVERGED 63 CALLS 309 TOTAL EDM= .21E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22595E-01 .21304 .21604E-02** at limit ** 2 Index 3.4853 .94574 .50000 .16548E-04 3 Normalizat .88913 .27757E-02 .71519E-01 .89463E-04 4 Prefactor 1.0447 .17749E-02 .40229E-01 -.78109E-05 ERR DEF= .500 Final values: Prefactor = 0.0225946 Index = 3.48528 Normalizat = 0.889126 Prefactor = 1.04469 ********** ** 18 **HESSE ********** FCN= 34903.90 FROM HESSE STATUS=NOT POSDEF 35 CALLS 344 TOTAL EDM= .26E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22595E-01 202.29 .13332E-03 -1.5705 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 3.4853 5.5573 .28855E-01 -.30778 3 Normalizat .88913 .51498E-01 .31645E-03 -.96843 4 Prefactor 1.0447 .25475E-01 .18723E-03 -.91254 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.63902e-05 Minuit parameter uncertainties: 1 4.27598 2 70.744 3 0.051501 4 0.0254749 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) = 34903.9033012 delta logL = 0.00195636714489 Extracting fit parameters... 4FGL J1704.1+7647 Spectrum: PowerLaw 379 Prefactor: 2.259e-02 4.276e+00 0.000e+00 1.000e+06 ( 1.000e-12) 380 Index: 3.485e+00 7.074e+01 0.000e+00 1.000e+01 (-1.000e+00) 381 Scale: 7.874e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 648 Prefactor: 1.045e+00 2.547e-02 0.000e+00 1.000e+01 ( 1.000e+00) 649 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 650 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 647 Normalization: 8.891e-01 5.150e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 256.037 76.792 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/51622418/cmap_HighResolution_740966401_741571201_4FGL_J1704.1+7647_weekly_bin830.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.48e-03', job_status='DONE', photon_flux_upper_limit='3.18e-08', time_completed='2024-07-02 02:50:46.855885', job_id='51622418', GAL2='1.04', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1719913846.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.96e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='830' AND source_name='4FGL J1704.1+7647' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 2 02:50:47 PDT 2024