/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 202 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 = 73664 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+1012_monthly_bin116 RA = 77.351, Dec = 10.2008 tmin = 537667201, tmax = 540259201 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='291393', job_status='RUN', time_executed='2021-10-14 02:48:48.093115', time_epoch_executed='1634204928.09' WHERE source_name='4FGL J0509.4+1012' and cadence='monthly' and bin_id='116' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/291393 Creating custom pfile directory: /scratch/kocevski/291393/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=537667201.0 && nMetStart<540259201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=537667201.0 && nMetStart<540259201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/291393/ft1_4FGL_J0509.4+1012_monthly_bin116.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=537667201.0 && nMetStart<540259201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Merged file saved to: /scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/291393/ft1_4FGL_J0509.4+1012_monthly_bin116.fits outfile=/scratch/kocevski/291393/ft1_filteredMKT_4FGL_J0509.4+1012_monthly_bin116.fits ra=77.351 dec=10.2008 rad=12.0 tmin=537667201.0 tmax=540259201.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 41.70 user 40.61 sys 0.99 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.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/291393/ft1_filteredMKT_4FGL_J0509.4+1012_monthly_bin116.fits evtable="EVENTS" outfile="/scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.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.90 user 0.68 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.fits" evtable="EVENTS" scfile=/scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits sctable="SC_DATA" outfile=/scratch/kocevski/291393/ltcube_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.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/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits .....................! real 141.81 user 140.29 sys 0.80 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.fits evtable="EVENTS" scfile=/scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits sctable="SC_DATA" expcube=/scratch/kocevski/291393/ltcube_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.fits outfile=/scratch/kocevski/291393/expmap_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.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/291393/ltcube_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.fits .....................! real 194.71 user 187.51 sys 6.08 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 S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template. Added 159 point sources and 3 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 J0509.4+1012 @ 77.351 10.2008 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.fits scfile=/scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits outfile=/scratch/kocevski/291393/cmap_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.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=77.351 yref=10.2008 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.63 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.fits scfile=/scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits outfile=/scratch/kocevski/291393/cmap_HighResolution_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.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=77.351 yref=10.2008 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.65 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.fits evtable="EVENTS" scfile=/scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/291393/Model_4FGL_J0509.4+1012_monthly_bin116.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 IC 443 adding source Rosette adding source S 147 Working on... /scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.fits.....................! real 3115.62 user 3095.71 sys 5.33 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.fits', '/scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits', expMap='/scratch/kocevski/291393/expmap_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.fits', expCube='/scratch/kocevski/291393/ltcube_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/291393/Model_4FGL_J0509.4+1012_monthly_bin116.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+1012' 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.153e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/291393/ft1_filtered_4FGL_J0509.4+1012_monthly_bin116.fits Spacecraft file(s): /scratch/kocevski/291393/ft2_4FGL_J0509.4+1012_monthly_bin116.fits Exposure map: /scratch/kocevski/291393/expmap_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.fits Exposure cube: /scratch/kocevski/291393/ltcube_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/291393/Model_4FGL_J0509.4+1012_monthly_bin116.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) = 137564.921737 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 137564.779531 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.756 1.0000 .10000E-03 10000. 2 'Prefactor ' 16.363 1.0000 .10000E-03 10000. 3 'norm ' 2.0756 1.0000 .10000E-03 10000. 4 'Prefactor ' .10658E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 3.9825 1.0000 .10000E-03 10000. 6 'norm ' 1.4155 1.0000 .10000E-03 10000. 7 'Prefactor ' .10102E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 16.890 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.2013 1.0000 .10000E-03 10000. 10 'norm ' .61778 1.0000 .10000E-03 10000. 11 'norm ' 10.787 1.0000 .10000E-03 10000. 12 'Prefactor ' .80918 1.0000 .10000E-03 10000. 13 'norm ' 1.0392 1.0000 .10000E-03 10000. 14 'Prefactor ' .69586 1.0000 .10000E-03 10000. 15 'Prefactor ' .17136E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .15104E-03 1.0000 .10000E-03 10000. 17 'norm ' 1.5868 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.4112 1.0000 .10000E-03 10000. 19 'norm ' 1.2918 1.0000 .10000E-03 10000. 20 'norm ' 1.9666 1.0000 .10000E-03 10000. 21 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10036E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 4.7649 1.0000 .10000E-03 10000. 24 'Prefactor ' .48393 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0196 1.0000 .10000E-01 10.000 26 'Prefactor ' .98383 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 137564.8 FROM MIGRAD STATUS=CONVERGED 96 CALLS 2238 TOTAL EDM= .19E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.759 2.3935 -.75633E-07 .89651E-03 2 Prefactor 16.362 1.2025 -.10496E-06 .83038E-02 3 norm 2.0754 .83743 .21078E-06 .11905E-02 4 Prefactor .10002E-03 76.391 .57110E-05** at limit ** 5 Prefactor 3.9828 2.1860 -.87796E-06 -.36237E-02 6 norm 1.4155 .56586 .79233E-07 .10357E-02 7 Prefactor .10000E-03 4.2061 -.16602E-06** at limit ** 8 Prefactor 16.899 8.1558 -.24500E-06 .37465E-02 9 Prefactor 3.2019 2.0994 .13202E-06 .95692E-03 10 norm .61765 .19681 -.34486E-07 -.32790E-03 11 norm 10.789 1.5258 -.43197E-07 -.71436E-04 12 Prefactor .80922 .94171 -.15089E-06 .12281E-03 13 norm 1.0390 1.3372 -.17490E-06 .89501E-04 14 Prefactor .69590 .76836 -.74740E-07 .48453E-04 15 Prefactor .10000E-03 2.8061 -.86144E-06** at limit ** 16 Prefactor .10000E-03 2.5449 .10495E-06** at limit ** 17 norm 1.5869 .58164 -.22482E-07 .11869E-03 18 Prefactor 2.4109 1.6293 -.51163E-07 -.80426E-04 19 norm 1.2922 1.5624 .10825E-06 .57670E-04 20 norm 1.9666 .35616 -.39533E-08 .10453E-02 21 Prefactor .10000E-03 1.2524 -.38362E-06** at limit ** 22 Prefactor .10000E-03 1.2739 .51948E-07** at limit ** 23 Prefactor 4.7566 2.0251 -.46260E-06 .97296E-02 24 Prefactor .48411 1.2325 -.17104E-06 .33003E-03 25 Normalizat 1.0195 .98119E-01 .11492E-05 .83498E-03 26 Prefactor .98384 .20637E-01 .33335E-06 .41260E-02 ERR DEF= .500 Final values: Prefactor = 10.7589 Prefactor = 16.3617 norm = 2.07536 Prefactor = 0.000100016 Prefactor = 3.9828 norm = 1.41553 Prefactor = 0.000100001 Prefactor = 16.8987 Prefactor = 3.20189 norm = 0.617649 norm = 10.789 Prefactor = 0.809217 norm = 1.039 Prefactor = 0.695904 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.58692 Prefactor = 2.41089 norm = 1.2922 norm = 1.96658 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.75657 Prefactor = 0.484112 Normalizat = 1.01951 Prefactor = 0.983835 ********** ** 18 **HESSE ********** FCN= 137564.8 FROM HESSE STATUS=OK 540 CALLS 2778 TOTAL EDM= .28E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.759 8.7960 .30540E-02 -1.5052 2 Prefactor 16.362 4.8468 .24753E-02 -1.4899 3 norm 2.0754 .97164 .71672E-02 -1.5420 4 Prefactor .10002E-03 3.1104 .17327 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 3.9828 2.2346 .50527E-02 -1.5309 6 norm 1.4155 .57272 .90970E-02 -1.5470 7 Prefactor .10000E-03 4.1746 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 16.899 9.1516 .24363E-02 -1.4886 9 Prefactor 3.2019 2.1122 .56613E-02 -1.5350 10 norm .61765 .23476 .18923E-01 -1.5551 11 norm 10.789 1.5574 .30497E-02 -1.5051 12 Prefactor .80922 .95815 .12474E-01 -1.5528 13 norm 1.0390 1.3477 .12302E-01 -1.5504 14 Prefactor .69590 .68411 .77942E-01 -1.5541 15 Prefactor .10000E-03 2.7983 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 2.4957 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 1.5869 .58232 .84243E-02 -1.5456 18 Prefactor 2.4109 1.6364 .65909E-02 -1.5397 19 norm 1.2922 1.5932 .97379E-02 -1.5481 20 norm 1.9666 .35841 .73931E-02 -1.5427 21 Prefactor .10000E-03 1.2487 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 1.2710 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 4.7566 4.8511 .46080E-02 -1.5272 24 Prefactor .48411 .60121 .82771E-01 -1.5569 25 Normalizat 1.0195 .96901E-01 .14190 -.92380 26 Prefactor .98384 .19481E-01 .32067E-01 -.93270 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.77754e-05 Minuit parameter uncertainties: 1 8.79701 2 4.8469 3 0.971646 4 0.000441185 5 2.23461 6 0.572721 7 0.00010492 8 9.15235 9 2.11229 10 0.234758 11 1.55741 12 0.95817 13 1.3477 14 0.68412 15 2.72256e-05 16 2.31823e-05 17 0.582323 18 1.63647 19 1.59327 20 0.35841 21 1.45126e-05 22 9.42723e-06 23 4.8515 24 0.601216 25 0.0969175 26 0.0194815 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 137564.779504 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 8.092e-01 9.582e-01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.838e-01 1.948e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.020e+00 9.692e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.92 Ra Dec: 77.351 10.201 Photon Flux Upper Limit: 4.36e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.37e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/291393/likelihoodResults_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.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) = 137563.631387 delta logL = 1.14811658391 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 137563.629399 delta logL = 1.15010538156 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .50692 1.0000 .10000E-03 10000. 2 'Index ' 3.3604 1.0000 .0000 10.000 3 'Normalizat' .98777 1.0000 .10000E-01 10.000 4 'Prefactor ' .98713 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+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= 137563.6 FROM MIGRAD STATUS=FAILED 93 CALLS 266 TOTAL EDM= .28E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .50579 8.1238 .14311E-03 -.29106E-02 2 Index 3.3615 3.7121 .12091E-01 .56824E-02 3 Normalizat .98777 .82108E-01 .63912E-03 -.20947E-03 4 Prefactor .98713 .18522E-01 .14149E-03 -.64538E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 137563.6 FROM SIMPLEX STATUS=UNCHANGED 84 CALLS 350 TOTAL EDM= .80E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .50579 8.1238 .39032E-04 -.29106E-02 2 Index 3.3615 3.7121 .57124E-03 .56824E-02 3 Normalizat .98777 .82108E-01 .56127E-04 -.20947E-03 4 Prefactor .98713 .18522E-01 .14701E-04 -.64538E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 137563.6 FROM MIGRAD STATUS=CONVERGED 30 CALLS 380 TOTAL EDM= .24E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .50577 .77673 .57246E-05 -.38638E-02 2 Index 3.3615 .81475 .24182E-02 -.23439E-03 3 Normalizat .98777 .91442E-01 .25565E-04 -.23053E-03 4 Prefactor .98713 .19870E-01 .56595E-05 -.73280E-03 ERR DEF= .500 Final values: Prefactor = 0.505774 Index = 3.36149 Normalizat = 0.987768 Prefactor = 0.987131 ********** ** 18 **HESSE ********** FCN= 137563.6 FROM HESSE STATUS=OK 23 CALLS 403 TOTAL EDM= .25E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .50577 .66384 .11449E-05 -1.5566 2 Index 3.3615 .69648 .96729E-04 -.33387 3 Normalizat .98777 .91303E-01 .51129E-05 -.93441 4 Prefactor .98713 .19828E-01 .11319E-05 -.93160 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.48789e-10 Minuit parameter uncertainties: 1 0.663854 2 0.699032 3 0.0913179 4 0.0198279 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/291393': 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) = 137563.629397 delta logL = 1.1501068933 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 5.058e-01 6.639e-01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 3.361e+00 6.990e-01 0.000e+00 1.000e+01 (-1.000e+00) 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.871e-01 1.983e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 9.878e-01 9.132e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.50 Ra Dec: 77.351 10.201 Photon Index (Free Index): 3.36 +/- 0.70 Photon Flux (Free Index): 4.25e-08 +/- 2.54e-08 Energy Flux (Free Index): 7.35e-06 +/- 4.41e-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/291393/cmap_HighResolution_537667201_540259201_4FGL_J0509.4+1012_monthly_bin116.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/291393 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', comment='SUCCESS', energy_flux2='7.35e-06', dlogl='1.15e+00', photon_flux2='4.25e-08', job_status='DONE', time_completed='2021-10-14 05:50:09.749792', photon_index_error2='0.70', photon_index2='3.36', ts='0.92', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='4.36e-08', energy_flux_error2='4.41e-06', EG='1.02', time_epoch_completed='1634215809.75', return_code='0', job_id='291393', GAL2='0.99', EG2='0.99', return_code2='0', photon_flux_error2='2.54e-08', ts2='3.50', photon_index='2.41' WHERE bin_id='116' AND source_name='4FGL J0509.4+1012' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Oct 14 05:50:09 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 291393: <4FGL_J0509.4+1012_monthly_bin116> in cluster Done Job <4FGL_J0509.4+1012_monthly_bin116> was submitted from host by user in cluster at Thu Oct 14 02:45:15 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Oct 14 02:45:17 2021 was used as the home directory. was used as the working directory. Started at Thu Oct 14 02:45:17 2021 Terminated at Thu Oct 14 05:50:10 2021 Results reported at Thu Oct 14 05:50:10 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+1012_monthly_bin116 77.351 10.2008 537667201 540259201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+1012 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 10768.47 sec. Max Memory : 1271 MB Average Memory : 503.18 MB Total Requested Memory : - Delta Memory : - Max Swap : 2963 MB Max Processes : 6 Max Threads : 21 Run time : 11123 sec. Turnaround time : 11095 sec. The output (if any) is above this job summary.