! Started logfile: .//J1731-3003_X_20180722_dfm.log on Wed Aug 8 14:55:22 2018 float field_size field_size = 1024 float field_cell field_cell = 0.2000 float taper_size taper_size = 70.0 float freq freq = 7.39200 obs .//J1731-3003_X_20180722_uva.fits ! Reading UV FITS file: .//J1731-3003_X_20180722_uva.fits ! AN table 1: 93 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.996416 visibilities/baseline/integration-bin. ! Found source: J1731-3003 ! ! There are 8 IFs, and a total of 8 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 7.392e+09 3.2e+07 1 3.2e+07 ! 02 2 7.424e+09 3.2e+07 1 3.2e+07 ! 03 3 7.456e+09 3.2e+07 1 3.2e+07 ! 04 4 7.552e+09 3.2e+07 1 3.2e+07 ! 05 5 7.744e+09 3.2e+07 1 3.2e+07 ! 06 6 7.776e+09 3.2e+07 1 3.2e+07 ! 07 7 7.808e+09 3.2e+07 1 3.2e+07 ! 08 8 7.84e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 85 lines of history. ! ! Reading 26688 visibilities. select rr, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 ! Restricting channel ranges to the available 8 channels. ! Selecting polarization: RR, channels: 1..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: 5..5 ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 print "field_size =", field_size ! field_size = 1024 print "field_cell =", field_cell ! field_cell = 0.2 print "taper_size =", taper_size ! taper_size = 70 ![@/opt64/bin/pima_mupet_01.dfm J1731-3003_X] float lim_self lim_self = 120.0 float lim_val lim_va = 1.2 integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 120 float soltime2 soltime2 = 20 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float time_av time_av = 16 float old_peak float new_peak float flux_cutoff print "===============================================================" ! =============================================================== ! print "=== Difmap script: pima_mupet_01.dvm version of 2016.05.19 === " ! === Difmap script: pima_mupet_01.dvm version of 2016.05.19 === ! mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.200x0.200 milli-arcsec cellsize. startmod ! Applying default point source starting model. ! Performing phase self-cal ! Adding 1 model components to the UV plane model. ! The established model now contains 1 components and 1 Jy ! ! Correcting IF 1. ! A total of 94 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 94 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 94 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 94 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 94 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 94 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.001670Jy sigma=14.935182 ! Fit after self-cal, rms=0.960729Jy sigma=14.283415 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.6343 mas, bmaj=1.915 mas, bpa=-6.114 degrees ! Estimated noise=0.798719 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (0, 0). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0257083 Jy ! Component: 100 - total flux cleaned = 0.0368368 Jy ! Total flux subtracted in 100 components = 0.0368368 Jy ! Clean residual min=-0.004001 max=0.006245 Jy/beam ! Clean residual mean=0.000008 rms=0.001250 Jy/beam ! Combined flux in latest and established models = 0.0368368 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 23 components and 0.0368368 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.058555Jy sigma=0.720806 ! Fit after self-cal, rms=0.057543Jy sigma=0.706292 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00856734 Jy ! Component: 100 - total flux cleaned = 0.0144334 Jy ! Total flux subtracted in 100 components = 0.0144334 Jy ! Clean residual min=-0.002786 max=0.003751 Jy/beam ! Clean residual mean=0.000005 rms=0.000871 Jy/beam ! Combined flux in latest and established models = 0.0512703 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 31 components and 0.0512703 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.055274Jy sigma=0.657233 ! Fit after self-cal, rms=0.055242Jy sigma=0.656896 ! Inverting map print "============== Finished uniform weighting clean ===============" ! ============== Finished uniform weighting clean =============== ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.802 mas, bmaj=2.212 mas, bpa=-4.074 degrees ! Estimated noise=0.332251 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00763213 Jy ! Component: 100 - total flux cleaned = 0.0115057 Jy ! Component: 150 - total flux cleaned = 0.0135663 Jy ! Component: 200 - total flux cleaned = 0.0146928 Jy ! Total flux subtracted in 200 components = 0.0146928 Jy ! Clean residual min=-0.002411 max=0.004352 Jy/beam ! Clean residual mean=0.000006 rms=0.000763 Jy/beam ! Combined flux in latest and established models = 0.0659631 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 51 components and 0.0659631 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054432Jy sigma=0.635667 ! Fit after self-cal, rms=0.054408Jy sigma=0.635165 ! Inverting map ! Added new window around map position (1.4, 1.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00385662 Jy ! Component: 100 - total flux cleaned = 0.00576296 Jy ! Component: 150 - total flux cleaned = 0.00673642 Jy ! Component: 200 - total flux cleaned = 0.00686668 Jy ! Total flux subtracted in 200 components = 0.00686668 Jy ! Clean residual min=-0.002021 max=0.003517 Jy/beam ! Clean residual mean=0.000003 rms=0.000525 Jy/beam ! Combined flux in latest and established models = 0.0728298 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 71 components and 0.0728298 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054131Jy sigma=0.630355 ! Fit after self-cal, rms=0.054020Jy sigma=0.629245 ! Inverting map print "============== Finished natural weighting clean ==============" ! ============== Finished natural weighting clean ============== ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.802 x 2.212 at -4.074 degrees (North through East) ! Clean map min=-0.0019649 max=0.039436 Jy/beam gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.00* HN 1.02 KP 0.96 ! MK 1.16 NL 1.20 OV 0.97 PT 1.06 ! SC 1.05 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 1.00* HN 1.11 KP 1.03 ! MK 1.01 NL 1.08 OV 0.93 PT 1.02 ! SC 1.06 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.92 FD 1.00* HN 0.94 KP 1.01 ! MK 0.98 NL 1.21 OV 0.94 PT 1.02 ! SC 1.06 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.93 FD 1.00* HN 1.04 KP 1.03 ! MK 0.94 NL 1.09 OV 0.94 PT 1.05 ! SC 1.05 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 1.00* HN 0.98 KP 0.97 ! MK 1.00 NL 1.10 OV 0.95 PT 1.02 ! SC 0.99 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 0.92 FD 1.03 HN 1.04 KP 0.99 ! MK 1.15 NL 1.12 OV 0.97 PT 1.02 ! SC 1.04 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.93 FD 1.00* HN 0.96 KP 1.03 ! MK 0.95 NL 1.16 OV 0.90 PT 1.03 ! SC 0.88 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 0.90 FD 1.03 HN 0.99 KP 0.97 ! MK 1.04 NL 1.11 OV 0.96 PT 1.01 ! SC 0.93 ! ! ! Fit before self-cal, rms=0.054020Jy sigma=0.629245 ! Fit after self-cal, rms=0.055408Jy sigma=0.626484 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8045 mas, bmaj=2.212 mas, bpa=-3.554 degrees ! Estimated noise=0.336566 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (-5, 15.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00100425 Jy ! Component: 100 - total flux cleaned = 0.00103682 Jy ! Component: 150 - total flux cleaned = 0.00100438 Jy ! Component: 200 - total flux cleaned = 0.00100574 Jy ! Total flux subtracted in 200 components = 0.00100574 Jy ! Clean residual min=-0.001125 max=0.001164 Jy/beam ! Clean residual mean=-0.000000 rms=0.000274 Jy/beam ! Combined flux in latest and established models = 0.0738355 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 88 components and 0.0738355 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.055338Jy sigma=0.625790 ! Fit after self-cal, rms=0.055430Jy sigma=0.625456 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 120 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.055430Jy sigma=0.625456 ! Fit after self-cal, rms=0.055042Jy sigma=0.625387 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8008 mas, bmaj=2.205 mas, bpa=-3.439 degrees ! Estimated noise=0.334093 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000345243 Jy ! Component: 100 - total flux cleaned = 0.000317056 Jy ! Component: 150 - total flux cleaned = 0.000318121 Jy ! Component: 200 - total flux cleaned = 0.000215528 Jy ! Total flux subtracted in 200 components = 0.000215528 Jy ! Clean residual min=-0.001069 max=0.001007 Jy/beam ! Clean residual mean=-0.000000 rms=0.000260 Jy/beam ! Combined flux in latest and established models = 0.0740511 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 94 components and 0.0740511 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.055008Jy sigma=0.625068 ! Fit after self-cal, rms=0.055006Jy sigma=0.625002 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 6.3358e-05 Jy ! Component: 100 - total flux cleaned = -4.86151e-05 Jy ! Component: 150 - total flux cleaned = -0.000170838 Jy ! Component: 200 - total flux cleaned = -0.000282539 Jy ! Total flux subtracted in 200 components = -0.000282539 Jy ! Clean residual min=-0.001049 max=0.000984 Jy/beam ! Clean residual mean=-0.000000 rms=0.000257 Jy/beam ! Combined flux in latest and established models = 0.0737685 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 100 components and 0.0737685 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054984Jy sigma=0.624815 ! Fit after self-cal, rms=0.054969Jy sigma=0.624788 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054969Jy sigma=0.624788 ! Fit after self-cal, rms=0.054583Jy sigma=0.624764 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.7984 mas, bmaj=2.2 mas, bpa=-3.429 degrees ! Estimated noise=0.332165 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 2.35886e-05 Jy ! Component: 100 - total flux cleaned = -5.36345e-05 Jy ! Component: 150 - total flux cleaned = -0.000139061 Jy ! Component: 200 - total flux cleaned = -0.00020189 Jy ! Total flux subtracted in 200 components = -0.00020189 Jy ! Clean residual min=-0.000991 max=0.001002 Jy/beam ! Clean residual mean=-0.000001 rms=0.000248 Jy/beam ! Combined flux in latest and established models = 0.0735666 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 104 components and 0.0735666 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054567Jy sigma=0.624609 ! Fit after self-cal, rms=0.054552Jy sigma=0.624581 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 6.88759e-06 Jy ! Component: 100 - total flux cleaned = -6.07137e-05 Jy ! Component: 150 - total flux cleaned = -0.00015473 Jy ! Component: 200 - total flux cleaned = -0.000198573 Jy ! Total flux subtracted in 200 components = -0.000198573 Jy ! Clean residual min=-0.000996 max=0.000975 Jy/beam ! Clean residual mean=-0.000001 rms=0.000246 Jy/beam ! Combined flux in latest and established models = 0.073368 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 105 components and 0.073368 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054539Jy sigma=0.624465 ! Fit after self-cal, rms=0.054522Jy sigma=0.624444 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. win_mult = win_mult * 1.2 selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054522Jy sigma=0.624444 ! Fit after self-cal, rms=0.054168Jy sigma=0.624435 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.033 mas, bmaj=4.922 mas, bpa=-0.4673 degrees ! Estimated noise=0.438897 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 7.53487e-05 Jy ! Component: 100 - total flux cleaned = -2.26235e-05 Jy ! Component: 150 - total flux cleaned = -7.70766e-05 Jy ! Component: 200 - total flux cleaned = -0.000102069 Jy ! Total flux subtracted in 200 components = -0.000102069 Jy ! Clean residual min=-0.000964 max=0.000961 Jy/beam ! Clean residual mean=-0.000002 rms=0.000244 Jy/beam ! Combined flux in latest and established models = 0.073266 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 114 components and 0.073266 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054167Jy sigma=0.624433 ! Fit after self-cal, rms=0.054163Jy sigma=0.624415 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -4.74123e-05 Jy ! Component: 100 - total flux cleaned = -0.000100025 Jy ! Component: 150 - total flux cleaned = -0.000124022 Jy ! Component: 200 - total flux cleaned = -0.000131499 Jy ! Total flux subtracted in 200 components = -0.000131499 Jy ! Clean residual min=-0.000973 max=0.000960 Jy/beam ! Clean residual mean=-0.000002 rms=0.000246 Jy/beam ! Combined flux in latest and established models = 0.0731345 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 118 components and 0.0731345 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054162Jy sigma=0.624421 ! Fit after self-cal, rms=0.054161Jy sigma=0.624413 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "============== Finished amplitude self-cal ==============" ! ============== Finished amplitude self-cal ============== restore ! Inverting map and beam ! Estimated beam: bmin=0.7965 mas, bmaj=2.197 mas, bpa=-3.53 degrees ! Estimated noise=0.330701 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.7965 x 2.197 at -3.53 degrees (North through East) ! Clean map min=-0.0013473 max=0.039642 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) selfcal true, true end if print "============== Clearing model and starting over ==========" ! ============== Clearing model and starting over ========== clrmod true ! clrmod: Cleared the established and tentative models. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.6299 mas, bmaj=1.906 mas, bpa=-5.8 degrees ! Estimated noise=0.792442 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.026522 Jy ! Component: 100 - total flux cleaned = 0.0386977 Jy ! Component: 150 - total flux cleaned = 0.0470626 Jy ! Component: 200 - total flux cleaned = 0.0530772 Jy ! Total flux subtracted in 200 components = 0.0530772 Jy ! Clean residual min=-0.003058 max=0.003734 Jy/beam ! Clean residual mean=0.000004 rms=0.000850 Jy/beam ! Combined flux in latest and established models = 0.0530773 Jy uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Adding 30 model components to the UV plane model. ! The established model now contains 30 components and 0.0530773 Jy ! Inverting map and beam ! Estimated beam: bmin=0.7965 mas, bmaj=2.197 mas, bpa=-3.53 degrees ! Estimated noise=0.330701 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0075399 Jy ! Component: 100 - total flux cleaned = 0.0117041 Jy ! Component: 150 - total flux cleaned = 0.0145 Jy ! Component: 200 - total flux cleaned = 0.0159551 Jy ! Total flux subtracted in 200 components = 0.0159551 Jy ! Clean residual min=-0.001685 max=0.001773 Jy/beam ! Clean residual mean=0.000002 rms=0.000398 Jy/beam ! Combined flux in latest and established models = 0.0690324 Jy ! Adding 34 model components to the UV plane model. ! The established model now contains 57 components and 0.0690324 Jy ! Inverting map ! Added new window around map position (-0.8, -0.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00155759 Jy ! Component: 100 - total flux cleaned = 0.00237277 Jy ! Component: 150 - total flux cleaned = 0.0029527 Jy ! Component: 200 - total flux cleaned = 0.0034434 Jy ! Total flux subtracted in 200 components = 0.0034434 Jy ! Clean residual min=-0.001281 max=0.001158 Jy/beam ! Clean residual mean=0.000000 rms=0.000272 Jy/beam ! Combined flux in latest and established models = 0.0724758 Jy ! Adding 24 model components to the UV plane model. ! The established model now contains 74 components and 0.0724758 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.033 mas, bmaj=4.922 mas, bpa=-0.4673 degrees ! Estimated noise=0.438897 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000958839 Jy ! Component: 100 - total flux cleaned = 0.00116259 Jy ! Component: 150 - total flux cleaned = 0.00121228 Jy ! Component: 200 - total flux cleaned = 0.00123424 Jy ! Total flux subtracted in 200 components = 0.00123424 Jy ! Clean residual min=-0.000791 max=0.000934 Jy/beam ! Clean residual mean=-0.000002 rms=0.000221 Jy/beam ! Combined flux in latest and established models = 0.07371 Jy flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.7422e-07 Jy ! Component: 100 - total flux cleaned = -8.44432e-07 Jy ! Component: 150 - total flux cleaned = -1.00235e-05 Jy ! Component: 200 - total flux cleaned = -9.86724e-06 Jy ! Total flux subtracted in 200 components = -9.86724e-06 Jy ! Clean residual min=-0.000780 max=0.000937 Jy/beam ! Clean residual mean=-0.000002 rms=0.000218 Jy/beam ! Combined flux in latest and established models = 0.0737002 Jy ! Adding 32 model components to the UV plane model. ! The established model now contains 102 components and 0.0737002 Jy ! Inverting map ! Added new window around map position (-42, 12.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000218383 Jy ! Component: 100 - total flux cleaned = 8.00849e-05 Jy ! Component: 150 - total flux cleaned = -0.000111212 Jy ! Component: 200 - total flux cleaned = -0.000213253 Jy ! Total flux subtracted in 200 components = -0.000213253 Jy ! Clean residual min=-0.000645 max=0.000613 Jy/beam ! Clean residual mean=-0.000002 rms=0.000163 Jy/beam ! Combined flux in latest and established models = 0.0734869 Jy ! Adding 34 model components to the UV plane model. ! The established model now contains 134 components and 0.0734869 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.7965 mas, bmaj=2.197 mas, bpa=-3.53 degrees ! Estimated noise=0.330701 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00014958 Jy ! Component: 100 - total flux cleaned = -0.000257035 Jy ! Component: 150 - total flux cleaned = -0.000331415 Jy ! Component: 200 - total flux cleaned = -0.000286101 Jy ! Total flux subtracted in 200 components = -0.000286101 Jy ! Clean residual min=-0.001088 max=0.000937 Jy/beam ! Clean residual mean=-0.000000 rms=0.000221 Jy/beam ! Combined flux in latest and established models = 0.0732008 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 156 components and 0.0732008 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.054147Jy sigma=0.624136 ! Fit after self-cal, rms=0.054123Jy sigma=0.623993 wmodel J1731-3003_X_map.mod ! Writing 156 model components to file: J1731-3003_X_map.mod wobs J1731-3003_X_uvs.fits ! Writing UV FITS file: J1731-3003_X_uvs.fits wwins J1731-3003_X_map.win ! wwins: Wrote 5 windows to J1731-3003_X_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.000191658 Jy ! Component: 100 - total flux cleaned = -0.000258532 Jy ! Component: 150 - total flux cleaned = -0.000335582 Jy ! Component: 200 - total flux cleaned = -0.0003648 Jy ! Component: 250 - total flux cleaned = -0.000463887 Jy ! Component: 300 - total flux cleaned = -0.000518659 Jy ! Component: 350 - total flux cleaned = -0.0005721 Jy ! Component: 400 - total flux cleaned = -0.00062372 Jy ! Component: 450 - total flux cleaned = -0.000698881 Jy ! Component: 500 - total flux cleaned = -0.000759571 Jy ! Component: 550 - total flux cleaned = -0.000795137 Jy ! Component: 600 - total flux cleaned = -0.000818494 Jy ! Component: 650 - total flux cleaned = -0.000830108 Jy ! Component: 700 - total flux cleaned = -0.000874221 Jy ! Component: 750 - total flux cleaned = -0.000852532 Jy ! Component: 800 - total flux cleaned = -0.000905794 Jy ! Component: 850 - total flux cleaned = -0.000936975 Jy ! Component: 900 - total flux cleaned = -0.000967813 Jy ! Component: 950 - total flux cleaned = -0.00101821 Jy ! Component: 1000 - total flux cleaned = -0.00105783 Jy ! Component: 1050 - total flux cleaned = -0.00105778 Jy ! Component: 1100 - total flux cleaned = -0.00111561 Jy ! Component: 1150 - total flux cleaned = -0.00111538 Jy ! Component: 1200 - total flux cleaned = -0.00113404 Jy ! Component: 1250 - total flux cleaned = -0.00112476 Jy ! Component: 1300 - total flux cleaned = -0.00113398 Jy ! Component: 1350 - total flux cleaned = -0.00116097 Jy ! Component: 1400 - total flux cleaned = -0.00116082 Jy ! Component: 1450 - total flux cleaned = -0.00115202 Jy ! Component: 1500 - total flux cleaned = -0.00115196 Jy ! Component: 1550 - total flux cleaned = -0.00118617 Jy ! Component: 1600 - total flux cleaned = -0.00119451 Jy ! Component: 1650 - total flux cleaned = -0.00120275 Jy ! Component: 1700 - total flux cleaned = -0.00118625 Jy ! Component: 1750 - total flux cleaned = -0.00120281 Jy ! Component: 1800 - total flux cleaned = -0.0012432 Jy ! Component: 1850 - total flux cleaned = -0.00125115 Jy ! Component: 1900 - total flux cleaned = -0.00125103 Jy ! Component: 1950 - total flux cleaned = -0.00125892 Jy ! Component: 2000 - total flux cleaned = -0.00127442 Jy ! Component: 2050 - total flux cleaned = -0.00130515 Jy ! Component: 2100 - total flux cleaned = -0.00134304 Jy ! Component: 2150 - total flux cleaned = -0.00136557 Jy ! Component: 2200 - total flux cleaned = -0.00140275 Jy ! Component: 2250 - total flux cleaned = -0.00142486 Jy ! Component: 2300 - total flux cleaned = -0.00144682 Jy ! Component: 2350 - total flux cleaned = -0.00148309 Jy ! Component: 2400 - total flux cleaned = -0.00149022 Jy ! Component: 2450 - total flux cleaned = -0.0015401 Jy ! Component: 2500 - total flux cleaned = -0.00155414 Jy ! Component: 2550 - total flux cleaned = -0.00159617 Jy ! Component: 2600 - total flux cleaned = -0.00163095 Jy ! Component: 2650 - total flux cleaned = -0.00166539 Jy ! Component: 2700 - total flux cleaned = -0.00167912 Jy ! Component: 2750 - total flux cleaned = -0.00172663 Jy ! Component: 2800 - total flux cleaned = -0.00174011 Jy ! Component: 2850 - total flux cleaned = -0.0017936 Jy ! Component: 2900 - total flux cleaned = -0.00181346 Jy ! Component: 2950 - total flux cleaned = -0.00183985 Jy ! Component: 3000 - total flux cleaned = -0.00186607 Jy ! Component: 3050 - total flux cleaned = -0.00191154 Jy ! Component: 3100 - total flux cleaned = -0.00192447 Jy ! Component: 3150 - total flux cleaned = -0.00195647 Jy ! Component: 3200 - total flux cleaned = -0.00197551 Jy ! Component: 3250 - total flux cleaned = -0.00201349 Jy ! Component: 3300 - total flux cleaned = -0.00203859 Jy ! Component: 3350 - total flux cleaned = -0.00207604 Jy ! Component: 3400 - total flux cleaned = -0.00209461 Jy ! Component: 3450 - total flux cleaned = -0.00213154 Jy ! Component: 3500 - total flux cleaned = -0.00212543 Jy ! Component: 3550 - total flux cleaned = -0.00219841 Jy ! Component: 3600 - total flux cleaned = -0.00222859 Jy ! Component: 3650 - total flux cleaned = -0.00224056 Jy ! Component: 3700 - total flux cleaned = -0.00228239 Jy ! Component: 3750 - total flux cleaned = -0.00230622 Jy ! Component: 3800 - total flux cleaned = -0.00233575 Jy ! Component: 3850 - total flux cleaned = -0.00235925 Jy ! Component: 3900 - total flux cleaned = -0.00237096 Jy ! Component: 3950 - total flux cleaned = -0.00240004 Jy ! Component: 4000 - total flux cleaned = -0.00243473 Jy ! Component: 4050 - total flux cleaned = -0.00242901 Jy ! Total flux subtracted in 4096 components = -0.00246336 Jy ! Clean residual min=-0.000335 max=0.000321 Jy/beam ! Clean residual mean=0.000000 rms=0.000097 Jy/beam ! Combined flux in latest and established models = 0.0707374 Jy keep ! Adding 259 model components to the UV plane model. ! The established model now contains 413 components and 0.0707374 Jy ![Exited script file: /opt64/bin/pima_mupet_01.dfm] wmap .//J1731-3003_X_20180722_map.fits ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.7965 x 2.197 at -3.53 degrees (North through East) ! Clean map min=-0.00074246 max=0.039162 Jy/beam ! Writing clean map to FITS file: .//J1731-3003_X_20180722_map.fits wmodel .//J1731-3003_X_20180722_map.mod ! Writing 413 model components to file: .//J1731-3003_X_20180722_map.mod wobs .//J1731-3003_X_20180722_uvs.fits ! Writing UV FITS file: .//J1731-3003_X_20180722_uvs.fits wwins .//J1731-3003_X_20180722_map.win ! wwins: Wrote 6 windows to .//J1731-3003_X_20180722_map.win float peak_flux peak_flux = peak(flux,max) print "The peak flux is", peak_flux ! The peak flux is 0.0391616 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 9.70292e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.743299 0.743299 1.4866 2.9732 5.94639 11.8928 23.7856 47.5711 95.1423 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.039 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 403.606 quit ! Quitting program ! Log file .//J1731-3003_X_20180722_dfm.log closed on Wed Aug 8 14:55:26 2018