aklog: Couldn't determine realm of user:aklog: No credentials cache found 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 2 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 = 74146 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0640.9-5204_monthly_bin168 RA = 100.243, Dec = -52.0719 tmin = 672451201, tmax = 675043201 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='621183', job_status='RUN', time_executed='2022-05-24 02:23:21.942290', time_epoch_executed='1653384201.94' WHERE source_name='4FGL J0640.9-5204' and cadence='monthly' and bin_id='168' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/621183 Creating custom pfile directory: /scratch/kocevski/621183/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=672451201.0 && nMetStart<675043201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=672451201.0 && nMetStart<675043201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/621183/ft1_4FGL_J0640.9-5204_monthly_bin168.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=672451201.0 && nMetStart<675043201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/621183/ft1_4FGL_J0640.9-5204_monthly_bin168.fits outfile=/scratch/kocevski/621183/ft1_filteredMKT_4FGL_J0640.9-5204_monthly_bin168.fits ra=100.243 dec=-52.0719 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.66 user 27.87 sys 0.70 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.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/621183/ft1_filteredMKT_4FGL_J0640.9-5204_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.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.86 user 0.65 sys 0.19 Number of photons that the gtmktime cut: 12399 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/621183/ltcube_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.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/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits .....................! real 121.91 user 121.02 sys 0.46 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/621183/ltcube_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.fits outfile=/scratch/kocevski/621183/expmap_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.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/621183/ltcube_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.fits .....................! real 192.18 user 186.85 sys 4.43 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 LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template. Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-FarWest.fits is the correct path to the extended template. Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-Galaxy.fits is the correct path to the extended template. Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-30DorWest.fits is the correct path to the extended template. Extended source Puppis A in ROI with RadialDisk spatial model. Extended source Vela X in ROI with RadialDisk spatial model. Extended source Vela Junior in ROI with RadialDisk spatial model. Added 218 point sources and 7 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 J0640.9-5204 @ 100.243 -52.0719 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.fits scfile=/scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits outfile=/scratch/kocevski/621183/cmap_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.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=100.243 yref=-52.0719 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.78 user 0.62 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.fits scfile=/scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits outfile=/scratch/kocevski/621183/cmap_HighResolution_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.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=100.243 yref=-52.0719 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.81 user 0.64 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/621183/Model_4FGL_J0640.9-5204_monthly_bin168.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 LMC-30DorWest adding source LMC-FarWest adding source LMC-Galaxy adding source LMC-North adding source Puppis A adding source Vela Junior adding source Vela X Working on... /scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.fits.....................! real 71280.87 user 71065.34 sys 15.79 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.fits', '/scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits', expMap='/scratch/kocevski/621183/expmap_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.fits', expCube='/scratch/kocevski/621183/ltcube_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/621183/Model_4FGL_J0640.9-5204_monthly_bin168.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0640.9-5204' 4FGL J0640.9-5204 Spectrum: PowerLaw 341 Prefactor: 3.882e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-15) 342 Index: 2.029e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 4.415e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/621183/ft1_filtered_4FGL_J0640.9-5204_monthly_bin168.fits Spacecraft file(s): /scratch/kocevski/621183/ft2_4FGL_J0640.9-5204_monthly_bin168.fits Exposure map: /scratch/kocevski/621183/expmap_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.fits Exposure cube: /scratch/kocevski/621183/ltcube_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/621183/Model_4FGL_J0640.9-5204_monthly_bin168.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) = 129206.907573 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 129206.907344 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .59279 1.0000 .10000E-03 10000. 3 'norm ' 14.984 1.0000 .10000E-03 10000. 4 'norm ' 3.7544 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.1794 1.0000 .10000E-03 10000. 6 'Prefactor ' 5.1492 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.9730 1.0000 .10000E-03 10000. 8 'Prefactor ' 8.0708 1.0000 .10000E-03 10000. 9 'Prefactor ' 2.5527 1.0000 .10000E-03 10000. 10 'Prefactor ' 4.8903 1.0000 .10000E-03 10000. 11 'Prefactor ' 2.4956 1.0000 .10000E-03 10000. 12 'Prefactor ' 26.275 1.0000 .10000E-03 10000. 13 'Prefactor ' 31.764 1.0000 .10000E-03 10000. 14 'Prefactor ' .10431E-03 1.0000 .10000E-03 10000. 15 'norm ' 9.5933 1.0000 .10000E-03 10000. 16 'Prefactor ' .10046E-03 1.0000 .10000E-03 10000. 17 'norm ' 2.0335 1.0000 .10000E-03 10000. 18 'norm ' 4.3745 1.0000 .10000E-03 10000. 19 'Prefactor ' .78254 1.0000 .10000E-03 10000. 20 'Prefactor ' .31623E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .11749E-03 1.0000 .10000E-03 10000. 22 'norm ' 1.1975 1.0000 .10000E-03 10000. 23 'Prefactor ' .14583E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 9.7206 1.0000 .10000E-03 10000. 25 'norm ' 2.2818 1.0000 .10000E-03 10000. 26 'Normalizat' 1.0200 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0244 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 129206.9 FROM MIGRAD STATUS=CONVERGED 671 CALLS 3382 TOTAL EDM= .95E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10000E-03 .12219 .0000 ** at limit ** 2 Prefactor .59238 .88103 .0000 .32962E-01 3 norm 14.985 2.3646 .0000 -.18930E-03 4 norm 3.7535 2.2155 .0000 -.13493E-02 5 Prefactor 1.1674 9.8995 .0000 .53671E-01 6 Prefactor 5.1437 2.3845 .0000 .56223E-01 7 Prefactor 2.9729 4.2800 .0000 .25160E-02 8 Prefactor 8.0656 7.6747 .0000 .33633E-02 9 Prefactor 2.5546 2.0241 .0000 .40738E-02 10 Prefactor 4.8915 3.4210 .0000 .12023E-02 11 Prefactor 2.4988 2.3458 .0000 .50516E-01 12 Prefactor 26.379 25.666 .0000 -.44781E-04 13 Prefactor 31.760 5.4944 .0000 .11680E-02 14 Prefactor .10000E-03 2.2160 .0000 ** at limit ** 15 norm 9.5907 2.0707 .0000 .26688E-01 16 Prefactor .10000E-03 .43939 .0000 ** at limit ** 17 norm 2.0353 1.4223 .0000 .25787 18 norm 4.3750 2.9697 .0000 .32704E-02 19 Prefactor .78322 .83990 .0000 .87128E-02 20 Prefactor .10001E-03 18.976 .0000 ** at limit ** 21 Prefactor .10000E-03 4.8269 .0000 ** at limit ** 22 norm 1.1970 1.0466 .0000 .22085E-01 23 Prefactor .10000E-03 .24442 .0000 ** at limit ** 24 Prefactor 9.7176 1.6284 .0000 -.36898E-03 25 norm 2.2828 1.1932 .0000 .92340E-02 26 Normalizat 1.0200 .55588E-01 .0000 .47802E-03 27 Prefactor 1.0244 .24839E-01 .0000 -.26601E-03 ERR DEF= .500 Final values: norm = 0.0001 Prefactor = 0.592384 norm = 14.9851 norm = 3.75349 Prefactor = 1.16736 Prefactor = 5.14375 Prefactor = 2.97294 Prefactor = 8.06563 Prefactor = 2.55465 Prefactor = 4.89149 Prefactor = 2.49875 Prefactor = 26.3795 Prefactor = 31.7599 Prefactor = 0.0001 norm = 9.59071 Prefactor = 0.0001 norm = 2.03526 norm = 4.37496 Prefactor = 0.783218 Prefactor = 0.00010001 Prefactor = 0.0001 norm = 1.19703 Prefactor = 0.0001 Prefactor = 9.71756 norm = 2.28276 Normalizat = 1.02 Prefactor = 1.02441 ********** ** 18 **HESSE ********** FCN= 129206.9 FROM HESSE STATUS=OK 512 CALLS 3894 TOTAL EDM= .32E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .10000E-03 .34906 .24452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .59238 .88498 .37812E-03 -1.5554 3 norm 14.985 2.3493 .10347E-03 -1.4934 4 norm 3.7535 2.2126 .20837E-03 -1.5320 5 Prefactor 1.1674 7.2433 .21058E-02 -1.5492 6 Prefactor 5.1437 2.3721 .88584E-03 -1.5254 7 Prefactor 2.9729 3.6229 .23548E-03 -1.5363 8 Prefactor 8.0656 7.6758 .14113E-03 -1.5140 9 Prefactor 2.5546 2.0061 .25555E-03 -1.5388 10 Prefactor 4.8915 3.4216 .18189E-03 -1.5266 11 Prefactor 2.4988 2.3398 .12936E-02 -1.5392 12 Prefactor 26.379 25.655 .78152E-04 -1.4680 13 Prefactor 31.760 5.4845 .71095E-04 -1.4580 14 Prefactor .10000E-03 2.2382 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 9.5907 2.0689 .64692E-03 -1.5088 16 Prefactor .10000E-03 2.1154 .45992E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 2.0353 1.4037 .14503E-02 -1.5423 18 norm 4.3750 2.9441 .19257E-03 -1.5290 19 Prefactor .78322 1.0050 .31641E-02 -1.5531 20 Prefactor .10001E-03 18.986 .21367E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 4.8890 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 1.1970 1.0235 .31640E-03 -1.5489 23 Prefactor .10000E-03 .45271 .56313E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 9.7176 1.6291 .12853E-03 -1.5084 25 norm 2.2828 1.1814 .26870E-03 -1.5406 26 Normalizat 1.0200 .62361E-01 .36745E-03 -.92364 27 Prefactor 1.0244 .28434E-01 .16980E-03 -.91920 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.23097e-08 Minuit parameter uncertainties: 1 2.66223e-06 2 0.885003 3 2.34936 4 2.21263 5 5.81647 6 2.37211 7 3.62317 8 7.67674 9 2.00611 10 3.42178 11 2.33987 12 25.666 13 5.48458 14 5.35501e-08 15 2.06894 16 1.08399e-05 17 1.40371 18 2.94423 19 1.00499 20 0.000868189 21 5.87899e-06 22 1.02347 23 2.10335e-06 24 1.62913 25 1.18142 26 0.0623651 27 0.0284349 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 129206.907312 Extracting fit parameters... 4FGL J0640.9-5204 Spectrum: PowerLaw 341 Prefactor: 2.638e+01 2.567e+01 1.000e-04 1.000e+04 ( 1.000e-15) 342 Index: 2.029e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 4.415e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 1.024e+00 2.843e-02 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 713 Normalization: 1.020e+00 6.237e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.49 Ra Dec: 100.243 -52.072 Photon Index (Fixed Index): 2.03 +/- 0.00 Photon Flux (Fixed Index): 5.58e-09 +/- 5.43e-09 Energy Flux (Fixed Index): 3.59e-06 +/- 3.50e-06 TS (Fixed Index): 1.49 Ra Dec: 100.243 -52.072 Photon Flux Upper Limit: 1.70e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.28e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/621183/likelihoodResults_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.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) = 129205.464255 delta logL = 1.44305709199 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 129205.458144 delta logL = 1.44916789647 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.3408 1.0000 .10000E-03 10000. 2 'Index ' 2.9509 1.0000 .0000 10.000 3 'Normalizat' .99832 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0294 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 129205.5 FROM MIGRAD STATUS=FAILED 108 CALLS 314 TOTAL EDM= .11E-03 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3365 78.204 .79700E-03 .11228E-02 2 Index 2.9511 2.2568 .10084E-01 .20360E-01 3 Normalizat .99831 .47002E-01 .37093E-03 -.36289E-04 4 Prefactor 1.0294 .19486E-01 .16942E-03 .28990E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 129205.5 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 396 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3365 78.204 .21487E-03 .11228E-02 2 Index 2.9511 2.2568 .74765E-03 .20360E-01 3 Normalizat .99831 .47002E-01 .82039E-04 -.36289E-04 4 Prefactor 1.0294 .19486E-01 .35975E-04 .28990E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 129205.5 FROM MIGRAD STATUS=CONVERGED 68 CALLS 464 TOTAL EDM= .79E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3365 11.903 .63760E-05 -.62763E-04 2 Index 2.9511 .63267 .40337E-03 -.31566E-05 3 Normalizat .99831 .59910E-01 .29674E-05 -.36779E-04 4 Prefactor 1.0294 .27215E-01 .13553E-05 .26842E-04 ERR DEF= .500 Final values: Prefactor = 6.33649 Index = 2.9511 Normalizat = 0.998315 Prefactor = 1.02944 ********** ** 18 **HESSE ********** FCN= 129205.5 FROM HESSE STATUS=OK 23 CALLS 487 TOTAL EDM= .55E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.3365 11.016 .12752E-05 -1.5204 2 Index 2.9511 .58531 .16135E-04 -.42221 3 Normalizat .99831 .59316E-01 .59349E-06 -.93087 4 Prefactor 1.0294 .26905E-01 .27106E-06 -.91755 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.54537e-12 Minuit parameter uncertainties: 1 11.0192 2 0.586925 3 0.0593203 4 0.0269055 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/621183': 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) = 129205.458144 delta logL = 1.44916798198 Extracting fit parameters... 4FGL J0640.9-5204 Spectrum: PowerLaw 341 Prefactor: 6.336e+00 1.102e+01 1.000e-04 1.000e+04 ( 1.000e-15) 342 Index: 2.951e+00 5.869e-01 0.000e+00 1.000e+01 (-1.000e+00) 343 Scale: 4.415e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 1.029e+00 2.691e-02 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 713 Normalization: 9.983e-01 5.932e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.52 Ra Dec: 100.243 -52.072 Photon Index (Free Index): 2.95 +/- 0.59 Photon Flux (Free Index): 2.33e-08 +/- 1.35e-08 Energy Flux (Free Index): 4.76e-06 +/- 2.48e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/621183/cmap_HighResolution_672451201_675043201_4FGL_J0640.9-5204_monthly_bin168.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/621183 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-03', comment='SUCCESS', photon_flux='5.58e-09', energy_flux2='4.76e-06', photon_flux_error='5.43e-09', dlogl='1.45e+00', energy_flux='3.59e-06', photon_flux2='2.33e-08', job_status='DONE', time_completed='2022-05-25 01:49:32.354591', photon_index_error2='0.59', photon_index2='2.95', ts='1.49', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.70e-08', energy_flux_error2='2.48e-06', EG='1.02', time_epoch_completed='1653468572.35', return_code='0', job_id='621183', GAL2='1.03', EG2='1.00', return_code2='0', energy_flux_error='3.50e-06', photon_flux_error2='1.35e-08', ts2='4.52', photon_index='2.03' WHERE bin_id='168' AND source_name='4FGL J0640.9-5204' AND cadence='monthly'; Database successfully updated. Analysis Complete. Wed May 25 01:49:32 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 621183: <4FGL_J0640.9-5204_monthly_bin168> in cluster Done Job <4FGL_J0640.9-5204_monthly_bin168> was submitted from host by user in cluster at Tue May 24 02:20:41 2022 Job was executed on host(s) , in queue , as user in cluster at Tue May 24 02:23:11 2022 was used as the home directory. was used as the working directory. Started at Tue May 24 02:23:11 2022 Terminated at Wed May 25 01:49:33 2022 Results reported at Wed May 25 01:49:33 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0640.9-5204_monthly_bin168 100.243 -52.0719 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0640.9-5204 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 84155.00 sec. Max Memory : 757 MB Average Memory : 630.38 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 84382 sec. Turnaround time : 84532 sec. The output (if any) is above this job summary.