/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 14 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 = 73195 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1941.7+7218_monthly_bin117 RA = 295.437, Dec = 72.3101 tmin = 540259201, tmax = 542851201 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='287157', job_status='RUN', time_executed='2021-11-04 17:55:45.942156', time_epoch_executed='1636073745.94' WHERE source_name='4FGL J1941.7+7218' and cadence='monthly' and bin_id='117' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/287157 Creating custom pfile directory: /scratch/kocevski/287157/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=540259201.0 && nMetStart<542851201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=540259201.0 && nMetStart<542851201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/287157/ft1_4FGL_J1941.7+7218_monthly_bin117.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=540259201.0 && nMetStart<542851201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/287157/ft1_4FGL_J1941.7+7218_monthly_bin117.fits outfile=/scratch/kocevski/287157/ft1_filteredMKT_4FGL_J1941.7+7218_monthly_bin117.fits ra=295.437 dec=72.3101 rad=12.0 tmin=540259201.0 tmax=542851201.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 36.13 user 34.26 sys 1.74 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.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/287157/ft1_filteredMKT_4FGL_J1941.7+7218_monthly_bin117.fits evtable="EVENTS" outfile="/scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.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.89 user 0.65 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.fits" evtable="EVENTS" scfile=/scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits sctable="SC_DATA" outfile=/scratch/kocevski/287157/ltcube_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.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/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits .....................! real 110.51 user 109.77 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.fits evtable="EVENTS" scfile=/scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits sctable="SC_DATA" expcube=/scratch/kocevski/287157/ltcube_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.fits outfile=/scratch/kocevski/287157/expmap_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.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/287157/ltcube_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.fits .....................! real 193.99 user 188.16 sys 5.22 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 J2129.9+5833 in ROI with RadialGaussian spatial model. Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model. Added 191 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 J1941.7+7218 @ 295.437 72.3101 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.fits scfile=/scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits outfile=/scratch/kocevski/287157/cmap_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.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=295.437 yref=72.3101 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.81 user 0.61 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.fits scfile=/scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits outfile=/scratch/kocevski/287157/cmap_HighResolution_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.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=295.437 yref=72.3101 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.79 user 0.63 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.fits evtable="EVENTS" scfile=/scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/287157/Model_4FGL_J1941.7+7218_monthly_bin117.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... /scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.fits.....................! real 1795.87 user 1789.08 sys 1.87 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.fits', '/scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits', expMap='/scratch/kocevski/287157/expmap_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.fits', expCube='/scratch/kocevski/287157/ltcube_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/287157/Model_4FGL_J1941.7+7218_monthly_bin117.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1941.7+7218' 4FGL J1941.7+7218 Spectrum: PowerLaw 385 Prefactor: 1.111e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 386 Index: 2.770e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 387 Scale: 6.329e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/287157/ft1_filtered_4FGL_J1941.7+7218_monthly_bin117.fits Spacecraft file(s): /scratch/kocevski/287157/ft2_4FGL_J1941.7+7218_monthly_bin117.fits Exposure map: /scratch/kocevski/287157/expmap_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.fits Exposure cube: /scratch/kocevski/287157/ltcube_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/287157/Model_4FGL_J1941.7+7218_monthly_bin117.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) = 144641.091642 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 144640.060583 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .42035 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.7418 1.0000 .10000E-03 10000. 3 'norm ' 1.6741 1.0000 .10000E-03 10000. 4 'norm ' .77726 1.0000 .10000E-03 10000. 5 'norm ' 5.7735 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.6991 1.0000 .10000E-03 10000. 7 'Prefactor ' .10268E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10148E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 4.2023 1.0000 .10000E-03 10000. 10 'Prefactor ' 7.5501 1.0000 .10000E-03 10000. 11 'Prefactor ' 9.4024 1.0000 .10000E-03 10000. 12 'norm ' 3.3291 1.0000 .10000E-03 10000. 13 'norm ' .40331 1.0000 .10000E-03 10000. 14 'norm ' 8.4178 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.3353 1.0000 .10000E-03 10000. 16 'Prefactor ' .77151E-01 1.0000 .10000E-03 10000. 17 'norm ' 4.5470 1.0000 .10000E-03 10000. 18 'norm ' 4.6439 1.0000 .10000E-03 10000. 19 'norm ' 2.7157 1.0000 .10000E-03 10000. 20 'norm ' 4.6831 1.0000 .10000E-03 10000. 21 'Prefactor ' 29.350 1.0000 .10000E-03 10000. 22 'norm ' 1.6084 1.0000 .10000E-03 10000. 23 'Prefactor ' 7.0449 1.0000 .10000E-03 10000. 24 'norm ' 1.3417 1.0000 .10000E-03 10000. 25 'Prefactor ' .66873 1.0000 .10000E-03 10000. 26 'Prefactor ' 29.538 1.0000 .10000E-03 10000. 27 'Normalizat' 1.1343 1.0000 .10000E-01 10.000 28 'Prefactor ' .96593 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 144640.1 FROM MIGRAD STATUS=CONVERGED 727 CALLS 3149 TOTAL EDM= .31E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .42281 .70950 .0000 .39306E-01 2 Prefactor 3.7369 6.3089 .0000 -.14469E-02 3 norm 1.6741 .55270 .0000 .13881E-02 4 norm .77723 .16791 .0000 .70077E-02 5 norm 5.7735 1.3042 .0000 .81362E-01 6 Prefactor 3.7002 4.0187 .0000 .70702E-03 7 Prefactor .10006E-03 5.4396 .0000 ** at limit ** 8 Prefactor .10000E-03 .24923 .0000 ** at limit ** 9 Prefactor 4.2042 5.2449 .0000 .18107E-01 10 Prefactor 7.5603 10.265 .0000 -.33096E-02 11 Prefactor 9.3897 12.230 .0000 -.59105E-02 12 norm 3.3291 .87443 .0000 .50827E-02 13 norm .40310 .65489 .0000 .18409E-01 14 norm 8.4184 3.3312 .0000 .84927E-02 15 Prefactor 1.3358 4.5305 .0000 .51996E-01 16 Prefactor .74246E-01 .27893 .0000 .52572E-02 17 norm 4.5470 .58004 .0000 .31207E-02 18 norm 4.6425 7.2728 .0000 .17832E-02 19 norm 2.7158 .98841 .0000 .93703E-02 20 norm 4.6835 3.5204 .0000 .53526E-02 21 Prefactor 29.349 7.0358 .0000 .41651E-02 22 norm 1.6087 .81777 .0000 .13813E-01 23 Prefactor 7.0443 3.2784 .0000 -.47504E-02 24 norm 1.3416 1.2786 .0000 .97181E-01 25 Prefactor .66888 .87281 .0000 .28966E-01 26 Prefactor 29.539 11.008 .0000 .49310E-03 27 Normalizat 1.1343 .59167E-01 .0000 .87041E-03 28 Prefactor .96593 .16442E-01 .0000 -.29562E-03 ERR DEF= .500 Final values: Prefactor = 0.422812 Prefactor = 3.7369 norm = 1.6741 norm = 0.777228 norm = 5.77349 Prefactor = 3.70021 Prefactor = 0.000100061 Prefactor = 0.0001 Prefactor = 4.20422 Prefactor = 7.56025 Prefactor = 9.38966 norm = 3.32906 norm = 0.403103 norm = 8.4184 Prefactor = 1.33577 Prefactor = 0.0742457 norm = 4.54702 norm = 4.64254 norm = 2.71576 norm = 4.68352 Prefactor = 29.349 norm = 1.60866 Prefactor = 7.04426 norm = 1.34163 Prefactor = 0.66888 Prefactor = 29.5394 Normalizat = 1.13434 Prefactor = 0.965933 ********** ** 18 **HESSE ********** FCN= 144640.1 FROM HESSE STATUS=OK 561 CALLS 3710 TOTAL EDM= .10E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .42281 .65837 .34783E-03 -1.5578 2 Prefactor 3.7369 5.9306 .20873E-03 -1.5321 3 norm 1.6741 .54981 .15556E-03 -1.5449 4 norm .77723 .16428 .68873E-04 -1.5532 5 norm 5.7735 1.2813 .83577E-03 -1.5227 6 Prefactor 3.7002 4.0131 .20998E-03 -1.5323 7 Prefactor .10006E-03 5.3714 .36024 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 3.3766 .33940E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 4.2042 5.0815 .98293E-03 -1.5298 10 Prefactor 7.5603 10.262 .14595E-03 -1.5158 11 Prefactor 9.3897 12.224 .13070E-03 -1.5095 12 norm 3.3291 .86751 .16517E-03 -1.5343 13 norm .40310 .80804 .36048E-02 -1.5581 14 norm 8.4184 3.2620 .69085E-03 -1.5128 15 Prefactor 1.3358 4.5424 .18985E-02 -1.5477 16 Prefactor .74246E-01 .32827 .54906E-01 -1.5654 17 norm 4.5470 .57896 .94492E-04 -1.5281 18 norm 4.6425 7.2688 .18676E-03 -1.5277 19 norm 2.7158 .98398 .21666E-03 -1.5378 20 norm 4.6835 3.5133 .18596E-03 -1.5275 21 Prefactor 29.349 7.0082 .73953E-04 -1.4624 22 norm 1.6087 .80900 .23338E-03 -1.5454 23 Prefactor 7.0443 3.2700 .15114E-03 -1.5177 24 norm 1.3416 1.2760 .18917E-02 -1.5476 25 Prefactor .66888 .85824 .38996E-03 -1.5544 26 Prefactor 29.539 11.030 .73718E-04 -1.4620 27 Normalizat 1.1343 .62071E-01 .43309E-03 -.88657 28 Prefactor .96593 .17463E-01 .14266E-03 -.93874 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.02418e-07 Minuit parameter uncertainties: 1 0.658378 2 5.9315 3 0.549808 4 0.16428 5 1.28129 6 4.01337 7 0.00114648 8 2.00779e-05 9 5.08203 10 10.2646 11 12.2277 12 0.867511 13 0.808066 14 3.26211 15 4.54356 16 0.312026 17 0.578962 18 7.27015 19 0.983989 20 3.51343 21 7.00838 22 0.80901 23 3.27007 24 1.276 25 0.858259 26 11.0309 27 0.0620753 28 0.0174629 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 144640.060572 Extracting fit parameters... 4FGL J1941.7+7218 Spectrum: PowerLaw 385 Prefactor: 7.425e-02 3.120e-01 1.000e-04 1.000e+04 ( 1.000e-12) 386 Index: 2.770e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 387 Scale: 6.329e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 637 Prefactor: 9.659e-01 1.746e-02 0.000e+00 1.000e+01 ( 1.000e+00) 638 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 639 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 629 Normalization: 1.134e+00 6.208e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 295.437 72.310 Photon Flux Upper Limit: 2.63e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.08e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/287157/likelihoodResults_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.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) = 144640.048184 delta logL = 0.0123884816712 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 144640.01768 delta logL = 0.0428924114094 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .44082 1.0000 .10000E-03 10000. 2 'Index ' 2.2996 1.0000 .0000 10.000 3 'Normalizat' 1.1335 1.0000 .10000E-01 10.000 4 'Prefactor ' .96580 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 144640.0 FROM MIGRAD STATUS=FAILED 102 CALLS 299 TOTAL EDM= .10E-05 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .44090 1.5759 .40607E-02 .42751E-01 2 Index 2.2999 1.1340 .37019E-01 .23222E-04 3 Normalizat 1.1335 .54119E-01 .43322E-03 -.13444E-02 4 Prefactor .96580 .16655E-01 .14266E-03 -.47911E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 144640.0 FROM SIMPLEX STATUS=UNCHANGED 67 CALLS 366 TOTAL EDM= .19E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .44090 1.5759 .83738E-04 -1.5575 2 Index 2.2999 1.1340 .89387E-03 -.57046 3 Normalizat 1.1335 .54119E-01 .89174E-04 -.88683 4 Prefactor .96580 .16655E-01 .30152E-04 -.93878 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 144640.0 FROM MIGRAD STATUS=CONVERGED 31 CALLS 397 TOTAL EDM= .15E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .44094 1.5163 .81214E-03 .16562E-02 2 Index 2.2999 1.0956 .14808E-02 -.24322E-04 3 Normalizat 1.1335 .54131E-01 .17329E-04 -.35270E-03 4 Prefactor .96580 .16655E-01 .28532E-04 -.12138E-02 ERR DEF= .500 Final values: Prefactor = 0.440938 Index = 2.29987 Normalizat = 1.1335 Prefactor = 0.965804 ********** ** 18 **HESSE ********** FCN= 144640.0 FROM HESSE STATUS=OK 25 CALLS 422 TOTAL EDM= .67E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .44094 1.5162 .16243E-03 -1.5575 2 Index 2.2999 1.0961 .59231E-04 -.57047 3 Normalizat 1.1335 .54110E-01 .34658E-05 -.88683 4 Prefactor .96580 .16653E-01 .57065E-05 -.93878 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.66141e-11 Minuit parameter uncertainties: 1 1.51637 2 1.10885 3 0.0541129 4 0.016653 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/287157': 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) = 144640.01768 delta logL = 0.0428924766893 Extracting fit parameters... 4FGL J1941.7+7218 Spectrum: PowerLaw 385 Prefactor: 4.409e-01 1.516e+00 1.000e-04 1.000e+04 ( 1.000e-12) 386 Index: 2.300e+00 1.109e+00 0.000e+00 1.000e+01 (-1.000e+00) 387 Scale: 6.329e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 637 Prefactor: 9.658e-01 1.665e-02 0.000e+00 1.000e+01 ( 1.000e+00) 638 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 639 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 629 Normalization: 1.134e+00 5.411e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 295.437 72.310 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/287157/cmap_HighResolution_540259201_542851201_4FGL_J1941.7+7218_monthly_bin117.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/287157 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.08e-03', job_status='DONE', photon_flux_upper_limit='2.63e-08', time_completed='2021-11-04 21:50:25.810393', job_id='287157', GAL2='0.97', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1636087825.81', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.29e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='117' AND source_name='4FGL J1941.7+7218' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Nov 4 21:50:25 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 287157: <4FGL_J1941.7+7218_monthly_bin117> in cluster Done Job <4FGL_J1941.7+7218_monthly_bin117> was submitted from host by user in cluster at Thu Nov 4 17:55:22 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Nov 4 17:55:24 2021 was used as the home directory. was used as the working directory. Started at Thu Nov 4 17:55:24 2021 Terminated at Thu Nov 4 21:50:26 2021 Results reported at Thu Nov 4 21:50:26 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.7+7218_monthly_bin117 295.437 72.3101 540259201 542851201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1941.7+7218 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 13868.96 sec. Max Memory : 1005 MB Average Memory : 527.92 MB Total Requested Memory : - Delta Memory : - Max Swap : 2960 MB Max Processes : 6 Max Threads : 21 Run time : 14102 sec. Turnaround time : 14104 sec. The output (if any) is above this job summary.