/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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) Waiting 40 seconds before starting... Proceeding. 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 make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7497 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2216.9+2421_daily_bin683 RA = 334.238, Dec = 24.3575 tmin = 416361601, tmax = 416620801 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='229141', job_status='RUN', time_executed='2021-09-28 07:26:43.502783', time_epoch_executed='1632839203.5' WHERE source_name='4FGL J2216.9+2421' and cadence='daily' and bin_id='683' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/229141 Creating custom pfile directory: /scratch/kocevski/229141/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=416361601.0 && nMetStart<416620801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=416361601.0 && nMetStart<416620801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/229141/ft1_4FGL_J2216.9+2421_daily_bin683.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=416361601.0 && nMetStart<416620801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/229141/ft1_4FGL_J2216.9+2421_daily_bin683.fits outfile=/scratch/kocevski/229141/ft1_filteredMKT_4FGL_J2216.9+2421_daily_bin683.fits ra=334.238 dec=24.3575 rad=12.0 tmin=416361601.0 tmax=416620801.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.19 user 4.93 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/229141/ft1_filteredMKT_4FGL_J2216.9+2421_daily_bin683.fits evtable="EVENTS" outfile="/scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.49 user 0.34 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.fits" evtable="EVENTS" scfile=/scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits sctable="SC_DATA" outfile=/scratch/kocevski/229141/ltcube_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.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 /scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits .....................! real 11.93 user 11.56 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.fits evtable="EVENTS" scfile=/scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits sctable="SC_DATA" expcube=/scratch/kocevski/229141/ltcube_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.fits outfile=/scratch/kocevski/229141/expmap_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.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 /scratch/kocevski/229141/ltcube_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.fits .....................! real 190.24 user 185.80 sys 4.10 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 Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template. Added 159 point sources and 1 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 J2216.9+2421 @ 334.238 24.3575 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.fits scfile=/scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits outfile=/scratch/kocevski/229141/cmap_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.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=334.238 yref=24.3575 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.53 user 0.38 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.fits scfile=/scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits outfile=/scratch/kocevski/229141/cmap_HighResolution_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.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=334.238 yref=24.3575 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.55 user 0.39 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.fits evtable="EVENTS" scfile=/scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229141/Model_4FGL_J2216.9+2421_daily_bin683.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 Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.fits.....................! real 134.27 user 132.76 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.fits', '/scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits', expMap='/scratch/kocevski/229141/expmap_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.fits', expCube='/scratch/kocevski/229141/ltcube_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/229141/Model_4FGL_J2216.9+2421_daily_bin683.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2216.9+2421' 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.564e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/229141/ft1_filtered_4FGL_J2216.9+2421_daily_bin683.fits Spacecraft file(s): /scratch/kocevski/229141/ft2_4FGL_J2216.9+2421_daily_bin683.fits Exposure map: /scratch/kocevski/229141/expmap_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.fits Exposure cube: /scratch/kocevski/229141/ltcube_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/229141/Model_4FGL_J2216.9+2421_daily_bin683.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) = 8098.46511952 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8098.46322585 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .25045E-02 1.0000 .10000E-03 10000. 2 'norm ' 8.3810 1.0000 .10000E-03 10000. 3 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 35.459 1.0000 .10000E-03 10000. 5 'norm ' .15454 1.0000 .10000E-03 10000. 6 'Prefactor ' 22.183 1.0000 .10000E-03 10000. 7 'norm ' .46074 1.0000 .10000E-03 10000. 8 'Prefactor ' 17.862 1.0000 .10000E-03 10000. 9 'norm ' 6.1833 1.0000 .10000E-03 10000. 10 'Prefactor ' .10298E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 12 'norm ' .45939 1.0000 .10000E-03 10000. 13 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 14 'norm ' .10000E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 1.5597 1.0000 .10000E-03 10000. 18 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 19 'Normalizat' .79717 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0537 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8098.463 FROM MIGRAD STATUS=CONVERGED 735 CALLS 2971 TOTAL EDM= .10E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10001E-03 76.759 .26617 ** at limit ** 2 norm 8.3811 3.5227 .10027E-03 .95356E-04 3 Prefactor .10000E-03 2.2690 .13220E-02** at limit ** 4 Prefactor 35.462 36.937 .67299E-04 .21961E-04 5 norm .15600 1.0257 .12539E-02 .82757E-03 6 Prefactor 22.180 60.857 .85044E-04 .26736E-04 7 norm .46076 .70186 .10990E-02 .42138E-03 8 Prefactor 17.856 19.772 .94766E-04 -.58423E-04 9 norm 6.1833 5.1880 .16144E-03 -.44012E-04 10 Prefactor .10000E-03 75.493 .18142E-02** at limit ** 11 Prefactor .10000E-03 5.6851 .18142E-02** at limit ** 12 norm .45918 1.1069 .14046E-03 .61775E-03 13 Prefactor .10000E-03 25.651 .18142E-02** at limit ** 14 norm .10000E-03 .42371 .57175E-03** at limit ** 15 Prefactor .10000E-03 26.001 .18142E-02** at limit ** 16 Prefactor .10000E-03 3.5751 .16602E-02** at limit ** 17 Prefactor 1.5597 .36012 .25116E-04 -.22657E-02 18 Prefactor .10000E-03 8.2753 .18142E-02** at limit ** 19 Normalizat .79718 .27955 .42607E-03 -.48189E-04 20 Prefactor 1.0537 .12498 .16967E-03 -.54627E-03 ERR DEF= .500 Final values: Prefactor = 0.000100012 norm = 8.38106 Prefactor = 0.0001 Prefactor = 35.4621 norm = 0.156001 Prefactor = 22.1797 norm = 0.460756 Prefactor = 17.8555 norm = 6.18329 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.45918 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 1.55971 Prefactor = 0.0001 Normalizat = 0.797183 Prefactor = 1.05372 ********** ** 18 **HESSE ********** FCN= 8098.463 FROM HESSE STATUS=OK 285 CALLS 3256 TOTAL EDM= .76E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10001E-03 76.867 .26579 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm 8.3811 3.5222 .40107E-05 -1.5129 3 Prefactor .10000E-03 2.2691 .26441E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 35.462 36.919 .26920E-05 -1.4516 5 norm .15600 1.0199 .50155E-04 -1.5629 6 Prefactor 22.180 60.770 .34018E-05 -1.4766 7 norm .46076 .70101 .43958E-04 -1.5572 8 Prefactor 17.856 19.769 .37906E-05 -1.4863 9 norm 6.1833 5.1875 .64578E-05 -1.5211 10 Prefactor .10000E-03 75.499 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 5.6856 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .45918 1.1065 .56182E-05 -1.5572 13 Prefactor .10000E-03 25.655 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10000E-03 .42372 .11435E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 26.003 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 3.5754 .33203E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 1.5597 .36011 .50232E-05 -1.5458 18 Prefactor .10000E-03 8.2771 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Normalizat .79718 .27964 .17043E-04 -1.0017 20 Prefactor 1.0537 .12491 .33935E-04 -.90959 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.55781e-10 Minuit parameter uncertainties: 1 0.00193099 2 3.52225 3 1.19263e-05 4 36.9427 5 0.797521 6 60.9405 7 0.701018 8 19.7761 9 5.18787 10 0.000134563 11 3.83034e-05 12 1.10658 13 7.19773e-05 14 3.39662e-07 15 0.000320559 16 8.15479e-06 17 0.360107 18 4.6434e-05 19 0.280148 20 0.124943 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8098.46322376 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 1.786e+01 1.978e+01 1.000e-04 1.000e+04 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.054e+00 1.249e-01 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 7.972e-01 2.801e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.10 Ra Dec: 334.238 24.358 Photon Index (Fixed Index): 2.28 +/- 0.00 Photon Flux (Fixed Index): 4.24e-08 +/- 4.70e-08 Energy Flux (Fixed Index): 1.65e-05 +/- 1.82e-05 TS (Fixed Index): 1.10 Ra Dec: 334.238 24.358 Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/229141/likelihoodResults_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.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) = 8096.89970715 delta logL = 1.56351660622 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8096.84763237 delta logL = 1.6155913872 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.7077 1.0000 .10000E-03 10000. 2 'Index ' 3.8137 1.0000 .0000 10.000 3 'Normalizat' .66584 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0931 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 8096.848 FROM MIGRAD STATUS=FAILED 82 CALLS 296 TOTAL EDM= .29E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7071 41.136 .78908E-04 -.50828E-02 2 Index 3.8138 3.3517 .39688E-02 -.10718E-02 3 Normalizat .66588 .26786 .46286E-03 -.51629E-03 4 Prefactor 1.0931 .12053 .16685E-03 -.11912E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8096.848 FROM SIMPLEX STATUS=UNCHANGED 86 CALLS 382 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7071 41.136 .14850E-03 -.50828E-02 2 Index 3.8138 3.3517 .82342E-03 -.10718E-02 3 Normalizat .66588 .26786 .50722E-03 -.51629E-03 4 Prefactor 1.0931 .12053 .19444E-03 -.11912E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8096.848 FROM MIGRAD STATUS=CONVERGED 27 CALLS 409 TOTAL EDM= .25E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7067 6.3201 .31563E-05 -.53884E-02 2 Index 3.8139 1.0972 .15875E-03 -.88887E-03 3 Normalizat .66587 .28427 .18514E-04 -.48399E-03 4 Prefactor 1.0931 .12638 .33369E-04 -.11231E-02 ERR DEF= .500 Final values: Prefactor = 2.70673 Index = 3.81389 Normalizat = 0.665875 Prefactor = 1.09309 ********** ** 18 **HESSE ********** FCN= 8096.848 FROM HESSE STATUS=OK 23 CALLS 432 TOTAL EDM= .25E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.7067 6.1577 .63127E-06 -1.5379 2 Index 3.8139 1.0692 .31751E-04 -.23950 3 Normalizat .66587 .28416 .37029E-05 -1.0526 4 Prefactor 1.0931 .12632 .66738E-05 -.89688 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.49429e-09 Minuit parameter uncertainties: 1 6.1591 2 1.07804 3 0.284787 4 0.126354 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/229141': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8096.84763234 delta logL = 1.6155914143 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 2.707e+00 6.159e+00 1.000e-04 1.000e+04 ( 1.000e-13) 287 Index: 3.814e+00 1.078e+00 0.000e+00 1.000e+01 (-1.000e+00) 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.093e+00 1.264e-01 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 6.659e-01 2.848e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.78 Ra Dec: 334.238 24.358 Photon Index (Free Index): 3.81 +/- 1.08 Photon Flux (Free Index): 1.36e-07 +/- 7.95e-08 Energy Flux (Free Index): 2.10e-05 +/- 1.23e-05 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 /scratch/kocevski/229141/cmap_HighResolution_416361601_416620801_4FGL_J2216.9+2421_daily_bin683.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/229141 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', comment='SUCCESS', photon_flux='4.24e-08', energy_flux2='2.10e-05', photon_flux_error='4.70e-08', dlogl='1.62e+00', energy_flux='1.65e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-28 07:40:15.867722', photon_index_error2='1.08', photon_index2='3.81', ts='1.10', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.23e-05', EG='0.80', time_epoch_completed='1632840015.87', return_code='0', job_id='229141', GAL2='1.09', EG2='0.67', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='7.95e-08', ts2='4.78', photon_index='2.28' WHERE bin_id='683' AND source_name='4FGL J2216.9+2421' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Sep 28 07:40:15 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 229141: <4FGL_J2216.9+2421_daily_bin683> in cluster Done Job <4FGL_J2216.9+2421_daily_bin683> was submitted from host by user in cluster at Tue Sep 28 07:25:54 2021 Job was executed on host(s) , in queue , as user in cluster at Tue Sep 28 07:25:56 2021 was used as the home directory. was used as the working directory. Started at Tue Sep 28 07:25:56 2021 Terminated at Tue Sep 28 07:40:16 2021 Results reported at Tue Sep 28 07:40:16 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2216.9+2421_daily_bin683 334.238 24.3575 416361601 416620801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2216.9+2421 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 809.00 sec. Max Memory : 618 MB Average Memory : 312.04 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 860 sec. Turnaround time : 862 sec. The output (if any) is above this job summary.