/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 197 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 = 72818 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1638.1+5721_monthly_bin6 RA = 249.525, Dec = 57.3577 tmin = 252547201, tmax = 255139201 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='951056', job_status='RUN', time_executed='2021-10-29 07:58:59.515319', time_epoch_executed='1635519539.52' WHERE source_name='4FGL J1638.1+5721' and cadence='monthly' and bin_id='6' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/951056 Creating custom pfile directory: /scratch/kocevski/951056/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=252547201.0 && nMetStart<255139201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=252547201.0 && nMetStart<255139201.0' /Data/Flight/Level1/LPA Retrieving 453 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/951056/ft1_4FGL_J1638.1+5721_monthly_bin6.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=252547201.0 && nMetStart<255139201.0' /Data/Flight/Level1/LPA Retrieving 453 files... Done. Merging files... Merged file saved to: /scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/951056/ft1_4FGL_J1638.1+5721_monthly_bin6.fits outfile=/scratch/kocevski/951056/ft1_filteredMKT_4FGL_J1638.1+5721_monthly_bin6.fits ra=249.525 dec=57.3577 rad=12.0 tmin=252547201.0 tmax=255139201.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 10.29 user 9.89 sys 0.35 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.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/951056/ft1_filteredMKT_4FGL_J1638.1+5721_monthly_bin6.fits evtable="EVENTS" outfile="/scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.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.86 user 0.63 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.fits" evtable="EVENTS" scfile=/scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits sctable="SC_DATA" outfile=/scratch/kocevski/951056/ltcube_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.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/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits .....................! real 110.93 user 110.38 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.fits evtable="EVENTS" scfile=/scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits sctable="SC_DATA" expcube=/scratch/kocevski/951056/ltcube_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.fits outfile=/scratch/kocevski/951056/expmap_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.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/951056/ltcube_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.fits .....................! real 195.09 user 189.20 sys 5.55 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 221 point sources and 0 extended sources Setting source of interest to: 4FGL J1638.1+5721 @ 249.525 57.3577 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.fits scfile=/scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits outfile=/scratch/kocevski/951056/cmap_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.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=249.525 yref=57.3577 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.76 user 0.58 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.fits scfile=/scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits outfile=/scratch/kocevski/951056/cmap_HighResolution_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.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=249.525 yref=57.3577 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.76 user 0.58 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.fits evtable="EVENTS" scfile=/scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951056/Model_4FGL_J1638.1+5721_monthly_bin6.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.fits.....................! real 473.23 user 470.57 sys 1.41 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.fits', '/scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits', expMap='/scratch/kocevski/951056/expmap_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.fits', expCube='/scratch/kocevski/951056/ltcube_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/951056/Model_4FGL_J1638.1+5721_monthly_bin6.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1638.1+5721' 4FGL J1638.1+5721 Spectrum: PowerLaw 349 Prefactor: 2.779e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 350 Index: 2.681e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 5.489e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/951056/ft1_filtered_4FGL_J1638.1+5721_monthly_bin6.fits Spacecraft file(s): /scratch/kocevski/951056/ft2_4FGL_J1638.1+5721_monthly_bin6.fits Exposure map: /scratch/kocevski/951056/expmap_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.fits Exposure cube: /scratch/kocevski/951056/ltcube_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/951056/Model_4FGL_J1638.1+5721_monthly_bin6.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) = 69618.3078004 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 69618.2987422 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.8850 1.0000 .10000E-03 10000. 2 'norm ' 4.9451 1.0000 .10000E-03 10000. 3 'Prefactor ' 35.199 1.0000 .10000E-03 10000. 4 'Prefactor ' 3.5794 1.0000 .10000E-03 10000. 5 'norm ' 2.7175 1.0000 .10000E-03 10000. 6 'Prefactor ' 4.1104 1.0000 .10000E-03 10000. 7 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 25.645 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'norm ' 4.2493 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.9229 1.0000 .10000E-03 10000. 13 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 15 'norm ' 3.2207 1.0000 .10000E-03 10000. 16 'Prefactor ' 1.1494 1.0000 .10000E-03 10000. 17 'Prefactor ' 10.319 1.0000 .10000E-03 10000. 18 'Prefactor ' .25432E-03 1.0000 .10000E-03 10000. 19 'norm ' .86573 1.0000 .10000E-03 10000. 20 'norm ' .50841 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.6636 1.0000 .10000E-03 10000. 22 'Prefactor ' 3.1349 1.0000 .10000E-03 10000. 23 'Prefactor ' 5.4271 1.0000 .10000E-03 10000. 24 'Prefactor ' 2.4779 1.0000 .10000E-03 10000. 25 'Prefactor ' .10175E-03 1.0000 .10000E-03 10000. 26 'norm ' .10001E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' 47.837 1.0000 .10000E-03 10000. 28 'Prefactor ' 17.124 1.0000 .10000E-03 10000. 29 'Prefactor ' 8.6547 1.0000 .10000E-03 10000. 30 'Prefactor ' 6.8668 1.0000 .10000E-03 10000. 31 'Prefactor ' .19898 1.0000 .10000E-03 10000. 32 'Normalizat' 1.0083 1.0000 .10000E-01 10.000 33 'Prefactor ' 1.0777 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 69618.30 FROM MIGRAD STATUS=CONVERGED 903 CALLS 4719 TOTAL EDM= .54E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.8848 3.3057 .0000 .30501E-01 2 norm 4.9450 .99410 .0000 .53267E-03 3 Prefactor 35.195 25.892 .0000 .32238E-02 4 Prefactor 3.5796 2.3087 .0000 .43922E-02 5 norm 2.7176 2.2779 .0000 .94644E-01 6 Prefactor 4.1101 9.0848 .0000 .72010E-03 7 Prefactor .10000E-03 7.0116 .0000 ** at limit ** 8 Prefactor .10000E-03 .45745 .0000 ** at limit ** 9 Prefactor 25.647 8.3496 .0000 -.12912E-02 10 Prefactor .10000E-03 .46082 .0000 ** at limit ** 11 norm 4.2494 3.4753 .0000 -.25522E-02 12 Prefactor 1.9230 1.2337 .0000 .82730E-02 13 Prefactor .10000E-03 .41445 .0000 ** at limit ** 14 Prefactor .10000E-03 9.4011 .0000 ** at limit ** 15 norm 3.2207 2.1528 .0000 .46696E-02 16 Prefactor 1.1496 .76564 .0000 .70699E-02 17 Prefactor 10.320 3.1952 .0000 .39378E-02 18 Prefactor .10000E-03 1.1843 .0000 ** at limit ** 19 norm .86578 .28124 .0000 .78275E-02 20 norm .50847 .24893 .0000 .12359E-01 21 Prefactor 1.6635 2.2413 .0000 .15028 22 Prefactor 3.1372 2.3683 .0000 .98590E-01 23 Prefactor 5.4271 2.4991 .0000 .41013E-02 24 Prefactor 2.4780 .87505 .0000 .10876E-03 25 Prefactor .10000E-03 42.464 .0000 ** at limit ** 26 norm .10000E-03 .59455 .0000 ** at limit ** 27 Prefactor 47.838 2.9937 .0000 .32254E-03 28 Prefactor 17.125 12.477 .0000 .10096E-03 29 Prefactor 8.6547 25.319 .0000 .37855E-03 30 Prefactor 6.8670 4.8266 .0000 -.31723E-02 31 Prefactor .21893 1.3934 .0000 .20093E-02 32 Normalizat 1.0084 .62957E-01 .0000 .10307E-03 33 Prefactor 1.0777 .53311E-01 .0000 .10215E-03 ERR DEF= .500 Final values: Prefactor = 3.88484 norm = 4.94504 Prefactor = 35.1945 Prefactor = 3.57957 norm = 2.71763 Prefactor = 4.11011 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 25.647 Prefactor = 0.0001 norm = 4.2494 Prefactor = 1.92302 Prefactor = 0.0001 Prefactor = 0.0001 norm = 3.2207 Prefactor = 1.14956 Prefactor = 10.3197 Prefactor = 0.000100001 norm = 0.865778 norm = 0.508475 Prefactor = 1.6635 Prefactor = 3.13719 Prefactor = 5.42707 Prefactor = 2.47796 Prefactor = 0.000100001 norm = 0.0001 Prefactor = 47.8376 Prefactor = 17.1251 Prefactor = 8.65465 Prefactor = 6.86695 Prefactor = 0.218927 Normalizat = 1.00835 Prefactor = 1.07766 ********** ** 18 **HESSE ********** FCN= 69618.30 FROM HESSE STATUS=OK 723 CALLS 5442 TOTAL EDM= .38E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.8848 3.3124 .10236E-02 -1.5314 2 norm 4.9450 .99311 .11169E-03 -1.5263 3 Prefactor 35.195 25.915 .67547E-04 -1.4521 4 Prefactor 3.5796 2.2795 .21360E-03 -1.5330 5 norm 2.7176 2.2410 .12353E-02 -1.5378 6 Prefactor 4.1101 9.0492 .19884E-03 -1.5302 7 Prefactor .10000E-03 7.0315 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 1.2486 .31737E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 25.647 7.6822 .79104E-04 -1.4695 10 Prefactor .10000E-03 .47290 .34948E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 4.2494 3.4708 .19547E-03 -1.5296 12 Prefactor 1.9230 1.2196 .22057E-03 -1.5431 13 Prefactor .10000E-03 1.1750 .32334E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 9.7086 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 3.2207 2.1420 .22573E-03 -1.5349 16 Prefactor 1.1496 .74289 .17563E-03 -1.5494 17 Prefactor 10.320 3.1901 .12473E-03 -1.5065 18 Prefactor .10000E-03 9.4839 .54176E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .86578 .27016 .74448E-04 -1.5522 20 norm .50847 .21362 .85391E-03 -1.5565 21 Prefactor 1.6635 2.1813 .16351E-02 -1.5450 22 Prefactor 3.1372 2.3195 .11448E-02 -1.5354 23 Prefactor 5.4271 2.4869 .17249E-03 -1.5242 24 Prefactor 2.4780 .87546 .14230E-03 -1.5393 25 Prefactor .10000E-03 43.074 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .10000E-03 .60523 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 47.838 2.9888 .57975E-04 -1.4324 28 Prefactor 17.125 12.474 .96786E-04 -1.4880 29 Prefactor 8.6547 25.285 .13625E-03 -1.5120 30 Prefactor 6.8670 4.8283 .15311E-03 -1.5184 31 Prefactor .21893 1.6072 .89951E-01 -1.5614 32 Normalizat 1.0084 .72795E-01 .27659E-03 -.92751 33 Prefactor 1.0777 .63004E-01 .24488E-03 -.90184 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.84694e-08 Minuit parameter uncertainties: 1 3.3126 2 0.993113 3 25.923 4 2.27959 5 2.24108 6 9.05226 7 2.52315e-05 8 3.53626e-07 9 7.68253 10 6.35919e-07 11 3.471 12 1.21959 13 1.41126e-06 14 2.82841e-05 15 2.14204 16 0.742893 17 3.19011 18 0.000197454 19 0.270163 20 0.213616 21 2.18137 22 2.3196 23 2.48697 24 0.87546 25 0.000343749 26 8.79368e-08 27 2.98877 28 12.4764 29 25.3164 30 4.82862 31 1.18612 32 0.0728024 33 0.0630087 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 69618.298724 Extracting fit parameters... 4FGL J1638.1+5721 Spectrum: PowerLaw 349 Prefactor: 1.000e-04 1.411e-06 1.000e-04 1.000e+04 ( 1.000e-12) 350 Index: 2.681e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 5.489e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 711 Prefactor: 1.078e+00 6.301e-02 0.000e+00 1.000e+01 ( 1.000e+00) 712 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 713 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 710 Normalization: 1.008e+00 7.280e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 249.525 57.358 Photon Flux Upper Limit: 1.77e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.39e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/951056/likelihoodResults_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.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) = 69618.3027621 delta logL = -0.00403818287305 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 69618.2987257 delta logL = -1.72578438651e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10542E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.7121 1.0000 .0000 10.000 3 'Normalizat' 1.0084 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0776 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7140E+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= 69618.19 FROM MIGRAD STATUS=FAILED 177 CALLS 347 TOTAL EDM= .20E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61821E-02 1.1968 .29354E-03 .16273E-01 2 Index 6.4256 5.2475 .19633E-01 .59628E-04 3 Normalizat .99905 .28487E-01 .27778E-03 -.67252E-03 4 Prefactor 1.0832 .25593E-01 .24435E-03 -.36178E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 69618.19 FROM SIMPLEX STATUS=UNCHANGED 91 CALLS 438 TOTAL EDM= .61E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61821E-02 1.1968 .17825E-04 .16273E-01 2 Index 6.4256 5.2475 .27244E-02 .59628E-04 3 Normalizat .99905 .28487E-01 .31587E-04 -.67252E-03 4 Prefactor 1.0832 .25593E-01 .14887E-04 -.36178E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 69618.19 FROM MIGRAD STATUS=CONVERGED 31 CALLS 469 TOTAL EDM= .14E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61841E-02 1.5114 .11742E-04 .35011E-02 2 Index 6.4254 5.7652 .78533E-03 .21309E-04 3 Normalizat .99905 .68273E-01 .11111E-04 -.56971E-03 4 Prefactor 1.0832 .60308E-01 .97741E-05 -.31265E-03 ERR DEF= .500 Final values: Prefactor = 0.00618414 Index = 6.42544 Normalizat = 0.999049 Prefactor = 1.08318 ********** ** 18 **HESSE ********** FCN= 69618.19 FROM HESSE STATUS=OK 23 CALLS 492 TOTAL EDM= .14E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .61841E-02 .22053 .46967E-06 -1.5692 2 Index 6.4254 8.0957 .31413E-04 .28910 3 Normalizat .99905 .70114E-01 .22222E-05 -.93062 4 Prefactor 1.0832 .62635E-01 .19548E-05 -.90006 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.43847e-10 Minuit parameter uncertainties: 1 0.0732594 2 7.44123 3 0.0701207 4 0.0626388 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/951056': 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) = 69618.1929428 delta logL = 0.105781149585 Extracting fit parameters... 4FGL J1638.1+5721 Spectrum: PowerLaw 349 Prefactor: 6.184e-03 7.326e-02 1.000e-04 1.000e+04 ( 1.000e-12) 350 Index: 6.425e+00 7.441e+00 0.000e+00 1.000e+01 (-1.000e+00) 351 Scale: 5.489e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 711 Prefactor: 1.083e+00 6.264e-02 0.000e+00 1.000e+01 ( 1.000e+00) 712 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 713 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 710 Normalization: 9.990e-01 7.012e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 249.525 57.358 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/951056/cmap_HighResolution_252547201_255139201_4FGL_J1638.1+5721_monthly_bin6.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/951056 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.77e-08', time_completed='2021-10-29 10:44:46.986091', job_id='951056', GAL2='1.08', fit_tolerance='1e-08', EG2='1.00', EG='1.01', time_epoch_completed='1635529486.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.06e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='6' AND source_name='4FGL J1638.1+5721' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 10:44:47 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 951056: <4FGL_J1638.1+5721_monthly_bin6> in cluster Done Job <4FGL_J1638.1+5721_monthly_bin6> was submitted from host by user in cluster at Fri Oct 29 07:55:22 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 07:55:24 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 07:55:24 2021 Terminated at Fri Oct 29 10:44:48 2021 Results reported at Fri Oct 29 10:44:48 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1638.1+5721_monthly_bin6 249.525 57.3577 252547201 255139201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1638.1+5721 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 9877.00 sec. Max Memory : 629 MB Average Memory : 412.63 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 10163 sec. Turnaround time : 10166 sec. The output (if any) is above this job summary.