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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. 'Matplotlib is building the font cache using fc-list. ' /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 80 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 = 17310 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0202.7+4204_weekly_bin274 RA = 30.6862, Dec = 42.0714 tmin = 404697601, tmax = 405302401 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='326760', job_status='RUN', time_executed='2021-07-04 06:21:56.864916', time_epoch_executed='1625404916.86' WHERE source_name='4FGL J0202.7+4204' and cadence='weekly' and bin_id='274' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/326760 Creating custom pfile directory: /scratch/kocevski/326760/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=404697601.0 && nMetStart<405302401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=404697601.0 && nMetStart<405302401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/326760/ft1_4FGL_J0202.7+4204_weekly_bin274.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=404697601.0 && nMetStart<405302401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/326760/ft1_4FGL_J0202.7+4204_weekly_bin274.fits outfile=/scratch/kocevski/326760/ft1_filteredMKT_4FGL_J0202.7+4204_weekly_bin274.fits ra=30.6862 dec=42.0714 rad=12.0 tmin=404697601.0 tmax=405302401.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 12.63 user 9.75 sys 0.38 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.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/326760/ft1_filteredMKT_4FGL_J0202.7+4204_weekly_bin274.fits evtable="EVENTS" outfile="/scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.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 1.78 user 0.41 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.fits" evtable="EVENTS" scfile=/scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits sctable="SC_DATA" outfile=/scratch/kocevski/326760/ltcube_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.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/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits .....................! real 35.92 user 34.17 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.fits evtable="EVENTS" scfile=/scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits sctable="SC_DATA" expcube=/scratch/kocevski/326760/ltcube_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.fits outfile=/scratch/kocevski/326760/expmap_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.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/326760/ltcube_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.fits .....................! real 199.64 user 185.75 sys 5.84 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 HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Added 176 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 J0202.7+4204 @ 30.6862 42.0714 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.fits scfile=/scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits outfile=/scratch/kocevski/326760/cmap_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.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=30.6862 yref=42.0714 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.97 user 0.42 sys 0.19 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.fits scfile=/scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits outfile=/scratch/kocevski/326760/cmap_HighResolution_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.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=30.6862 yref=42.0714 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.92 user 0.41 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.fits evtable="EVENTS" scfile=/scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326760/Model_4FGL_J0202.7+4204_weekly_bin274.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 HB 3 adding source W 3 Working on... /scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.fits....................! real 222.81 user 214.61 sys 1.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.fits', '/scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits', expMap='/scratch/kocevski/326760/expmap_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.fits', expCube='/scratch/kocevski/326760/ltcube_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/326760/Model_4FGL_J0202.7+4204_weekly_bin274.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0202.7+4204' 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 4.935e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.173e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/326760/ft1_filtered_4FGL_J0202.7+4204_weekly_bin274.fits Spacecraft file(s): /scratch/kocevski/326760/ft2_4FGL_J0202.7+4204_weekly_bin274.fits Exposure map: /scratch/kocevski/326760/expmap_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.fits Exposure cube: /scratch/kocevski/326760/ltcube_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/326760/Model_4FGL_J0202.7+4204_weekly_bin274.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) = 20630.7491758 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20630.6879846 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.2095 1.0000 .10000E-03 10000. 2 'Prefactor ' 25.513 1.0000 .10000E-03 10000. 3 'Prefactor ' .10117E-03 1.0000 .10000E-03 10000. 4 'norm ' 9.7180 1.0000 .10000E-03 10000. 5 'Prefactor ' 21.738 1.0000 .10000E-03 10000. 6 'Prefactor ' .20443E-02 1.0000 .10000E-03 10000. 7 'norm ' 1.5471 1.0000 .10000E-03 10000. 8 'norm ' 1.2523 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.2521 1.0000 .10000E-03 10000. 10 'Prefactor ' .14510 1.0000 .10000E-03 10000. 11 'Prefactor ' 12.497 1.0000 .10000E-03 10000. 12 'Prefactor ' .12450E-03 1.0000 .10000E-03 10000. 13 'norm ' 3.8255 1.0000 .10000E-03 10000. 14 'Prefactor ' 5.1159 1.0000 .10000E-03 10000. 15 'norm ' 3.4116 1.0000 .10000E-03 10000. 16 'Prefactor ' 6.7943 1.0000 .10000E-03 10000. 17 'norm ' .34102 1.0000 .10000E-03 10000. 18 'norm ' .83420 1.0000 .10000E-03 10000. 19 'Prefactor ' 8.9036 1.0000 .10000E-03 10000. 20 'norm ' .43745E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 22 'norm ' 4.5112 1.0000 .10000E-03 10000. 23 'Normalizat' 1.2066 1.0000 .10000E-01 10.000 24 'Prefactor ' .86272 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 20630.69 FROM MIGRAD STATUS=CONVERGED 569 CALLS 3185 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.2059 5.5106 .99865E-07 -.60492E-03 2 Prefactor 25.515 14.396 -.10659E-05 .22422E-05 3 Prefactor .10000E-03 10.427 .24599E-07** at limit ** 4 norm 9.7191 2.8688 .26894E-07 .50831E-05 5 Prefactor 21.741 17.728 -.16707E-05 .81185E-06 6 Prefactor .10004E-03 11.536 -.41222E-06** at limit ** 7 norm 1.5471 .65962 -.13233E-08 .15799E-03 8 norm 1.2524 .55281 .29144E-07 .11088E-03 9 Prefactor 3.2509 7.4085 -.49735E-06 .36617E-04 10 Prefactor .14368 .77060 -.17516E-06 .55508E-03 11 Prefactor 12.511 12.529 -.45413E-05 -.23274E-04 12 Prefactor .10000E-03 26.703 -.69216E-06** at limit ** 13 norm 3.8243 1.5063 .53836E-07 -.22729E-02 14 Prefactor 5.1166 5.7120 .32115E-06 .36515E-04 15 norm 3.4111 1.9720 .35478E-08 .77192E-04 16 Prefactor 6.8055 7.0342 -.15329E-06 .50756E-05 17 norm .34156 .29293 .16279E-08 .14900E-03 18 norm .83423 .22690 -.52218E-08 .45297E-03 19 Prefactor 8.8990 5.1312 -.91804E-07 .23057E-03 20 norm .10000E-03 2.5871 -.16465E-06** at limit ** 21 Prefactor .10000E-03 9.3859 .10313E-06** at limit ** 22 norm 4.5126 3.2991 -.35848E-07 -.11541E-04 23 Normalizat 1.2066 .14578 .79744E-06 .13929E-03 24 Prefactor .86265 .55241E-01 -.15912E-07 .31991E-03 ERR DEF= .500 Final values: Prefactor = 6.20591 Prefactor = 25.5151 Prefactor = 0.0001 norm = 9.71911 Prefactor = 21.7411 Prefactor = 0.000100038 norm = 1.5471 norm = 1.25236 Prefactor = 3.25087 Prefactor = 0.143679 Prefactor = 12.5105 Prefactor = 0.0001 norm = 3.82427 Prefactor = 5.11656 norm = 3.41105 Prefactor = 6.80548 norm = 0.341556 norm = 0.834231 Prefactor = 8.899 norm = 0.000100001 Prefactor = 0.0001 norm = 4.51259 Normalizat = 1.20659 Prefactor = 0.862654 ********** ** 18 **HESSE ********** FCN= 20630.69 FROM HESSE STATUS=OK 425 CALLS 3610 TOTAL EDM= .38E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.2059 5.8508 .80549E-03 -1.5210 2 Prefactor 25.515 14.411 .79308E-04 -1.4697 3 Prefactor .10000E-03 10.433 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 9.7191 2.8686 .12731E-03 -1.5084 5 Prefactor 21.741 17.684 .85909E-04 -1.4775 6 Prefactor .10004E-03 11.835 .15475 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.5471 .66559 .74237E-04 -1.5459 8 norm 1.2524 .54545 .66018E-04 -1.5484 9 Prefactor 3.2509 7.4885 .22459E-03 -1.5347 10 Prefactor .14368 10.320 .22675E-02 -1.5632 11 Prefactor 12.511 12.529 .11331E-03 -1.5000 12 Prefactor .10000E-03 26.842 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 3.8243 3.4881 .10318E-02 -1.5317 14 Prefactor 5.1166 5.9519 .17775E-03 -1.5256 15 norm 3.4111 1.9459 .14109E-03 -1.5339 16 Prefactor 6.8055 7.0078 .15393E-03 -1.5186 17 norm .34156 .27005 .66063E-03 -1.5591 18 norm .83423 .22669 .34152E-04 -1.5525 19 Prefactor 8.8990 4.6777 .13433E-03 -1.5111 20 norm .10000E-03 12.482 .39762E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 9.3994 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 4.5126 3.3034 .18955E-03 -1.5283 23 Normalizat 1.2066 .16860 .35819E-03 -.86399 24 Prefactor .86265 .63238E-01 .17433E-03 -.97459 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.84697e-09 Minuit parameter uncertainties: 1 5.85135 2 14.4129 3 8.40098e-07 4 2.86863 5 17.6886 6 0.00133958 7 0.665589 8 0.545449 9 7.49065 10 2.43494 11 12.5315 12 6.47559e-06 13 3.48825 14 5.95262 15 1.94593 16 7.00862 17 0.270054 18 0.226686 19 4.67789 20 0.000236474 21 9.39609e-07 22 3.3035 23 0.168681 24 0.0632434 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20630.6879577 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.000e-04 6.476e-06 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.173e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 587 Prefactor: 8.627e-01 6.324e-02 0.000e+00 1.000e+01 ( 1.000e+00) 588 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 589 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 586 Normalization: 1.207e+00 1.687e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 30.686 42.071 Photon Flux Upper Limit: 4.01e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.05e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/326760/likelihoodResults_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.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) = 20630.6881352 delta logL = -0.000177490532224 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 20630.6879575 delta logL = 1.34547008201e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10669E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.2298 1.0000 .0000 10.000 3 'Normalizat' 1.2066 1.0000 .10000E-01 10.000 4 'Prefactor ' .86266 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5980E+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= 20630.69 FROM MIGRAD STATUS=CONVERGED 97 CALLS 256 TOTAL EDM= .96E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10003E-03 975.36 .18142E-02** at limit ** 2 Index 2.3083 8.2114 .50000 -.26475E-04 3 Normalizat 1.2066 .18450E-01 .35819E-03 .13584E-04 4 Prefactor .86265 .77858E-02 .17433E-03 -.13042E-05 ERR DEF= .500 Final values: Prefactor = 0.000100035 Index = 2.30829 Normalizat = 1.20659 Prefactor = 0.862654 ********** ** 18 **HESSE ********** FCN= 20630.69 FROM HESSE STATUS=NOT POSDEF 29 CALLS 285 TOTAL EDM= .41E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10003E-03 6768.2 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.3083 8.3206 .50000 -.56847 3 Normalizat 1.2066 .40849E-01 .14327E-04 -.86399 4 Prefactor .86265 .17238E-01 .69734E-05 -.97459 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.13544e-10 Minuit parameter uncertainties: 1 0.0237116 2 41.1542 3 0.0408503 4 0.0172382 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/326760': 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) = 20630.687957 delta logL = 7.04538251739e-07 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.000e-04 2.371e-02 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.308e+00 4.115e+01 0.000e+00 1.000e+01 (-1.000e+00) 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 587 Prefactor: 8.627e-01 1.724e-02 0.000e+00 1.000e+01 ( 1.000e+00) 588 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 589 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 586 Normalization: 1.207e+00 4.085e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 30.686 42.071 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/326760/cmap_HighResolution_404697601_405302401_4FGL_J0202.7+4204_weekly_bin274.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/326760 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.05e-03', job_status='DONE', photon_flux_upper_limit='4.01e-08', time_completed='2021-07-04 06:58:56.742894', job_id='326760', GAL2='0.86', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1625407136.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='7.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='274' AND source_name='4FGL J0202.7+4204' AND cadence='weekly'; Database successfully updated. Analysis Complete. Sun Jul 4 06:58:56 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 326562: <4FGL_J0202.7+4204_weekly_bin274> in cluster Done Job <4FGL_J0202.7+4204_weekly_bin274> was submitted from host by user in cluster at Sun Jul 4 06:16:09 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Jul 4 06:16:14 2021 was used as the home directory. was used as the working directory. Started at Sun Jul 4 06:16:14 2021 Terminated at Sun Jul 4 06:58:57 2021 Results reported at Sun Jul 4 06:58:57 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0202.7+4204_weekly_bin274 30.6862 42.0714 404697601 405302401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0202.7+4204 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1843.00 sec. Max Memory : 1258 MB Average Memory : 281.08 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2562 sec. Turnaround time : 2568 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 326760: <4FGL_J0202.7+4204_weekly_bin274> in cluster Done Job <4FGL_J0202.7+4204_weekly_bin274> was submitted from host by user in cluster at Sun Jul 4 06:16:22 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Jul 4 06:16:33 2021 was used as the home directory. was used as the working directory. Started at Sun Jul 4 06:16:33 2021 Terminated at Sun Jul 4 06:59:03 2021 Results reported at Sun Jul 4 06:59:03 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0202.7+4204_weekly_bin274 30.6862 42.0714 404697601 405302401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0202.7+4204 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1839.83 sec. Max Memory : 1100 MB Average Memory : 274.99 MB Total Requested Memory : - Delta Memory : - Max Swap : 3409 MB Max Processes : 6 Max Threads : 21 Run time : 2549 sec. Turnaround time : 2561 sec. The output (if any) is above this job summary.