/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 136 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 = 73393 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1841.8+3218_monthly_bin46 RA = 280.453, Dec = 32.301 tmin = 356227201, tmax = 358819201 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='734461', job_status='RUN', time_executed='2021-11-03 03:47:43.019191', time_epoch_executed='1635936463.02' WHERE source_name='4FGL J1841.8+3218' and cadence='monthly' and bin_id='46' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/734461 Creating custom pfile directory: /scratch/kocevski/734461/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=356227201.0 && nMetStart<358819201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=356227201.0 && nMetStart<358819201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/734461/ft1_4FGL_J1841.8+3218_monthly_bin46.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=356227201.0 && nMetStart<358819201.0' /Data/Flight/Level1/LPA Retrieving 462 files... Done. Merging files... fmerge4.1 : Error, missing column list names, file /scratch/kocevski/734461/ft2_filtered_0426.fits fmerge4.1 : Fatal error! FCCMPL: not found in table: RA_SUN FCCMPL: not found in table: DEC_SUN Merged file saved to: /scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/734461/ft1_4FGL_J1841.8+3218_monthly_bin46.fits outfile=/scratch/kocevski/734461/ft1_filteredMKT_4FGL_J1841.8+3218_monthly_bin46.fits ra=280.453 dec=32.301 rad=12.0 tmin=356227201.0 tmax=358819201.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 34.12 user 33.26 sys 0.75 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.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/734461/ft1_filteredMKT_4FGL_J1841.8+3218_monthly_bin46.fits evtable="EVENTS" outfile="/scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.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.87 user 0.63 sys 0.20 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.fits" evtable="EVENTS" scfile=/scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits sctable="SC_DATA" outfile=/scratch/kocevski/734461/ltcube_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.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/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits .....................! real 132.22 user 131.43 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits sctable="SC_DATA" expcube=/scratch/kocevski/734461/ltcube_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.fits outfile=/scratch/kocevski/734461/expmap_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.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/734461/ltcube_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.fits .....................! real 193.64 user 186.65 sys 6.29 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 W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template. Extended source gamma Cygni in ROI with RadialDisk spatial model. Added 236 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 J1841.8+3218 @ 280.453 32.301 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.fits scfile=/scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits outfile=/scratch/kocevski/734461/cmap_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.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=280.453 yref=32.301 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 gtbin: WARNING: Spacecraft data ceases before end of last GTI. gtbin: WARNING: EXPOSURE keyword calculation may not be accurate. real 0.78 user 0.63 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.fits scfile=/scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits outfile=/scratch/kocevski/734461/cmap_HighResolution_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.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=280.453 yref=32.301 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 gtbin: WARNING: Spacecraft data ceases before end of last GTI. gtbin: WARNING: EXPOSURE keyword calculation may not be accurate. real 0.79 user 0.64 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/734461/Model_4FGL_J1841.8+3218_monthly_bin46.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 adding source W 51C adding source gamma Cygni Working on... /scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.fits.....................! real 1955.54 user 1949.86 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.fits', '/scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits', expMap='/scratch/kocevski/734461/expmap_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.fits', expCube='/scratch/kocevski/734461/ltcube_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/734461/Model_4FGL_J1841.8+3218_monthly_bin46.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1841.8+3218' 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 4.939e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/734461/ft1_filtered_4FGL_J1841.8+3218_monthly_bin46.fits Spacecraft file(s): /scratch/kocevski/734461/ft2_4FGL_J1841.8+3218_monthly_bin46.fits Exposure map: /scratch/kocevski/734461/expmap_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.fits Exposure cube: /scratch/kocevski/734461/ltcube_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/734461/Model_4FGL_J1841.8+3218_monthly_bin46.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) = 121956.485241 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 121956.408251 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.4732 1.0000 .10000E-03 10000. 2 'Prefactor ' .80136 1.0000 .10000E-03 10000. 3 'Prefactor ' .11938E-03 1.0000 .10000E-03 10000. 4 'norm ' .19068 1.0000 .10000E-03 10000. 5 'norm ' 20.835 1.0000 .10000E-03 10000. 6 'Prefactor ' .10048E-03 1.0000 .10000E-03 10000. 7 'norm ' 1.8847 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .40335E-02 1.0000 .10000E-03 10000. 10 'norm ' .17673E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .82414 1.0000 .10000E-03 10000. 12 'norm ' 6.4894 1.0000 .10000E-03 10000. 13 'norm ' 7.2250 1.0000 .10000E-03 10000. 14 'norm ' .10018E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 4.5864 1.0000 .10000E-03 10000. 16 'Prefactor ' 4.1900 1.0000 .10000E-03 10000. 17 'Prefactor ' 6.6159 1.0000 .10000E-03 10000. 18 'Prefactor ' .34634E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .14320E-02 1.0000 .10000E-03 10000. 20 'Prefactor ' 22.771 1.0000 .10000E-03 10000. 21 'Normalizat' 1.2333 1.0000 .10000E-01 10.000 22 'Prefactor ' .95447 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 121956.4 FROM MIGRAD STATUS=CONVERGED 569 CALLS 2217 TOTAL EDM= .20E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.4761 2.9394 .0000 .15363E-02 2 Prefactor .84369 2.4568 .0000 .38313E-02 3 Prefactor .10000E-03 19.155 .0000 ** at limit ** 4 norm .19083 .22796 .0000 .19898E-01 5 norm 20.676 14.633 .0000 .41417E-03 6 Prefactor .10000E-03 .21499 .0000 ** at limit ** 7 norm 1.8835 1.2027 .0000 -.19135E-02 8 Prefactor .10000E-03 .20256 .0000 ** at limit ** 9 Prefactor .10000E-03 1.0973 .0000 ** at limit ** 10 norm .10000E-03 1.0543 .0000 ** at limit ** 11 Prefactor .82531 1.2589 .0000 .94801E-02 12 norm 6.4748 7.8446 .0000 .13763E-03 13 norm 7.2273 1.2857 .0000 .25714E-02 14 norm .10000E-03 .10147 .0000 ** at limit ** 15 Prefactor 4.5936 2.8722 .0000 .11681E-02 16 Prefactor 4.1618 12.739 .0000 .38453E-03 17 Prefactor 6.6235 3.3115 .0000 -.16123E-02 18 Prefactor .10000E-03 17.168 .0000 ** at limit ** 19 Prefactor .10000E-03 1.2257 .0000 ** at limit ** 20 Prefactor 25.750 36.042 .0000 .89454E-04 21 Normalizat 1.2333 .71918E-01 .0000 .30707E-03 22 Prefactor .95440 .18924E-01 .0000 -.16980E-03 ERR DEF= .500 Final values: Prefactor = 2.47606 Prefactor = 0.843693 Prefactor = 0.0001 norm = 0.190835 norm = 20.6756 Prefactor = 0.0001 norm = 1.88349 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.825311 norm = 6.47477 norm = 7.22726 norm = 0.0001 Prefactor = 4.59362 Prefactor = 4.16177 Prefactor = 6.62353 Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 25.7499 Normalizat = 1.23327 Prefactor = 0.954397 ********** ** 18 **HESSE ********** FCN= 121956.4 FROM HESSE STATUS=OK 388 CALLS 2605 TOTAL EDM= .20E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.4761 2.9219 .25999E-03 -1.5393 2 Prefactor .84369 12.964 .89403E-02 -1.5524 3 Prefactor .10000E-03 19.312 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .19083 .22896 .17637E-03 -1.5621 5 norm 20.676 14.574 .43874E-03 -1.4798 6 Prefactor .10000E-03 1.2087 .30964E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.8835 1.2069 .29768E-03 -1.5433 8 Prefactor .10000E-03 .64431 .30068E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 1.2479 .11130 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .10000E-03 1.1436 .15538 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .82531 2.1117 .44245E-02 -1.5526 12 norm 6.4748 7.8391 .15754E-03 -1.5199 13 norm 7.2273 1.1317 .13816E-03 -1.5170 14 norm .10000E-03 .88851 .18147E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 4.5936 2.8681 .18796E-03 -1.5279 16 Prefactor 4.1618 12.589 .19688E-03 -1.5300 17 Prefactor 6.6235 3.3117 .78007E-03 -1.5193 18 Prefactor .10000E-03 17.343 .21328E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 1.3496 .12888 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 25.750 36.040 .41970E-03 -1.4693 21 Normalizat 1.2333 .76660E-01 .45121E-03 -.85581 22 Prefactor .95440 .20744E-01 .14072E-03 -.94265 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.03862e-06 Minuit parameter uncertainties: 1 2.92203 2 6.61576 3 4.32703e-06 4 0.228961 5 14.5766 6 6.91372e-07 7 1.2069 8 2.85109e-07 9 5.71901e-07 10 3.87349e-07 11 2.11193 12 7.84039 13 1.13167 14 9.77807e-07 15 2.86818 16 12.5973 17 3.31184 18 4.23279e-05 19 7.80254e-05 20 36.0701 21 0.076667 22 0.0207443 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 121956.404424 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 6.475e+00 7.840e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.544e-01 2.074e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.233e+00 7.667e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.13 Ra Dec: 280.453 32.301 Photon Index (Fixed Index): 1.56 +/- 0.00 Photon Flux (Fixed Index): 1.11e-09 +/- 1.34e-09 Energy Flux (Fixed Index): 3.60e-06 +/- 4.36e-06 TS (Fixed Index): 1.13 Ra Dec: 280.453 32.301 Photon Flux Upper Limit: 4.81e-09 ph cm-2 s-1 Energy Flux Upper Limit: 1.56e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/734461/likelihoodResults_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.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) = 121955.77518 delta logL = 0.629244849115 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 121955.6754 delta logL = 0.7290245068 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.4126 1.0000 .10000E-03 10000. 2 'alpha ' 3.1810 1.0000 .0000 5.0000 3 'Normalizat' 1.2244 1.0000 .10000E-01 10.000 4 'Prefactor ' .95424 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+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= 121955.7 FROM MIGRAD STATUS=FAILED 103 CALLS 275 TOTAL EDM= .21E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.3961 81.340 .10949E-02 -.12642E-03 2 alpha 3.1829 4.0489 .20964E-01 .21495E-02 3 Normalizat 1.2244 .76928E-01 .45247E-03 -.82413E-04 4 Prefactor .95425 .16409E-01 .14069E-03 -.30124E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 121955.7 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 357 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.3961 81.340 .11115E-03 -.12642E-03 2 alpha 3.1829 4.0489 .13138E-02 .21495E-02 3 Normalizat 1.2244 .76928E-01 .76509E-04 -.82413E-04 4 Prefactor .95425 .16409E-01 .20481E-04 -.30124E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 121955.7 FROM MIGRAD STATUS=CONVERGED 34 CALLS 391 TOTAL EDM= .16E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.3961 8.2323 .43797E-04 -.24088E-03 2 alpha 3.1829 1.2037 .41928E-02 -.15358E-04 3 Normalizat 1.2244 .75492E-01 .18099E-04 -.82413E-04 4 Prefactor .95425 .20648E-01 .56277E-05 -.30383E-03 ERR DEF= .500 Final values: norm = 3.39608 alpha = 3.18286 Normalizat = 1.22437 Prefactor = 0.954252 ********** ** 18 **HESSE ********** FCN= 121955.7 FROM HESSE STATUS=OK 23 CALLS 414 TOTAL EDM= .96E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.3961 6.3170 .17519E-05 -1.5339 2 alpha 3.1829 .94073 .16771E-03 .27666 3 Normalizat 1.2244 .74615E-01 .36198E-05 -.85853 4 Prefactor .95425 .20588E-01 .11255E-05 -.94270 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.63391e-12 Minuit parameter uncertainties: 1 6.31827 2 0.966545 3 0.0746213 4 0.0205878 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/734461': 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) = 121955.675395 delta logL = 0.729029425682 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 3.396e+00 6.318e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 3.183e+00 9.665e-01 0.000e+00 5.000e+00 ( 1.000e+00) 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.543e-01 2.059e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.224e+00 7.462e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.60 Ra Dec: 280.453 32.301 Photon Index (Free Index): 3.18 +/- 0.97 Photon Flux (Free Index): 1.56e-08 +/- 1.76e-08 Energy Flux (Free Index): 5.36e-06 +/- 3.71e-06 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/734461/cmap_HighResolution_356227201_358819201_4FGL_J1841.8+3218_monthly_bin46.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/734461 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-05', comment='SUCCESS', photon_flux='1.11e-09', energy_flux2='5.36e-06', photon_flux_error='1.34e-09', dlogl='7.29e-01', energy_flux='3.60e-06', photon_flux2='1.56e-08', job_status='DONE', time_completed='2021-11-03 06:57:16.289210', photon_index_error2='0.97', photon_index2='3.18', ts='1.13', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='4.81e-09', energy_flux_error2='3.71e-06', EG='1.23', time_epoch_completed='1635947836.29', return_code='0', job_id='734461', GAL2='0.95', EG2='1.22', return_code2='0', energy_flux_error='4.36e-06', photon_flux_error2='1.76e-08', ts2='2.60', photon_index='1.56' WHERE bin_id='46' AND source_name='4FGL J1841.8+3218' AND cadence='monthly'; Database successfully updated. Analysis Complete. Wed Nov 3 06:57:16 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 734461: <4FGL_J1841.8+3218_monthly_bin46> in cluster Done Job <4FGL_J1841.8+3218_monthly_bin46> was submitted from host by user in cluster at Wed Nov 3 03:45:12 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Nov 3 03:45:19 2021 was used as the home directory. was used as the working directory. Started at Wed Nov 3 03:45:19 2021 Terminated at Wed Nov 3 06:57:17 2021 Results reported at Wed Nov 3 06:57:17 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1841.8+3218_monthly_bin46 280.453 32.301 356227201 358819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1841.8+3218 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 11213.45 sec. Max Memory : 1108 MB Average Memory : 535.44 MB Total Requested Memory : - Delta Memory : - Max Swap : 3418 MB Max Processes : 6 Max Threads : 21 Run time : 11518 sec. Turnaround time : 11525 sec. The output (if any) is above this job summary.