/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 111 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 = 7642 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1567 RA = 75.6341, Dec = 13.6685 tmin = 645494401, tmax = 645753601 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='929246', job_status='RUN', time_executed='2021-08-21 18:24:42.234697', time_epoch_executed='1629595482.23' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1567' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/929246 Creating custom pfile directory: /scratch/kocevski/929246/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=645494401.0 && nMetStart<645753601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=645494401.0 && nMetStart<645753601.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/929246/ft1_4FGL_J0502.5+1340_daily_bin1567.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=645494401.0 && nMetStart<645753601.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/929246/ft1_4FGL_J0502.5+1340_daily_bin1567.fits outfile=/scratch/kocevski/929246/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1567.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=645494401.0 tmax=645753601.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 9.49 user 2.35 sys 7.11 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.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/929246/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1567.fits evtable="EVENTS" outfile="/scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.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 8.19 user 0.33 sys 7.81 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.fits" evtable="EVENTS" scfile=/scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits sctable="SC_DATA" outfile=/scratch/kocevski/929246/ltcube_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.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/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits .....................! real 27.66 user 18.65 sys 8.93 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.fits evtable="EVENTS" scfile=/scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits sctable="SC_DATA" expcube=/scratch/kocevski/929246/ltcube_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.fits outfile=/scratch/kocevski/929246/expmap_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.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/929246/ltcube_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.fits .....................! real 199.92 user 185.03 sys 14.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 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. Added 161 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.fits scfile=/scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits outfile=/scratch/kocevski/929246/cmap_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.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=75.6341 yref=13.6685 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 8.12 user 0.37 sys 7.69 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.fits scfile=/scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits outfile=/scratch/kocevski/929246/cmap_HighResolution_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.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=75.6341 yref=13.6685 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 8.08 user 0.38 sys 7.66 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.fits evtable="EVENTS" scfile=/scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/929246/Model_4FGL_J0502.5+1340_daily_bin1567.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 S 147 Working on... /scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.fits.......................! real 54.24 user 42.85 sys 11.13 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.fits', '/scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits', expMap='/scratch/kocevski/929246/expmap_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.fits', expCube='/scratch/kocevski/929246/ltcube_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/929246/Model_4FGL_J0502.5+1340_daily_bin1567.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/929246/ft1_filtered_4FGL_J0502.5+1340_daily_bin1567.fits Spacecraft file(s): /scratch/kocevski/929246/ft2_4FGL_J0502.5+1340_daily_bin1567.fits Exposure map: /scratch/kocevski/929246/expmap_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.fits Exposure cube: /scratch/kocevski/929246/ltcube_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/929246/Model_4FGL_J0502.5+1340_daily_bin1567.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 1522.23458616 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1521.91377973 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10610E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10035E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 4 'norm ' 17.294 1.0000 .10000E-03 10000. 5 'Prefactor ' 48.601 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'norm ' 1.5315 1.0000 .10000E-03 10000. 8 'Prefactor ' 275.24 1.0000 .10000E-03 10000. 9 'Prefactor ' 6.7219 1.0000 .10000E-03 10000. 10 'Prefactor ' 290.12 1.0000 .10000E-03 10000. 11 'norm ' .10007E-03 1.0000 .10000E-03 10000. 12 'norm ' 8.0045 1.0000 .10000E-03 10000. 13 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 14 'norm ' .10000E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .26610E-02 1.0000 .10000E-03 10000. 17 'norm ' 426.85 1.0000 .10000E-03 10000. 18 'Prefactor ' 9999.9 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' 3.4014 1.0000 .10000E-03 10000. 21 'Prefactor ' 10000.0 1.0000 .10000E-03 10000. 22 'norm ' 9999.9 1.0000 .10000E-03 10000. 23 'Prefactor ' 10000.0 1.0000 .10000E-03 10000. 24 'Prefactor ' .11448E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' 293.35 1.0000 .10000E-03 10000. 26 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 28 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 29 'Prefactor ' .63080 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= 1521.914 FROM MIGRAD STATUS=CONVERGED 211 CALLS 3853 TOTAL EDM= .25E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11742E-03 160.55 .0000 ** at limit ** 2 Prefactor .10026E-03 57.509 .0000 ** at limit ** 3 Prefactor .10000E-03 15.483 .0000 ** at limit ** 4 norm 17.298 8.4893 .0000 -.25573E-02 5 Prefactor 48.662 11.087 .0000 -.13392E-02 6 Prefactor .10000E-03 12.121 .0000 ** at limit ** 7 norm 1.5326 12.099 .0000 .29558E-03 8 Prefactor 275.14 18.670 .0000 .86189E-02 9 Prefactor 6.7060 2.5316 .0000 -.75623E-03 10 Prefactor 290.16 7.8388 .0000 -.39803E-02 11 norm .10000E-03 1.3635 .0000 ** at limit ** 12 norm 8.0133 2.1410 .0000 -.19378E-02 13 Prefactor .10000E-03 18.481 .0000 ** at limit ** 14 norm .10011E-03 28.566 .0000 ** at limit ** 15 Prefactor .10024E-03 29.530 .0000 ** at limit ** 16 Prefactor .25962E-03 78.526 .0000 ** at limit ** 17 norm 426.85 1.0085 .0000 -.97868E-04 18 Prefactor 10000.0 667.98 .0000 -.18998E-02 19 norm .10068E-03 44.636 .0000 ** at limit ** 20 norm 3.3936 6.1166 .0000 -.30413E-03 21 Prefactor 10000.0 206.04 .0000 ** at limit ** 22 norm 9999.9 37.629 .0000 -.59730E-03 23 Prefactor 10000.0 75.553 .0000 ** at limit ** 24 Prefactor .32840E-03 315.25 .0000 ** at limit ** 25 Prefactor 293.36 2.1085 .0000 -.14025E-02 26 Prefactor .90959E-03 319.40 .0000 ** at limit ** 27 Prefactor .10029E-03 37.902 .0000 ** at limit ** 28 Normalizat .10000E-01 .21487 .0000 ** at limit ** 29 Prefactor .63083 .10840 .0000 -.66422E-04 ERR DEF= .500 Final values: Prefactor = 0.000117422 Prefactor = 0.000100255 Prefactor = 0.0001 norm = 17.2983 Prefactor = 48.6621 Prefactor = 0.0001 norm = 1.53265 Prefactor = 275.138 Prefactor = 6.70595 Prefactor = 290.161 norm = 0.0001 norm = 8.01331 Prefactor = 0.0001 norm = 0.000100111 Prefactor = 0.000100239 Prefactor = 0.000259617 norm = 426.853 Prefactor = 9999.96 norm = 0.000100675 norm = 3.39363 Prefactor = 10000 norm = 9999.93 Prefactor = 10000 Prefactor = 0.000328404 Prefactor = 293.361 Prefactor = 0.000909594 Prefactor = 0.000100293 Normalizat = 0.01 Prefactor = 0.630831 ********** ** 18 **HESSE ********** FCN= 1521.914 FROM HESSE STATUS=OK 597 CALLS 4450 TOTAL EDM= .16E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .11742E-03 162.54 .90712E-02 -1.5709 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10026E-03 57.579 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 15.485 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 17.298 8.8186 .24078E-02 -1.4876 5 Prefactor 48.662 102.82 .14380E-02 -1.4312 6 Prefactor .10000E-03 12.110 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.5326 14.399 .86213E-02 -1.5460 8 Prefactor 275.14 228.02 .61123E-03 -1.2375 9 Prefactor 6.7060 1184.0 .38691E-02 -1.5190 10 Prefactor 290.16 135.99 .59581E-03 -1.2284 11 norm .10000E-03 1.3535 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 8.0133 10.518 .35429E-02 -1.5142 13 Prefactor .10000E-03 18.515 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10011E-03 28.696 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10024E-03 29.692 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .25962E-03 571.52 .99774E-02 -1.5710 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 426.85 1952.5 .49469E-03 -1.1546 18 Prefactor 10000.0 7305.5 .96113E-02 1.5666 19 norm .10068E-03 44.770 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 3.3936 6.7059 .54841E-02 -1.5340 21 Prefactor 10000.0 229.16 .90712E-02 1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 9999.9 9970.4 .94543E-02 1.5655 23 Prefactor 10000.0 2026.1 .98298E-02 1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .32840E-03 1030.7 .90712E-02 -1.5711 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 293.36 229.99 .59261E-03 -1.2265 26 Prefactor .90959E-03 682.24 .90712E-02 -1.5714 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .10029E-03 38.055 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .10000E-01 .20647 .25362 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .63083 .11598 .41472E-01 -1.0630 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.62673e-05 Minuit parameter uncertainties: 1 0.106722 2 0.00767108 3 6.06346e-05 4 8.8193 5 103.195 6 5.53259e-05 7 9.39827 8 228.761 9 181.996 10 136.135 11 1.21437e-05 12 10.5206 13 5.92231e-06 14 0.00357761 15 0.00532577 16 0.609974 17 1941.75 18 31.3418 19 0.0110066 20 6.70743 21 0.303652 22 79.2144 23 0.800827 24 0.987886 25 230.71 26 1.50384 27 0.00668252 28 1.16769e-06 29 0.116029 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1521.91376725 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 2.902e+02 1.361e+02 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 6.308e-01 1.160e-01 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.000e-02 1.168e-06 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 10.28 Ra Dec: 75.634 13.668 Photon Index (Fixed Index): 2.23 +/- 0.00 Photon Flux (Fixed Index): 1.65e-06 +/- 7.74e-07 Energy Flux (Fixed Index): 7.00e-04 +/- 3.29e-04 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) = 1521.89195047 delta logL = 0.0218167827229 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 1521.89176238 delta logL = 0.0220048754529 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 262.64 1.0000 .10000E-03 10000. 2 'Index ' 2.3063 1.0000 .0000 10.000 3 'Normalizat' .10001E-01 1.0000 .10000E-01 10.000 4 'Prefactor ' .62992 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. FCN= 1521.892 FROM MIGRAD STATUS=CONVERGED 82 CALLS 273 TOTAL EDM= .10E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 262.76 176.92 .12506E-03 .84312E-05 2 Index 2.3065 .36607 .10147E-02 .10669E-04 3 Normalizat .10000E-01 .21177 .10422E-01** at limit ** 4 Prefactor .62985 .10107 .15120E-03 .21997E-03 ERR DEF= .500 Final values: Prefactor = 262.759 Index = 2.30653 Normalizat = 0.01 Prefactor = 0.629849 ********** ** 18 **HESSE ********** FCN= 1521.892 FROM HESSE STATUS=OK 25 CALLS 298 TOTAL EDM= .10E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 262.76 174.62 .50026E-05 -1.2452 2 Index 2.3065 .36127 .40587E-04 -.56889 3 Normalizat .10000E-01 .21179 .20844E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .62985 .10107 .30240E-04 -1.0634 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.96381e-11 Minuit parameter uncertainties: 1 174.965 2 0.361712 3 1.83987e-06 4 0.101098 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/929246': 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) = 1521.89175793 delta logL = 0.0220093242206 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 2.628e+02 1.750e+02 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.307e+00 3.617e-01 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 6.298e-01 1.011e-01 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.000e-02 1.840e-06 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 10.36 Ra Dec: 75.634 13.668 Photon Index (Free Index): 2.31 +/- 0.36 Photon Flux (Free Index): 1.76e-06 +/- 9.10e-07 Energy Flux (Free Index): 6.58e-04 +/- 3.41e-04 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/929246/cmap_HighResolution_645494401_645753601_4FGL_J0502.5+1340_daily_bin1567.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/929246 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.65e-06', energy_flux2='6.58e-04', photon_flux_error='7.74e-07', dlogl='2.20e-02', energy_flux='7.00e-04', photon_flux2='1.76e-06', job_status='DONE', time_completed='2021-08-21 18:33:46.609321', photon_index_error2='0.36', photon_index2='2.31', ts='10.28', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='3.41e-04', EG='0.01', time_epoch_completed='1629596026.61', return_code='0', job_id='929246', GAL2='0.63', EG2='0.01', return_code2='0', energy_flux_error='3.29e-04', photon_flux_error2='9.10e-07', ts2='10.36', photon_index='2.23' WHERE bin_id='1567' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 21 18:33:46 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 929246: <4FGL_J0502.5+1340_daily_bin1567> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1567> was submitted from host by user in cluster at Sat Aug 21 18:20:37 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 21 18:20:39 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 21 18:20:39 2021 Terminated at Sat Aug 21 18:33:48 2021 Results reported at Sat Aug 21 18:33:48 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1567 75.6341 13.6685 645494401 645753601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 663.00 sec. Max Memory : 1256 MB Average Memory : 264.86 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 788 sec. Turnaround time : 791 sec. The output (if any) is above this job summary.