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 11 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 = 17281 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+0542_weekly_bin671 RA = 77.3593, Dec = 5.7014 tmin = 644803201, tmax = 645408001 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='852094', job_status='RUN', time_executed='2021-07-08 00:12:45.624422', time_epoch_executed='1625728365.62' WHERE source_name='4FGL J0509.4+0542' and cadence='weekly' and bin_id='671' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/852094 Creating custom pfile directory: /scratch/kocevski/852094/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=644803201.0 && nMetStart<645408001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=644803201.0 && nMetStart<645408001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/852094/ft1_4FGL_J0509.4+0542_weekly_bin671.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=644803201.0 && nMetStart<645408001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/852094/ft1_4FGL_J0509.4+0542_weekly_bin671.fits outfile=/scratch/kocevski/852094/ft1_filteredMKT_4FGL_J0509.4+0542_weekly_bin671.fits ra=77.3593 dec=5.7014 rad=12.0 tmin=644803201.0 tmax=645408001.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 6.06 user 5.78 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.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/852094/ft1_filteredMKT_4FGL_J0509.4+0542_weekly_bin671.fits evtable="EVENTS" outfile="/scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.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.55 user 0.38 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.fits" evtable="EVENTS" scfile=/scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits sctable="SC_DATA" outfile=/scratch/kocevski/852094/ltcube_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.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/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits .....................! real 30.08 user 29.67 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.fits evtable="EVENTS" scfile=/scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits sctable="SC_DATA" expcube=/scratch/kocevski/852094/ltcube_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.fits outfile=/scratch/kocevski/852094/expmap_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.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/852094/ltcube_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.fits .....................! real 191.92 user 186.41 sys 4.95 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 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 147 point sources and 1 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+0542 @ 77.3593 5.7014 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.fits scfile=/scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits outfile=/scratch/kocevski/852094/cmap_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.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.3593 yref=5.7014 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.41 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.fits scfile=/scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits outfile=/scratch/kocevski/852094/cmap_HighResolution_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.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.3593 yref=5.7014 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.60 user 0.42 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.fits evtable="EVENTS" scfile=/scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/852094/Model_4FGL_J0509.4+0542_weekly_bin671.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 Rosette Working on... /scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.fits.....................! real 80.57 user 78.92 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.fits', '/scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits', expMap='/scratch/kocevski/852094/expmap_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.fits', expCube='/scratch/kocevski/852094/ltcube_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/852094/Model_4FGL_J0509.4+0542_weekly_bin671.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+0542' 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 7.518e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 204 alpha: 1.996e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 205 beta: 5.199e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/852094/ft1_filtered_4FGL_J0509.4+0542_weekly_bin671.fits Spacecraft file(s): /scratch/kocevski/852094/ft2_4FGL_J0509.4+0542_weekly_bin671.fits Exposure map: /scratch/kocevski/852094/expmap_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.fits Exposure cube: /scratch/kocevski/852094/ltcube_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/852094/Model_4FGL_J0509.4+0542_weekly_bin671.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) = 3641.53445872 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3641.43976347 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 22.961 1.0000 .10000E-03 10000. 2 'Prefactor ' .10073E-03 1.0000 .10000E-03 10000. 3 'norm ' 18.838 1.0000 .10000E-03 10000. 4 'Prefactor ' .21953E-02 1.0000 .10000E-03 10000. 5 'norm ' .92647 1.0000 .10000E-03 10000. 6 'Prefactor ' .10049E-03 1.0000 .10000E-03 10000. 7 'norm ' .10044E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .12324E-03 1.0000 .10000E-03 10000. 9 'norm ' 2.2242 1.0000 .10000E-03 10000. 10 'Prefactor ' .10274E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10203E-03 1.0000 .10000E-03 10000. 12 'norm ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 79.466 1.0000 .10000E-03 10000. 14 'norm ' 26.024 1.0000 .10000E-03 10000. 15 'Prefactor ' 52.059 1.0000 .10000E-03 10000. 16 'Prefactor ' .10475E-03 1.0000 .10000E-03 10000. 17 'norm ' 56.469 1.0000 .10000E-03 10000. 18 'Prefactor ' .88705E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 5.7482 1.0000 .10000E-03 10000. 21 'norm ' .10052E-03 1.0000 .10000E-03 10000. 22 'norm ' 4.9125 1.0000 .10000E-03 10000. 23 'Prefactor ' .10274E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 1.9649 1.0000 .10000E-03 10000. 25 'Prefactor ' .10045E-03 1.0000 .10000E-03 10000. 26 'norm ' .10858E-03 1.0000 .10000E-03 10000. 27 'norm ' 10.736 1.0000 .10000E-03 10000. 28 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0441 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5060E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 3641.440 FROM MIGRAD STATUS=CONVERGED 711 CALLS 3700 TOTAL EDM= .42E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 22.744 114.20 .67938E-06 .51327E-04 2 Prefactor .10000E-03 28.132 -.26184E-06** at limit ** 3 norm 18.847 15.855 -.25841E-06 .46964E-03 4 Prefactor .10000E-03 688.76 .19143E-05** at limit ** 5 norm .92519 3.5796 .17895E-05 .22484E-03 6 Prefactor .10000E-03 23.891 .76516E-06** at limit ** 7 norm .10000E-03 14.135 .29177E-06** at limit ** 8 Prefactor .10000E-03 109.93 .34511E-06** at limit ** 9 norm 2.2241 2.9453 .12792E-06 .45837E-03 10 Prefactor .10000E-03 79.176 .19346E-06** at limit ** 11 Prefactor .10000E-03 292.99 .30692E-06** at limit ** 12 norm .10000E-03 1.5896 .13763E-06** at limit ** 13 Prefactor 79.446 50.425 .42665E-06 .23317E-03 14 norm 26.019 18.456 -.59373E-07 .12998E-03 15 Prefactor 52.118 63.828 -.42170E-06 .78940E-04 16 Prefactor .10000E-03 345.88 -.25809E-06** at limit ** 17 norm 56.442 69.317 .45666E-06 .14125E-03 18 Prefactor .10000E-03 8921.6 -.29758E-05** at limit ** 19 Prefactor .10000E-03 53.491 .42190E-07** at limit ** 20 Prefactor 5.7479 14.396 -.20896E-08 .13913E-03 21 norm .10000E-03 57.629 -.98032E-06** at limit ** 22 norm 4.9128 5.1598 .35277E-06 .12785E-03 23 Prefactor .10000E-03 122.59 -.33801E-05** at limit ** 24 Prefactor 1.8167 6249.6 -.27266E-04 .11612E-04 25 Prefactor .10000E-03 58.483 -.81148E-06** at limit ** 26 norm .10000E-03 72.091 -.56100E-06** at limit ** 27 norm 10.736 12.767 -.21646E-06 .15362E-03 28 Normalizat .10000E-01 .11248 -.16071E-04** at limit ** 29 Prefactor 1.0440 .91009E-01 .93079E-06 .93440E-03 ERR DEF= .500 Final values: Prefactor = 22.7439 Prefactor = 0.0001 norm = 18.8469 Prefactor = 0.000100004 norm = 0.925193 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 2.22408 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 79.4463 norm = 26.0193 Prefactor = 52.1181 Prefactor = 0.0001 norm = 56.4421 Prefactor = 0.000100002 Prefactor = 0.0001 Prefactor = 5.74793 norm = 0.0001 norm = 4.91277 Prefactor = 0.000100004 Prefactor = 1.81673 Prefactor = 0.0001 norm = 0.0001 norm = 10.7361 Normalizat = 0.01 Prefactor = 1.04402 ********** ** 18 **HESSE ********** FCN= 3641.440 FROM HESSE STATUS=OK 541 CALLS 4241 TOTAL EDM= .10E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 22.744 114.88 .83592E-04 -1.4754 2 Prefactor .10000E-03 28.138 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 18.847 15.819 .92279E-04 -1.4839 4 Prefactor .10000E-03 690.34 .20143E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .92519 3.6560 .21269E-03 -1.5516 6 Prefactor .10000E-03 23.881 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .10000E-03 14.163 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 109.93 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.2241 2.9174 .10963E-03 -1.5410 10 Prefactor .10000E-03 79.185 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 293.02 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10000E-03 1.6128 .14715E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 79.446 50.372 .45052E-04 -1.3923 14 norm 26.019 18.295 .78527E-04 -1.4687 15 Prefactor 52.118 63.789 .55586E-04 -1.4263 16 Prefactor .10000E-03 345.91 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 56.442 69.686 .53383E-04 -1.4204 18 Prefactor .10000E-03 8922.4 .20839E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 53.630 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 5.7479 14.462 .16753E-03 -1.5228 21 norm .10000E-03 57.638 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 4.9128 5.1373 .65826E-03 -1.5265 23 Prefactor .10000E-03 121.89 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 1.8167 6332.9 .29588E-02 -1.5438 25 Prefactor .10000E-03 58.880 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .10000E-03 72.220 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm 10.736 12.824 .12227E-03 -1.5053 28 Normalizat .10000E-01 .14640 .11876E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor 1.0440 .94756E-01 .14235E-03 -.91276 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.00996e-09 Minuit parameter uncertainties: 1 102.545 2 2.72335e-05 3 15.8225 4 0.00355908 5 3.65689 6 0.000106022 7 3.25905e-05 8 0.000177309 9 2.91757 10 0.000123426 11 0.000553812 12 4.54785e-06 13 50.3987 14 18.2987 15 63.8731 16 0.000236198 17 69.7868 18 0.0107903 19 9.3769e-05 20 14.4712 21 0.000322169 22 5.13777 23 0.00139332 24 149.926 25 0.000308027 26 0.000142763 27 12.827 28 3.89477e-06 29 0.0947711 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3641.43975595 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 2.602e+01 1.830e+01 1.000e-04 1.000e+04 ( 1.000e-12) 204 alpha: 1.996e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 205 beta: 5.199e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 1.044e+00 9.477e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 498 Normalization: 1.000e-02 3.895e-06 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.74 Ra Dec: 77.359 5.701 Photon Index (Fixed Index): 2.00 +/- 0.00 Photon Flux (Fixed Index): 2.58e-07 +/- 1.82e-07 Energy Flux (Fixed Index): 1.65e-04 +/- 1.16e-04 TS (Fixed Index): 3.74 Ra Dec: 77.359 5.701 Photon Flux Upper Limit: 6.83e-07 ph cm-2 s-1 Energy Flux Upper Limit: 4.37e-04 MeV cm-2 s-1 Saving results to: /scratch/kocevski/852094/likelihoodResults_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 3641.4372375 delta logL = 0.00251845029788 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 3641.43702434 delta logL = 0.00273160644201 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 25.639 1.0000 .10000E-03 10000. 2 'alpha ' 2.0407 1.0000 .0000 5.0000 3 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0438 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5060E+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= 3641.437 FROM MIGRAD STATUS=CONVERGED 79 CALLS 256 TOTAL EDM= .31E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 25.638 18.926 .79114E-04 .32335E-03 2 alpha 2.0407 .60981 .12183E-01 .47079E-04 3 Normalizat .10000E-01 .14584 .11862E-01** at limit ** 4 Prefactor 1.0438 .74378E-01 .14236E-03 .19446E-04 ERR DEF= .500 Final values: norm = 25.6381 alpha = 2.04072 Normalizat = 0.01 Prefactor = 1.04376 ********** ** 18 **HESSE ********** FCN= 3641.437 FROM HESSE STATUS=OK 23 CALLS 279 TOTAL EDM= .31E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 25.638 18.743 .15823E-04 -1.4695 2 alpha 2.0407 .60411 .48732E-03 -.18476 3 Normalizat .10000E-01 .14588 .23724E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 1.0438 .74371E-01 .56942E-05 -.91285 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.079e-10 Minuit parameter uncertainties: 1 18.747 2 0.610365 3 3.26229e-06 4 0.0743788 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/852094': 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) = 3641.43702432 delta logL = 0.00273162226995 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 2.564e+01 1.875e+01 1.000e-04 1.000e+04 ( 1.000e-12) 204 alpha: 2.041e+00 6.104e-01 0.000e+00 5.000e+00 ( 1.000e+00) 205 beta: 5.199e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 1.044e+00 7.438e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 498 Normalization: 1.000e-02 3.262e-06 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.74 Ra Dec: 77.359 5.701 Photon Index (Free Index): 2.04 +/- 0.61 Photon Flux (Free Index): 2.70e-07 +/- 2.49e-07 Energy Flux (Free Index): 1.58e-04 +/- 1.43e-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/852094/cmap_HighResolution_644803201_645408001_4FGL_J0509.4+0542_weekly_bin671.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/852094 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-04', comment='SUCCESS', photon_flux='2.58e-07', energy_flux2='1.58e-04', photon_flux_error='1.82e-07', dlogl='2.73e-03', energy_flux='1.65e-04', photon_flux2='2.70e-07', job_status='DONE', time_completed='2021-07-08 00:23:12.058818', photon_index_error2='0.61', photon_index2='2.04', ts='3.74', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='6.83e-07', energy_flux_error2='1.43e-04', EG='0.01', time_epoch_completed='1625728992.06', return_code='0', job_id='852094', GAL2='1.04', EG2='0.01', return_code2='0', energy_flux_error='1.16e-04', photon_flux_error2='2.49e-07', ts2='3.74', photon_index='2.00' WHERE bin_id='671' AND source_name='4FGL J0509.4+0542' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 8 00:23:12 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 852094: <4FGL_J0509.4+0542_weekly_bin671> in cluster Done Job <4FGL_J0509.4+0542_weekly_bin671> was submitted from host by user in cluster at Thu Jul 8 00:10:35 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Jul 8 00:12:21 2021 was used as the home directory. was used as the working directory. Started at Thu Jul 8 00:12:21 2021 Terminated at Thu Jul 8 00:23:12 2021 Results reported at Thu Jul 8 00:23:12 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+0542_weekly_bin671 77.3593 5.7014 644803201 645408001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+0542 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 611.00 sec. Max Memory : 781 MB Average Memory : 328.54 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 651 sec. Turnaround time : 757 sec. The output (if any) is above this job summary.