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 4 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 = 17024 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+0542_weekly_bin610 RA = 77.3593, Dec = 5.7014 tmin = 607910401, tmax = 608515201 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='850727', job_status='RUN', time_executed='2021-07-08 00:06:10.695815', time_epoch_executed='1625727970.7' WHERE source_name='4FGL J0509.4+0542' and cadence='weekly' and bin_id='610' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/850727 Creating custom pfile directory: /scratch/kocevski/850727/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=607910401.0 && nMetStart<608515201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=607910401.0 && nMetStart<608515201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/850727/ft1_4FGL_J0509.4+0542_weekly_bin610.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=607910401.0 && nMetStart<608515201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/850727/ft1_4FGL_J0509.4+0542_weekly_bin610.fits outfile=/scratch/kocevski/850727/ft1_filteredMKT_4FGL_J0509.4+0542_weekly_bin610.fits ra=77.3593 dec=5.7014 rad=12.0 tmin=607910401.0 tmax=608515201.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 8.22 user 7.87 sys 0.30 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.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/850727/ft1_filteredMKT_4FGL_J0509.4+0542_weekly_bin610.fits evtable="EVENTS" outfile="/scratch/kocevski/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.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.37 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.fits" evtable="EVENTS" scfile=/scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits sctable="SC_DATA" outfile=/scratch/kocevski/850727/ltcube_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.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/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits .....................! real 29.02 user 28.46 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.fits evtable="EVENTS" scfile=/scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits sctable="SC_DATA" expcube=/scratch/kocevski/850727/ltcube_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.fits outfile=/scratch/kocevski/850727/expmap_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.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/850727/ltcube_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.fits .....................! real 193.36 user 187.35 sys 5.42 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/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.fits scfile=/scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits outfile=/scratch/kocevski/850727/cmap_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.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.58 user 0.39 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.fits scfile=/scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits outfile=/scratch/kocevski/850727/cmap_HighResolution_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.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.59 user 0.42 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.fits evtable="EVENTS" scfile=/scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850727/Model_4FGL_J0509.4+0542_weekly_bin610.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/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.fits.....................! real 504.05 user 501.56 sys 1.26 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.fits', '/scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits', expMap='/scratch/kocevski/850727/expmap_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.fits', expCube='/scratch/kocevski/850727/ltcube_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/850727/Model_4FGL_J0509.4+0542_weekly_bin610.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/850727/ft1_filtered_4FGL_J0509.4+0542_weekly_bin610.fits Spacecraft file(s): /scratch/kocevski/850727/ft2_4FGL_J0509.4+0542_weekly_bin610.fits Exposure map: /scratch/kocevski/850727/expmap_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.fits Exposure cube: /scratch/kocevski/850727/ltcube_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/850727/Model_4FGL_J0509.4+0542_weekly_bin610.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) = 27866.1665075 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27866.0564609 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 12.979 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'norm ' 3.9438 1.0000 .10000E-03 10000. 4 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 5 'norm ' 3.6920 1.0000 .10000E-03 10000. 6 'Prefactor ' .12795E-03 1.0000 .10000E-03 10000. 7 'norm ' .10019E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 11.545 1.0000 .10000E-03 10000. 9 'norm ' 4.4078 1.0000 .10000E-03 10000. 10 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .63222 1.0000 .10000E-03 10000. 12 'norm ' .90100E-01 1.0000 .10000E-03 10000. 13 'Prefactor ' .10023E-03 1.0000 .10000E-03 10000. 14 'norm ' 3.1854 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.3765 1.0000 .10000E-03 10000. 16 'Prefactor ' 3.9300 1.0000 .10000E-03 10000. 17 'norm ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10055E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 5.0778 1.0000 .10000E-03 10000. 20 'Prefactor ' .54060 1.0000 .10000E-03 10000. 21 'norm ' 14.994 1.0000 .10000E-03 10000. 22 'norm ' .97204 1.0000 .10000E-03 10000. 23 'Prefactor ' 7.0175 1.0000 .10000E-03 10000. 24 'Prefactor ' .10650E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 26 'norm ' 12.486 1.0000 .10000E-03 10000. 27 'norm ' .90766E-03 1.0000 .10000E-03 10000. 28 'Normalizat' .99422 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0872 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= 27866.06 FROM MIGRAD STATUS=CONVERGED 736 CALLS 3248 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 12.978 16.797 -.68700E-07 .48061E-04 2 Prefactor .10000E-03 7.8268 .40376E-05** at limit ** 3 norm 3.9439 1.8792 .19362E-07 .21602E-03 4 Prefactor .10000E-03 16.762 -.23697E-05** at limit ** 5 norm 3.6917 1.6802 .23043E-08 -.15914E-03 6 Prefactor .10001E-03 1.4654 -.53987E-06** at limit ** 7 norm .10000E-03 .35175 .63616E-07** at limit ** 8 Prefactor 11.548 14.665 -.16160E-06 .50337E-04 9 norm 4.4075 1.5771 .22427E-08 -.56145E-04 10 Prefactor .10000E-03 4.2492 -.44993E-07** at limit ** 11 Prefactor .63316 3.1295 .23704E-06 -.59531E-03 12 norm .90003E-01 .19985 .21861E-07 -.16376E-02 13 Prefactor .10000E-03 11.731 -.16076E-05** at limit ** 14 norm 3.1859 2.3633 -.25392E-07 -.27070E-03 15 Prefactor 1.3768 1.8061 .35174E-07 -.49280E-03 16 Prefactor 3.9302 2.7223 -.18179E-07 -.12887E-03 17 norm .10000E-03 5.5523 .67351E-06** at limit ** 18 Prefactor .10000E-03 47.078 -.14667E-05** at limit ** 19 Prefactor 5.0714 18.659 -.35774E-05 -.10577E-03 20 Prefactor .54013 3.2188 .48246E-06 -.54253E-03 21 norm 14.994 4.6484 .78696E-07 -.80650E-03 22 norm .97166 .73959 .22799E-07 -.43784E-03 23 Prefactor 7.0232 14.673 -.79462E-06 -.10589E-03 24 Prefactor .10000E-03 17.277 .32556E-05** at limit ** 25 Prefactor .10000E-03 1.0608 .11931E-07** at limit ** 26 norm 12.499 12.810 -.15447E-05 .55549E-04 27 norm .10007E-03 1.7402 -.77091E-06** at limit ** 28 Normalizat .99433 .18698 .44779E-08 .15623E-03 29 Prefactor 1.0872 .43454E-01 .89373E-07 .55785E-03 ERR DEF= .500 Final values: Prefactor = 12.9783 Prefactor = 0.000100002 norm = 3.94391 Prefactor = 0.000100001 norm = 3.69165 Prefactor = 0.00010001 norm = 0.0001 Prefactor = 11.5476 norm = 4.40749 Prefactor = 0.0001 Prefactor = 0.633165 norm = 0.0900032 Prefactor = 0.0001 norm = 3.18586 Prefactor = 1.37682 Prefactor = 3.93021 norm = 0.0001 Prefactor = 0.0001 Prefactor = 5.07142 Prefactor = 0.540126 norm = 14.9935 norm = 0.97166 Prefactor = 7.02321 Prefactor = 0.000100001 Prefactor = 0.0001 norm = 12.4991 norm = 0.00010007 Normalizat = 0.994333 Prefactor = 1.08717 ********** ** 18 **HESSE ********** FCN= 27866.06 FROM HESSE STATUS=OK 571 CALLS 3819 TOTAL EDM= .12E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 12.978 16.711 .11118E-03 -1.4987 2 Prefactor .10000E-03 7.8591 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 3.9439 1.8637 .13575E-03 -1.5311 4 Prefactor .10000E-03 16.828 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.6917 1.6874 .13783E-03 -1.5324 6 Prefactor .10001E-03 7.4521 .37010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .10000E-03 .60397 .18993E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 11.548 14.572 .11790E-03 -1.5028 9 norm 4.4075 1.5778 .11913E-03 -1.5288 10 Prefactor .10000E-03 4.2525 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .63316 4.6132 .47197E-03 -1.5549 12 norm .90003E-01 .23122 .10205E-02 -1.5648 13 Prefactor .10000E-03 11.808 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 3.1859 2.2927 .19963E-03 -1.5351 15 Prefactor 1.3768 1.8076 .24736E-03 -1.5473 16 Prefactor 3.9302 2.7223 .20350E-03 -1.5311 17 norm .10000E-03 5.5567 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 47.424 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 5.0714 18.616 .17843E-03 -1.5258 20 Prefactor .54013 4.7540 .45742E-03 -1.5561 21 norm 14.994 4.8147 .51718E-03 -1.4933 22 norm .97166 .63975 .11580E-02 -1.5511 23 Prefactor 7.0232 14.386 .15144E-03 -1.5178 24 Prefactor .10000E-03 17.471 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10000E-03 1.0728 .16780E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm 12.499 12.161 .11336E-03 -1.5001 27 norm .10007E-03 8.3919 .38348E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .99433 .19293 .58612E-03 -.93221 29 Prefactor 1.0872 .46499E-01 .14423E-03 -.89878 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.17584e-07 Minuit parameter uncertainties: 1 16.7171 2 0.000219597 3 1.8637 4 0.000185526 5 1.68738 6 0.000535368 7 1.53632e-06 8 14.5768 9 1.57782 10 6.05115e-07 11 3.41823 12 0.231222 13 0.000106126 14 2.29274 15 1.80771 16 2.72236 17 3.07123e-05 18 0.00020208 19 18.6375 20 3.2049 21 4.81486 22 0.639751 23 14.3934 24 0.000282999 25 2.08293e-07 26 12.1637 27 0.00153091 28 0.193064 29 0.0465006 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27866.0564101 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 3.186e+00 2.293e+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 GAL_V02 Spectrum: PowerLaw 499 Prefactor: 1.087e+00 4.650e-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: 9.943e-01 1.931e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.09 Ra Dec: 77.359 5.701 Photon Index (Fixed Index): 2.00 +/- 0.00 Photon Flux (Fixed Index): 3.16e-08 +/- 2.28e-08 Energy Flux (Fixed Index): 2.02e-05 +/- 1.46e-05 TS (Fixed Index): 3.09 Ra Dec: 77.359 5.701 Photon Flux Upper Limit: 7.74e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.95e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/850727/likelihoodResults_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.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) = 27864.6795696 delta logL = 1.37684053018 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 27864.6394895 delta logL = 1.41692060568 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.2998 1.0000 .10000E-03 10000. 2 'alpha ' 3.2029 1.0000 .0000 5.0000 3 'Normalizat' .90597 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0995 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. FCN= 27864.64 FROM MIGRAD STATUS=CONVERGED 54 CALLS 258 TOTAL EDM= .11E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.2972 5.9840 .96908E-02 .28351E-02 2 alpha 3.2041 1.8140 .30066 .28573E-03 3 Normalizat .90604 .52897E-01 .13769 .11336E-03 4 Prefactor 1.0995 .12801E-01 .37606E-01 -.61666E-04 ERR DEF= .500 Final values: norm = 1.29717 alpha = 3.20413 Normalizat = 0.90604 Prefactor = 1.09948 ********** ** 18 **HESSE ********** FCN= 27864.64 FROM HESSE STATUS=NOT POSDEF 33 CALLS 291 TOTAL EDM= .39E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.2972 13.897 .86145E-04 -1.5480 2 alpha 3.2041 4.0744 .15074E-01 .28551 3 Normalizat .90604 .21943 .61134E-03 -.96248 4 Prefactor 1.0995 .49117E-01 .14350E-03 -.89483 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.8809e-06 Minuit parameter uncertainties: 1 8.49364 2 3.94745 3 0.219648 4 0.0491187 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/850727': 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) = 27864.6394883 delta logL = 1.41692183717 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 1.297e+00 8.494e+00 1.000e-04 1.000e+04 ( 1.000e-12) 204 alpha: 3.204e+00 3.947e+00 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.099e+00 4.912e-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: 9.060e-01 2.196e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 6.33 Ra Dec: 77.359 5.701 Photon Index (Free Index): 3.20 +/- 3.95 Photon Flux (Free Index): 9.71e-08 +/- 1.00e-07 Energy Flux (Free Index): 1.86e-05 +/- 1.49e-05 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/850727/cmap_HighResolution_607910401_608515201_4FGL_J0509.4+0542_weekly_bin610.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/850727 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.95e-05', comment='SUCCESS', photon_flux='3.16e-08', energy_flux2='1.86e-05', photon_flux_error='2.28e-08', dlogl='1.42e+00', energy_flux='2.02e-05', photon_flux2='9.71e-08', job_status='DONE', time_completed='2021-07-08 00:48:21.767954', photon_index_error2='3.95', photon_index2='3.20', ts='3.09', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='7.74e-08', energy_flux_error2='1.49e-05', EG='0.99', time_epoch_completed='1625730501.77', return_code='0', job_id='850727', GAL2='1.10', EG2='0.91', return_code2='102', energy_flux_error='1.46e-05', photon_flux_error2='1.00e-07', ts2='6.33', photon_index='2.00' WHERE bin_id='610' AND source_name='4FGL J0509.4+0542' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 8 00:48:21 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 850727: <4FGL_J0509.4+0542_weekly_bin610> in cluster Done Job <4FGL_J0509.4+0542_weekly_bin610> was submitted from host by user in cluster at Thu Jul 8 00:05:25 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Jul 8 00:05:50 2021 was used as the home directory. was used as the working directory. Started at Thu Jul 8 00:05:50 2021 Terminated at Thu Jul 8 00:48:22 2021 Results reported at Thu Jul 8 00:48:22 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+0542_weekly_bin610 77.3593 5.7014 607910401 608515201 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 : 2516.00 sec. Max Memory : 621 MB Average Memory : 371.90 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2552 sec. Turnaround time : 2577 sec. The output (if any) is above this job summary.