********** ** 18 **HESSE ********** FCN= 16000.30 FROM HESSE STATUS=OK 306 CALLS 1711 TOTAL EDM= .18E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.6093 14.103 .62970E-03 -1.5676 2 Prefactor .0000 3.1610 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 16.853 27.372 .24066E-03 -1.5626 4 Prefactor .19035E-06 41.505 .12180E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.4799 3.6102 .42896E-03 -1.5661 6 norm 11.037 1.4152 .30139E-03 -1.5642 7 norm .17764E-08 3.6588 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 23.752 11.501 .20518E-03 -1.5610 9 Prefactor .16653E-09 5.3023 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.9163 4.5886 .74963E-03 -1.5680 11 norm .38802E-07 17.582 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 1.1964 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.953 25.000 .25840E-03 -1.5631 14 norm .0000 1.3419 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 6.1020 9.8282 .40724E-03 -1.5659 16 Prefactor .11435E-07 11.637 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 1.5935 11.927 .83639E-03 -1.5683 18 Normalizat .83616 .18513 .11698 -.98741 19 Prefactor 1.0296 .51486E-01 .41283E-01 -.91750 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.80399e-06 Minuit parameter uncertainties: 1 12.1322 2 3.29332e-06 3 27.3724 4 0.00562157 5 3.6102 6 1.41519 7 0.000160546 8 11.5009 9 5.64252e-05 10 4.58859 11 0.00165224 12 3.60157e-06 13 25.0005 14 5.13141e-07 15 9.82825 16 0.000729326 17 8.71919 18 0.185266 19 0.0514885 /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). Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16000.2965336 Extracting fit parameters... 4FGL J2005.5+7752 Spectrum: LogParabola 492 norm: 0.000e+00 3.602e-06 0.000e+00 1.000e+06 ( 1.000e-12) 493 alpha: 2.142e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 494 beta: 5.082e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 495 Eb: 9.080e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.030e+00 5.149e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 683 Normalization: 8.362e-01 1.853e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 301.393 77.883 Photon Flux Upper Limit: 4.58791932678e-08 ph cm-2 s-1 Energy Flux Upper Limit: None Saving results to: /lscratch/kocevski/19662277/likelihoodResults_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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) = 16000.2981058 delta logL = -0.00157211942496 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16000.2965339 delta logL = -2.40703229792e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .31197E-07 1.0000 .0000 .10000E+07 2 'alpha ' 1.2246 1.0000 .0000 5.0000 3 'Normalizat' .83607 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0296 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16000.30 FROM MIGRAD STATUS=CONVERGED 58 CALLS 260 TOTAL EDM= .42E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .49960E-09 .16686 .42118E-03** at limit ** 2 alpha 1.8269 4.0392 .50000 -.22737E-09 3 Normalizat .83616 .19675E-02 .11698 .23335E-03 4 Prefactor 1.0296 .59186E-03 .41292E-01 .79961E-03 ERR DEF= .500 Final values: norm = 4.996e-10 alpha = 1.82689 Normalizat = 0.836158 Prefactor = 1.02958 ********** ** 18 **HESSE ********** FCN= 16000.30 FROM HESSE STATUS=NOT POSDEF 31 CALLS 291 TOTAL EDM= .21E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .49960E-09 .84773 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 1.8269 2.7446 .50000 -.27261 3 Normalizat .83616 .44153E-02 .51890E-03 -.98741 4 Prefactor 1.0296 .13338E-02 .14132E-03 -.91750 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.14499e-10 Minuit parameter uncertainties: 1 4.06471e-05 2 31851 3 0.00441529 4 0.00133381 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) = 16000.2965336 delta logL = -2.49201548286e-10 Extracting fit parameters... 4FGL J2005.5+7752 Spectrum: LogParabola 492 norm: 4.996e-10 4.065e-05 0.000e+00 1.000e+06 ( 1.000e-12) 493 alpha: 1.827e+00 3.185e+04 0.000e+00 5.000e+00 ( 1.000e+00) 494 beta: 5.082e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 495 Eb: 9.080e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.030e+00 1.334e-03 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 683 Normalization: 8.362e-01 4.415e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 301.393 77.883 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/19662277/cmap_HighResolution_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.59e-08', time_completed='2023-07-18 01:50:05.789534', job_id='19662277', GAL2='1.03', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1689670205.79', return_code2='102', ts='0.00', return_code='0', GAL='1.03', dlogl='-2.49e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='1820' AND source_name='4FGL J2005.5+7752' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Jul 18 01:50:06 PDT 2023 number of points = 7459 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2005.5+7752_daily_bin1820 RA = 301.393, Dec = 77.8829 tmin = 711072001, tmax = 711331201 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='19663704', job_status='RUN', time_executed='2023-07-18 01:45:39.135300', time_epoch_executed='1689669939.14' WHERE source_name='4FGL J2005.5+7752' and cadence='daily' and bin_id='1820' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19663704 Creating custom pfile directory: /lscratch/kocevski/19663704/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=711072001.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=711072001.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19663704/ft1_4FGL_J2005.5+7752_daily_bin1820.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=711072001.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19663704/ft1_4FGL_J2005.5+7752_daily_bin1820.fits outfile=/lscratch/kocevski/19663704/ft1_filteredMKT_4FGL_J2005.5+7752_daily_bin1820.fits ra=301.393 dec=77.8829 rad=12.0 tmin=711072001.0 tmax=711331201.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 2.53 user 1.70 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.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/19663704/ft1_filteredMKT_4FGL_J2005.5+7752_daily_bin1820.fits evtable="EVENTS" outfile="/lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.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.11 user 0.18 sys 0.14 Number of photons that the gtmktime cut: 1581 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19663704/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits .....................! real 8.00 user 7.10 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits evtable="EVENTS" scfile=/lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19663704/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits outfile=/lscratch/kocevski/19663704/expmap_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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/19663704/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits .....................! real 63.91 user 58.62 sys 3.69 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 Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 209 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2005.5+7752 @ 301.393 77.8829 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits scfile=/lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits outfile=/lscratch/kocevski/19663704/cmap_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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=301.393 yref=77.8829 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.91 user 0.20 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits scfile=/lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits outfile=/lscratch/kocevski/19663704/cmap_HighResolution_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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=301.393 yref=77.8829 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.99 user 0.21 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits evtable="EVENTS" scfile=/lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits sctable="SC_DATA" srcmdl=/lscratch/knumber of points = 7459 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2005.5+7752_daily_bin1820 RA = 301.393, Dec = 77.8829 tmin = 711072001, tmax = 711331201 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='19664195', job_status='RUN', time_executed='2023-07-18 01:49:23.844898', time_epoch_executed='1689670163.84' WHERE source_name='4FGL J2005.5+7752' and cadence='daily' and bin_id='1820' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19664195 Creating custom pfile directory: /lscratch/kocevski/19664195/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=711072001.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=711072001.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19664195/ft1_4FGL_J2005.5+7752_daily_bin1820.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=711072001.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19664195/ft1_4FGL_J2005.5+7752_daily_bin1820.fits outfile=/lscratch/kocevski/19664195/ft1_filteredMKT_4FGL_J2005.5+7752_daily_bin1820.fits ra=301.393 dec=77.8829 rad=12.0 tmin=711072001.0 tmax=711331201.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 2.32 user 1.65 sys 0.16 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.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/19664195/ft1_filteredMKT_4FGL_J2005.5+7752_daily_bin1820.fits evtable="EVENTS" outfile="/lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.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.94 user 0.18 sys 0.12 Number of photons that the gtmktime cut: 1581 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits sctable="SC_DATA" oocevski/19663704/Model_4FGL_J2005.5+7752_daily_bin1820.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 FHES J2129.9+5833 adding source FHES J2208.4+6443 adding source GAL_V02 Working on... /lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits.....................! real 76.05 user 73.90 sys 1.00 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits', '/lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits', expMap='/lscratch/kocevski/19663704/expmap_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits', expCube='/lscratch/kocevski/19663704/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19663704/Model_4FGL_J2005.5+7752_daily_bin1820.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2005.5+7752' 4FGL J2005.5+7752 Spectrum: LogParabola 492 norm: 3.878e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 493 alpha: 2.142e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 494 beta: 5.082e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 495 Eb: 9.080e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19663704/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits Spacecraft file(s): /lscratch/kocevski/19663704/ft2_4FGL_J2005.5+7752_daily_bin1820.fits Exposure map: /lscratch/kocevski/19663704/expmap_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits Exposure cube: /lscratch/kocevski/19663704/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19663704/Model_4FGL_J2005.5+7752_daily_bin1820.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) = 16000.3062969 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16000.2992408 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.6210 1.0000 .0000 .10000E+07 2 'Prefactor ' .23850E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 17.281 1.0000 .0000 .10000E+07 4 'Prefactor ' .17807 1.0000 .0000 .10000E+07 5 'norm ' 5.4807 1.0000 .0000 .10000E+07 6 'norm ' 11.032 1.0000 .0000 .10000E+07 7 'norm ' .38303E-08 1.0000 .0000 .10000E+07 8 'Prefactor ' 23.766 1.0000 .0000 .10000E+07 9 'Prefactor ' .41019E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.9200 1.0000 .0000 .10000E+07 11 'norm ' .36778E-05 1.0000 .0000 .10000E+07 12 'norm ' .24070E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.994 1.0000 .0000 .10000E+07 14 'norm ' .17141E-05 1.0000 .0000 .10000E+07 15 'Prefactor ' 6.0713 1.0000 .0000 .10000E+07 16 'Prefactor ' .91195E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' 1.6044 1.0000 .0000 .10000E+07 18 'Normalizat' .83536 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.0297 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** **********utfile=/lscratch/kocevski/19664195/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits .....................! real 7.68 user 6.82 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits evtable="EVENTS" scfile=/lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19664195/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits outfile=/lscratch/kocevski/19664195/expmap_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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/19664195/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits .....................! real 61.29 user 56.35 sys 3.67 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 Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 209 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2005.5+7752 @ 301.393 77.8829 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits scfile=/lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits outfile=/lscratch/kocevski/19664195/cmap_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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=301.393 yref=77.8829 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.11 user 0.19 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits scfile=/lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits outfile=/lscratch/kocevski/19664195/cmap_HighResolution_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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=301.393 yref=77.8829 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.90 user 0.21 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits evtable="EVENTS" scfile=/lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits sctable="SC_DATA" srcmdl=/lscratch/k ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16000.30 FROM MIGRAD STATUS=CONVERGED 114 CALLS 1405 TOTAL EDM= .67E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.6093 3.7446 .59011E-07 .15961E-02 2 Prefactor .0000 3.1898 -.14613E-06** at limit ** 3 Prefactor 16.853 6.2340 -.50561E-07 .10547 4 Prefactor .19035E-06 4.4192 .67090E-07** at limit ** 5 norm 5.4799 3.5973 -.51669E-07 -.10317E-02 6 norm 11.037 1.3819 .70075E-08 .10279E-02 7 norm .17764E-08 3.6632 -.16282E-06** at limit ** 8 Prefactor 23.752 10.165 .40648E-07 .58004E-01 9 Prefactor .16653E-09 5.1486 .34957E-07** at limit ** 10 Prefactor 1.9163 4.5591 -.23579E-06 -.24696E-03 11 norm .38802E-07 17.474 .19012E-06** at limit ** 12 norm .0000 1.1990 -.54722E-07** at limit ** 13 Prefactor 14.953 2.7862 -.22382E-07 .37824E-01 14 norm .0000 1.3498 .58141E-07** at limit ** 15 Prefactor 6.1020 2.1100 .12103E-09 -.15453E-01 16 Prefactor .11435E-07 11.594 .13089E-07** at limit ** 17 Prefactor 1.5935 11.670 .19895E-06 .13602E-01 18 Normalizat .83616 .18882 .36792E-05 -.54137E-04 19 Prefactor 1.0296 .54353E-01 -.20249E-05 -.40323E-03 ERR DEF= .500 Final values: norm = 2.60928 Prefactor = 0 Prefactor = 16.8532 Prefactor = 1.90348e-07 norm = 5.47991 norm = 11.0367 norm = 1.77636e-09 Prefactor = 23.7524 Prefactor = 1.66533e-10 Prefactor = 1.91628 norm = 3.88023e-08 norm = 0 Prefactor = 14.953 norm = 0 Prefactor = 6.10202 Prefactor = 1.14353e-08 Prefactor = 1.5935 Normalizat = 0.836159 Prefactor = 1.02958 ********** ** 18 **HESSE ********** FCN= 16000.30 FROM HESSE STATUS=OK 306 CALLS 1711 TOTAL EDM= .18E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.6093 14.103 .62970E-03 -1.5676 2 Prefactor .0000 3.1610 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 16.853 27.372 .24066E-03 -1.5626 4 Prefactor .19035E-06 41.505 .12180E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.4799 3.6102 .42896E-03 -1.5661 6 norm 11.037 1.4152 .30139E-03 -1.5642 7 norm .17764E-08 3.6588 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 23.752 11.501 .20518E-03 -1.5610 9 Prefactor .16653E-09 5.3023 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.9163 4.5886 .74963E-03 -1.5680 11 norm .38802E-07 17.582 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 1.1964 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.953 25.000 .25840E-03 -1.5631 14 norm .0000 1.3419 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 6.1020 9.8282 .40724E-03 -1.5659 16 Prefactor .11435E-07 11.637 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 1.5935 11.927 .83639E-03 -1.5683 18 Normalizat .83616 .18513 .11698 -.98741 19 Prefactor 1.0296 .51486E-01 .41283E-01 -.91750 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.80399e-06 Minuit parameter uncertainties: 1 12.1322 2 3.29332e-06 3 27.3724 4 0.00562157 5 3.6102 6 1.41519 7 0.000160546 8 11.5009 9 5.64252e-05 10 4.58859 11 0.00165224 12 3.60157e-06 13 25.0005 14 5.13141e-07 15 9.82825 16 0.000729326 17 8.71919 18 0.185266 19 0.0514885 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16000.2965336 Extracting fit parameters... 4FGL J2005.5+7752 Spectrum: LogParabola 492 norm: 0.000e+00 3.602e-06 0.000e+00 1.000e+06 ( 1.000e-12) 493 alpha: 2.142e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 494 beta: 5.082e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 495 Eb: 9.080e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.030e+00 5.149e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 683 Normalization: 8.362e-01 1.853e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 301.393 77.883 Photon Flux Upper Limit: 4.58791932678e-08 ph cm-2 s-1 Energy Flux Upper Limit: None Saving results to: /lscratch/kocevski/19663704/likelihoodResults_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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) = 16000.2981058 delta logL = -0.00157211942496 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16000.2965339 delta logL = -2.40703229792e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .31197E-07 1.0000 .0000 .10000E+07 2 'alpha ' 1.2246 1.0000 .0000 5.0000 3 'Normalizat' .83607 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0296 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16000.30 FROM MIGRAD STATUS=CONVERGED 58 CALLS 260 TOTAL EDM= .42E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .49960E-09 .16686 .42118E-03** at limit ** 2 alpha 1.8269 4.0392 .50000 -.22737E-09 3 Normalizat .83616 .19675E-02 .11698 .23335E-03 4 Prefactor 1.0296 .59186E-03 .41292E-01 .79961E-03 ERR DEF= .500 Final values: norm = 4.996e-10 alpha = 1.82689 Normalizat = 0.836158 Prefactor = 1.02958 ********** ** 18 **HESSE ********** FCN= 16000.30 FROM HESSE STATUS=NOT POSDEF 31 CALLS 291 TOTAL EDM= .21E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .49960E-09 .84773 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 1.8269 2.7446 .50000 -.27261 3 Normalizat .83616 .44153E-02 .51890E-03 -.98741 4 Prefactor 1.0296 .13338E-02 .14132E-03 -.91750 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.14499e-10 Minuit parameter uncertainties: 1 4.06471e-05 2 31851 3 0.00441529 4 0.00133381 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) = 16000.2965336 delta logL = -2.49201548286e-10 Extracting fit parameters... 4FGL J2005.5+7752 Spectrum: LogParabola 492 norm: 4.996e-10 4.065e-05 0.000e+00 1.000e+06 ( 1.000e-12) 493 alpha: 1.827e+00 3.185e+04 0.000e+00 5.000e+00 ( 1.000e+00) 494 beta: 5.082e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 495 Eb: 9.080e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.030e+00 1.334e-03 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 683 Normalization: 8.362e-01 4.415e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 301.393 77.883 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/19663704/cmap_HighResolution_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.59e-08', time_completed='2023-07-18 01:57:15.504380', job_id='19663704', GAL2='1.03', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1689670635.5', return_code2='102', ts='0.00', return_code='0', GAL='1.03', dlogl='-2.49e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='1820' AND source_name='4FGL J2005.5+7752' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Jul 18 01:57:16 PDT 2023 ocevski/19664195/Model_4FGL_J2005.5+7752_daily_bin1820.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 FHES J2129.9+5833 adding source FHES J2208.4+6443 adding source GAL_V02 Working on... /lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits.....................! real 72.94 user 71.05 sys 0.90 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits', '/lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits', expMap='/lscratch/kocevski/19664195/expmap_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits', expCube='/lscratch/kocevski/19664195/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19664195/Model_4FGL_J2005.5+7752_daily_bin1820.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2005.5+7752' 4FGL J2005.5+7752 Spectrum: LogParabola 492 norm: 3.878e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 493 alpha: 2.142e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 494 beta: 5.082e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 495 Eb: 9.080e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19664195/ft1_filtered_4FGL_J2005.5+7752_daily_bin1820.fits Spacecraft file(s): /lscratch/kocevski/19664195/ft2_4FGL_J2005.5+7752_daily_bin1820.fits Exposure map: /lscratch/kocevski/19664195/expmap_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits Exposure cube: /lscratch/kocevski/19664195/ltcube_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19664195/Model_4FGL_J2005.5+7752_daily_bin1820.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) = 16000.3062969 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16000.2992408 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.6210 1.0000 .0000 .10000E+07 2 'Prefactor ' .23850E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 17.281 1.0000 .0000 .10000E+07 4 'Prefactor ' .17807 1.0000 .0000 .10000E+07 5 'norm ' 5.4807 1.0000 .0000 .10000E+07 6 'norm ' 11.032 1.0000 .0000 .10000E+07 7 'norm ' .38303E-08 1.0000 .0000 .10000E+07 8 'Prefactor ' 23.766 1.0000 .0000 .10000E+07 9 'Prefactor ' .41019E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.9200 1.0000 .0000 .10000E+07 11 'norm ' .36778E-05 1.0000 .0000 .10000E+07 12 'norm ' .24070E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.994 1.0000 .0000 .10000E+07 14 'norm ' .17141E-05 1.0000 .0000 .10000E+07 15 'Prefactor ' 6.0713 1.0000 .0000 .10000E+07 16 'Prefactor ' .91195E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' 1.6044 1.0000 .0000 .10000E+07 18 'Normalizat' .83536 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.0297 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16000.30 FROM MIGRAD STATUS=CONVERGED 114 CALLS 1405 TOTAL EDM= .67E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.6093 3.7446 .59011E-07 .15961E-02 2 Prefactor .0000 3.1898 -.14613E-06** at limit ** 3 Prefactor 16.853 6.2340 -.50561E-07 .10547 4 Prefactor .19035E-06 4.4192 .67090E-07** at limit ** 5 norm 5.4799 3.5973 -.51669E-07 -.10317E-02 6 norm 11.037 1.3819 .70075E-08 .10279E-02 7 norm .17764E-08 3.6632 -.16282E-06** at limit ** 8 Prefactor 23.752 10.165 .40648E-07 .58004E-01 9 Prefactor .16653E-09 5.1486 .34957E-07** at limit ** 10 Prefactor 1.9163 4.5591 -.23579E-06 -.24696E-03 11 norm .38802E-07 17.474 .19012E-06** at limit ** 12 norm .0000 1.1990 -.54722E-07** at limit ** 13 Prefactor 14.953 2.7862 -.22382E-07 .37824E-01 14 norm .0000 1.3498 .58141E-07** at limit ** 15 Prefactor 6.1020 2.1100 .12103E-09 -.15453E-01 16 Prefactor .11435E-07 11.594 .13089E-07** at limit ** 17 Prefactor 1.5935 11.670 .19895E-06 .13602E-01 18 Normalizat .83616 .18882 .36792E-05 -.54137E-04 19 Prefactor 1.0296 .54353E-01 -.20249E-05 -.40323E-03 ERR DEF= .500 Final values: norm = 2.60928 Prefactor = 0 Prefactor = 16.8532 Prefactor = 1.90348e-07 norm = 5.47991 norm = 11.0367 norm = 1.77636e-09 Prefactor = 23.7524 Prefactor = 1.66533e-10 Prefactor = 1.91628 norm = 3.88023e-08 norm = 0 Prefactor = 14.953 norm = 0 Prefactor = 6.10202 Prefactor = 1.14353e-08 Prefactor = 1.5935 Normalizat = 0.836159 Prefactor = 1.02958 ********** ** 18 **HESSE ********** FCN= 16000.30 FROM HESSE STATUS=OK 306 CALLS 1711 TOTAL EDM= .18E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.6093 14.103 .62970E-03 -1.5676 2 Prefactor .0000 3.1610 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 16.853 27.372 .24066E-03 -1.5626 4 Prefactor .19035E-06 41.505 .12180E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.4799 3.6102 .42896E-03 -1.5661 6 norm 11.037 1.4152 .30139E-03 -1.5642 7 norm .17764E-08 3.6588 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 23.752 11.501 .20518E-03 -1.5610 9 Prefactor .16653E-09 5.3023 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.9163 4.5886 .74963E-03 -1.5680 11 norm .38802E-07 17.582 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 1.1964 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.953 25.000 .25840E-03 -1.5631 14 norm .0000 1.3419 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 6.1020 9.8282 .40724E-03 -1.5659 16 Prefactor .11435E-07 11.637 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 1.5935 11.927 .83639E-03 -1.5683 18 Normalizat .83616 .18513 .11698 -.98741 19 Prefactor 1.0296 .51486E-01 .41283E-01 -.91750 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.80399e-06 Minuit parameter uncertainties: 1 12.1322 2 3.29332e-06 3 27.3724 4 0.00562157 5 3.6102 6 1.41519 7 0.000160546 8 11.5009 9 5.64252e-05 10 4.58859 11 0.00165224 12 3.60157e-06 13 25.0005 14 5.13141e-07 15 9.82825 16 0.000729326 17 8.71919 18 0.185266 19 0.0514885 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16000.2965336 Extracting fit parameters... 4FGL J2005.5+7752 Spectrum: LogParabola 492 norm: 0.000e+00 3.602e-06 0.000e+00 1.000e+06 ( 1.000e-12) 493 alpha: 2.142e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 494 beta: 5.082e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 495 Eb: 9.080e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.030e+00 5.149e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 683 Normalization: 8.362e-01 1.853e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 301.393 77.883 Photon Flux Upper Limit: 4.58791932678e-08 ph cm-2 s-1 Energy Flux Upper Limit: None Saving results to: /lscratch/kocevski/19664195/likelihoodResults_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.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) = 16000.2981058 delta logL = -0.00157211942496 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16000.2965339 delta logL = -2.40703229792e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .31197E-07 1.0000 .0000 .10000E+07 2 'alpha ' 1.2246 1.0000 .0000 5.0000 3 'Normalizat' .83607 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0296 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16000.30 FROM MIGRAD STATUS=CONVERGED 58 CALLS 260 TOTAL EDM= .42E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .49960E-09 .16686 .42118E-03** at limit ** 2 alpha 1.8269 4.0392 .50000 -.22737E-09 3 Normalizat .83616 .19675E-02 .11698 .23335E-03 4 Prefactor 1.0296 .59186E-03 .41292E-01 .79961E-03 ERR DEF= .500 Final values: norm = 4.996e-10 alpha = 1.82689 Normalizat = 0.836158 Prefactor = 1.02958 ********** ** 18 **HESSE ********** FCN= 16000.30 FROM HESSE STATUS=NOT POSDEF 31 CALLS 291 TOTAL EDM= .21E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .49960E-09 .84773 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 1.8269 2.7446 .50000 -.27261 3 Normalizat .83616 .44153E-02 .51890E-03 -.98741 4 Prefactor 1.0296 .13338E-02 .14132E-03 -.91750 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.14499e-10 Minuit parameter uncertainties: 1 4.06471e-05 2 31851 3 0.00441529 4 0.00133381 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) = 16000.2965336 delta logL = -2.49201548286e-10 Extracting fit parameters... 4FGL J2005.5+7752 Spectrum: LogParabola 492 norm: 4.996e-10 4.065e-05 0.000e+00 1.000e+06 ( 1.000e-12) 493 alpha: 1.827e+00 3.185e+04 0.000e+00 5.000e+00 ( 1.000e+00) 494 beta: 5.082e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 495 Eb: 9.080e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.030e+00 1.334e-03 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 683 Normalization: 8.362e-01 4.415e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 301.393 77.883 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/19664195/cmap_HighResolution_711072001_711331201_4FGL_J2005.5+7752_daily_bin1820.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.59e-08', time_completed='2023-07-18 02:01:05.792253', job_id='19664195', GAL2='1.03', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1689670865.79', return_code2='102', ts='0.00', return_code='0', GAL='1.03', dlogl='-2.49e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='1820' AND source_name='4FGL J2005.5+7752' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Jul 18 02:01:06 PDT 2023