aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189) while getting realm /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 48 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 = 16696 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0502.5+1340_weekly_bin134 RA = 75.6341, Dec = 13.6685 tmin = 320025601, tmax = 320630401 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='799435', job_status='RUN', time_executed='2021-07-07 21:08:43.869587', time_epoch_executed='1625717323.87' WHERE source_name='4FGL J0502.5+1340' and cadence='weekly' and bin_id='134' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/799435 Creating custom pfile directory: /scratch/kocevski/799435/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=320025601.0 && nMetStart<320630401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=320025601.0 && nMetStart<320630401.0' /Data/Flight/Level1/LPA Retrieving 104 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/799435/ft1_4FGL_J0502.5+1340_weekly_bin134.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=320025601.0 && nMetStart<320630401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/799435/ft1_4FGL_J0502.5+1340_weekly_bin134.fits outfile=/scratch/kocevski/799435/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin134.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=320025601.0 tmax=320630401.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 7.38 user 7.00 sys 0.32 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.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/799435/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin134.fits evtable="EVENTS" outfile="/scratch/kocevski/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.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.57 user 0.39 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.fits" evtable="EVENTS" scfile=/scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits sctable="SC_DATA" outfile=/scratch/kocevski/799435/ltcube_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.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/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits .....................! real 32.58 user 31.83 sys 0.40 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/799435/ltcube_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.fits outfile=/scratch/kocevski/799435/expmap_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.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/799435/ltcube_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.fits .....................! real 193.65 user 187.10 sys 5.45 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/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.fits scfile=/scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits outfile=/scratch/kocevski/799435/cmap_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.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 0.61 user 0.42 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.fits scfile=/scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits outfile=/scratch/kocevski/799435/cmap_HighResolution_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.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 0.64 user 0.43 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/799435/Model_4FGL_J0502.5+1340_weekly_bin134.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/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.fits.....................! real 887.39 user 880.49 sys 1.82 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.fits', '/scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits', expMap='/scratch/kocevski/799435/expmap_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.fits', expCube='/scratch/kocevski/799435/ltcube_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/799435/Model_4FGL_J0502.5+1340_weekly_bin134.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/799435/ft1_filtered_4FGL_J0502.5+1340_weekly_bin134.fits Spacecraft file(s): /scratch/kocevski/799435/ft2_4FGL_J0502.5+1340_weekly_bin134.fits Exposure map: /scratch/kocevski/799435/expmap_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.fits Exposure cube: /scratch/kocevski/799435/ltcube_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/799435/Model_4FGL_J0502.5+1340_weekly_bin134.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) = 40994.4292728 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 40994.3649759 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .65439E-01 1.0000 .10000E-03 10000. 2 'Prefactor ' 19.391 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.0252 1.0000 .10000E-03 10000. 4 'norm ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 7 'norm ' 2.1909 1.0000 .10000E-03 10000. 8 'Prefactor ' 52.550 1.0000 .10000E-03 10000. 9 'Prefactor ' 20.077 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.1430 1.0000 .10000E-03 10000. 11 'norm ' .10158E-03 1.0000 .10000E-03 10000. 12 'norm ' 11.644 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'norm ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' 2.7678 1.0000 .10000E-03 10000. 18 'Prefactor ' .10355E-03 1.0000 .10000E-03 10000. 19 'norm ' 5.8763 1.0000 .10000E-03 10000. 20 'norm ' 1.5375 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.1259 1.0000 .10000E-03 10000. 22 'norm ' 8.0849 1.0000 .10000E-03 10000. 23 'Prefactor ' 3.1787 1.0000 .10000E-03 10000. 24 'Prefactor ' 16.143 1.0000 .10000E-03 10000. 25 'Prefactor ' 16.670 1.0000 .10000E-03 10000. 26 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 28 'Normalizat' 1.1297 1.0000 .10000E-01 10.000 29 'Prefactor ' .97989 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= 40994.36 FROM MIGRAD STATUS=CONVERGED 122 CALLS 3225 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11083E-03 443.51 -.89301E-05** at limit ** 2 Prefactor 19.390 1.1087 -.13392E-06 .35411E-03 3 Prefactor 4.0249 1.3520 -.40175E-06 .12155E-02 4 norm .10000E-03 .58023 .15926E-07** at limit ** 5 Prefactor .10000E-03 5.4014 -.26338E-06** at limit ** 6 Prefactor .10000E-03 1.1039 .80955E-07** at limit ** 7 norm 2.1921 1.2922 .66883E-07 -.91996E-04 8 Prefactor 52.547 3.9130 .64997E-06 -.20443E-02 9 Prefactor 20.062 9.3410 .27873E-05 -.58516E-02 10 Prefactor 1.1416 4.4672 -.12061E-04 -.23151E-02 11 norm .10000E-03 .24637 .22089E-07** at limit ** 12 norm 11.642 2.8114 -.48714E-06 -.14315E-02 13 Prefactor .10000E-03 1.6605 -.13193E-06** at limit ** 14 norm .10000E-03 1.5227 .25424E-07** at limit ** 15 Prefactor .10000E-03 1.3359 .81417E-07** at limit ** 16 Prefactor .10000E-03 9.3036 .63593E-06** at limit ** 17 norm 2.7675 1.4408 -.62927E-07 -.12498E-03 18 Prefactor .10001E-03 18.105 -.70893E-06** at limit ** 19 norm 5.8755 3.6356 -.23363E-05 -.34744E-02 20 norm 1.5372 .67852 -.27618E-07 -.34807E-03 21 Prefactor 1.1259 .86177E-01 .22263E-07 -.23615E-02 22 norm 8.0840 1.0526 -.33678E-06 -.22217E-02 23 Prefactor 3.1784 .64770 -.88651E-07 -.18859E-02 24 Prefactor 16.187 5.6953 -.11911E-05 .14756E-01 25 Prefactor 16.616 10.831 .21823E-05 .64851E-03 26 Prefactor .10000E-03 4.2664 .20608E-07** at limit ** 27 Prefactor .10000E-03 1.0752 .25239E-07** at limit ** 28 Normalizat 1.1297 .19404 .60526E-06 -.14719E-03 29 Prefactor .97989 .38210E-01 .40668E-06 -.41990E-03 ERR DEF= .500 Final values: Prefactor = 0.000110828 Prefactor = 19.3901 Prefactor = 4.02488 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.19212 Prefactor = 52.5465 Prefactor = 20.0623 Prefactor = 1.14164 norm = 0.0001 norm = 11.6423 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100001 norm = 2.76752 Prefactor = 0.000100005 norm = 5.87555 norm = 1.5372 Prefactor = 1.12593 norm = 8.08403 Prefactor = 3.17839 Prefactor = 16.1872 Prefactor = 16.6161 Prefactor = 0.0001 Prefactor = 0.0001 Normalizat = 1.12968 Prefactor = 0.979895 ********** ** 18 **HESSE ********** FCN= 40994.36 FROM HESSE STATUS=OK 647 CALLS 3872 TOTAL EDM= .60E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .11083E-03 7.7712 .16365 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 19.390 28.357 .22739E-02 -1.4827 3 Prefactor 4.0249 6.8177 .50249E-02 -1.5307 4 norm .10000E-03 .55601 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 5.3993 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 1.0962 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 2.1921 1.3047 .69511E-02 -1.5412 8 Prefactor 52.547 21.656 .13832E-02 -1.4257 9 Prefactor 20.062 18.705 .22347E-02 -1.4812 10 Prefactor 1.1416 4.5447 .10859E-01 -1.5494 11 norm .10000E-03 .11708 .22932E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 11.642 2.9077 .29350E-02 -1.5025 13 Prefactor .10000E-03 .59996 .52616E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10000E-03 .60324 .60628E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 1.2905 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 9.3191 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 2.7675 1.4407 .61159E-02 -1.5375 18 Prefactor .10001E-03 17.382 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 5.8755 3.6728 .41416E-02 -1.5223 20 norm 1.5372 .69621 .85992E-02 -1.5460 21 Prefactor 1.1259 .98344E-01 .27569E-02 -1.5496 22 norm 8.0840 2.6415 .35251E-02 -1.5139 23 Prefactor 3.1784 .65045 .56824E-02 -1.5351 24 Prefactor 16.187 23.383 .24921E-02 -1.4903 25 Prefactor 16.616 24.626 .24524E-02 -1.4892 26 Prefactor .10000E-03 4.2569 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .10000E-03 1.0585 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat 1.1297 .19417 .15302 -.88805 29 Prefactor .97989 .36211E-01 .33353E-01 -.93403 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.04239e-06 Minuit parameter uncertainties: 1 0.018349 2 28.3767 3 6.81903 4 1.73867e-06 5 6.40822e-05 6 3.93479e-06 7 1.30468 8 21.6597 9 18.71 10 4.54602 11 1.86431e-06 12 2.90774 13 3.01728e-06 14 4.22054e-06 15 4.26061e-06 16 0.000156802 17 1.44073 18 0.000608998 19 3.67298 20 0.696213 21 0.0983444 22 2.64149 23 0.650456 24 23.3962 25 24.6406 26 5.65523e-06 27 2.03614e-06 28 0.194298 29 0.0362117 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 40994.3648937 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.142e+00 4.546e+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 GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.799e-01 3.621e-02 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.130e+00 1.943e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.07 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 6.70e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.11e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/799435/likelihoodResults_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.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) = 40994.1056971 delta logL = 0.259196542043 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 40993.9236568 delta logL = 0.441236919673 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .33769E-03 1.0000 .10000E-03 10000. 2 'Index ' 6.1265 1.0000 .0000 10.000 3 'Normalizat' 1.0791 1.0000 .10000E-01 10.000 4 'Prefactor ' .98605 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= 40993.92 FROM MIGRAD STATUS=FAILED 108 CALLS 381 TOTAL EDM= .17E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .33726E-03 .24627E-01 .37657E-04** at limit ** 2 Index 6.1277 7.4036 .89610E-02 .31603E-02 3 Normalizat 1.0791 .11282 .69419E-03 -.53716E-04 4 Prefactor .98604 .22823E-01 .14697E-03 -.92822E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 40993.92 FROM SIMPLEX STATUS=UNCHANGED 94 CALLS 475 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .33726E-03 .24627E-01 .11899E-04** at limit ** 2 Index 6.1277 7.4036 .36889E-02 .31603E-02 3 Normalizat 1.0791 .11282 .19281E-03 -.53716E-04 4 Prefactor .98604 .22823E-01 .13404E-04 -.92822E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 40993.92 FROM MIGRAD STATUS=CONVERGED 36 CALLS 511 TOTAL EDM= .30E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .33725E-03 .27304E-01 .75314E-05** at limit ** 2 Index 6.1277 7.4987 .17922E-02 .12034E-03 3 Normalizat 1.0791 .16262 .27768E-04 -.20962E-04 4 Prefactor .98604 .32551E-01 .58789E-05 .55693E-04 ERR DEF= .500 Final values: Prefactor = 0.000337254 Index = 6.12766 Normalizat = 1.07913 Prefactor = 0.986037 ********** ** 18 **HESSE ********** FCN= 40993.92 FROM HESSE STATUS=NOT POSDEF 27 CALLS 538 TOTAL EDM= .33E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .33725E-03 .27793E-01 .15063E-05 -1.5705 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 6.1277 7.5142 .35844E-03 .22749 3 Normalizat 1.0791 .18330 .55535E-05 -.90425 4 Prefactor .98604 .36580E-01 .11758E-05 -.93196 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.32501e-12 Minuit parameter uncertainties: 1 0.00513574 2 5.46737 3 0.183405 4 0.0365813 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/799435': 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): 102 logL (Free Index) = 40993.9236548 delta logL = 0.441238860978 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 3.373e-04 5.136e-03 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 6.128e+00 5.467e+00 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: 9.860e-01 3.658e-02 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.079e+00 1.834e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.03 Ra Dec: 75.634 13.668 Photon Index (Free Index): 6.13 +/- 5.47 Photon Flux (Free Index): 4.32e-08 +/- 4.72e-08 Energy Flux (Free Index): 5.35e-06 +/- 6.26e-06 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/799435/cmap_HighResolution_320025601_320630401_4FGL_J0502.5+1340_weekly_bin134.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/799435 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-03', comment='SUCCESS', energy_flux2='5.35e-06', dlogl='4.41e-01', photon_flux2='4.32e-08', job_status='DONE', time_completed='2021-07-07 22:43:21.526836', photon_index_error2='5.47', photon_index2='6.13', ts='0.07', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.70e-08', energy_flux_error2='6.26e-06', EG='1.13', time_epoch_completed='1625723001.53', return_code='0', job_id='799435', GAL2='0.99', EG2='1.08', return_code2='102', photon_flux_error2='4.72e-08', ts2='1.03', photon_index='2.23' WHERE bin_id='134' AND source_name='4FGL J0502.5+1340' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 7 22:43:21 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 799435: <4FGL_J0502.5+1340_weekly_bin134> in cluster Done Job <4FGL_J0502.5+1340_weekly_bin134> was submitted from host by user in cluster at Wed Jul 7 21:05:45 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Jul 7 21:07:47 2021 was used as the home directory. was used as the working directory. Started at Wed Jul 7 21:07:47 2021 Terminated at Wed Jul 7 22:43:22 2021 Results reported at Wed Jul 7 22:43:22 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_weekly_bin134 75.6341 13.6685 320025601 320630401 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 : 4291.72 sec. Max Memory : 1148 MB Average Memory : 341.68 MB Total Requested Memory : - Delta Memory : - Max Swap : 2939 MB Max Processes : 6 Max Threads : 21 Run time : 5734 sec. Turnaround time : 5857 sec. The output (if any) is above this job summary.