! Started logfile: J0136+4751_S_2011_08_02_pus_uvs.log on Thu Apr 19 13:12:06 2012 obs J0136+4751_S_2011_08_02_pus_uva.fits ! Reading UV FITS file: J0136+4751_S_2011_08_02_pus_uva.fits ! AN table 1: 11 integrations on 78 of 78 possible baselines. ! AN table 2: 58 integrations on 78 of 78 possible baselines. ! AN table 3: 11 integrations on 78 of 78 possible baselines. ! AN table 4: 55 integrations on 78 of 78 possible baselines. ! Apparent sampling: 0.311871 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0136+4751 ! ! There are 4 IFs, and a total of 4 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 2.23697e+09 8e+06 1 8e+06 ! 02 2 2.26697e+09 8e+06 1 8e+06 ! 03 3 2.35697e+09 8e+06 1 8e+06 ! 04 4 2.37697e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 2651 lines of history. ! ! Reading 13136 visibilities. select I ! Polarization I is unavailable. ! Selecting polarization: RR, channels: 1..4 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 print "field_size =",field_size ! field_size = 512 print "field_cell =",field_cell ! field_cell = 0.5 print "taper_size =",taper_size ! taper_size = 20 ![@muppet J0136+4751_S_2011_08_02_pus] 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 mapsize field_size, field_cell ! Map grid = 512x512 pixels with 0.500x0.500 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 82 telescope corrections were flagged in sub-array 1. ! A total of 251 telescope corrections were flagged in sub-array 2. ! A total of 83 telescope corrections were flagged in sub-array 3. ! A total of 458 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 2. ! A total of 82 telescope corrections were flagged in sub-array 1. ! A total of 251 telescope corrections were flagged in sub-array 2. ! A total of 83 telescope corrections were flagged in sub-array 3. ! A total of 458 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 3. ! A total of 82 telescope corrections were flagged in sub-array 1. ! A total of 251 telescope corrections were flagged in sub-array 2. ! A total of 83 telescope corrections were flagged in sub-array 3. ! A total of 458 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 4. ! A total of 82 telescope corrections were flagged in sub-array 1. ! A total of 251 telescope corrections were flagged in sub-array 2. ! A total of 83 telescope corrections were flagged in sub-array 3. ! A total of 458 telescope corrections were flagged in sub-array 4. ! ! Fit before self-cal, rms=0.646460Jy sigma=0.008686 ! Fit after self-cal, rms=0.534683Jy sigma=0.006937 ! 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=2.712 mas, bmaj=4.085 mas, bpa=-15.13 degrees ! Estimated noise=1119.15 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.968314 Jy ! Component: 100 - total flux cleaned = 1.2864 Jy ! Total flux subtracted in 100 components = 1.2864 Jy ! Clean residual min=-0.038219 max=0.137564 Jy/beam ! Clean residual mean=0.001383 rms=0.014291 Jy/beam ! Combined flux in latest and established models = 1.2864 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 19 components and 1.2864 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.362559Jy sigma=0.004606 ! Fit after self-cal, rms=0.362270Jy sigma=0.004606 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.145741 Jy ! Component: 100 - total flux cleaned = 0.218875 Jy ! Total flux subtracted in 100 components = 0.218875 Jy ! Clean residual min=-0.032602 max=0.057791 Jy/beam ! Clean residual mean=0.000797 rms=0.009876 Jy/beam ! Combined flux in latest and established models = 1.50528 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 31 components and 1.50528 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.280775Jy sigma=0.003484 ! Fit after self-cal, rms=0.280416Jy sigma=0.003483 ! 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=3.436 mas, bmaj=5.433 mas, bpa=-28.2 degrees ! Estimated noise=524.288 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 (20, -23). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0942917 Jy ! Component: 100 - total flux cleaned = 0.149301 Jy ! Component: 150 - total flux cleaned = 0.186951 Jy ! Component: 200 - total flux cleaned = 0.214743 Jy ! Total flux subtracted in 200 components = 0.214743 Jy ! Clean residual min=-0.035852 max=0.059928 Jy/beam ! Clean residual mean=0.000805 rms=0.010219 Jy/beam ! Combined flux in latest and established models = 1.72002 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 66 components and 1.72002 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.250436Jy sigma=0.002967 ! Fit after self-cal, rms=0.248875Jy sigma=0.002945 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.99 LA 0.98 MK 0.81 ! NL 1.00* OV 0.98 PT 0.96 TS 1.00* ! WZ 1.00* ! ! A total of 18 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.95 FD 1.04 FT 1.00* HH 1.00* ! HN 1.08 KP 0.96 LA 1.02 MK 0.92 ! NL 0.94 OV 0.98 PT 1.08 TS 1.00* ! WZ 1.09 ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.91 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.96 LA 1.03 MK 1.00* ! NL 1.05 OV 1.01 PT 0.96 TS 1.00* ! WZ 1.00* ! ! A total of 21 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.92 FD 1.09 FT 1.00* HH 1.00* ! HN 1.11 KP 0.95 LA 1.03 MK 1.00* ! NL 0.92 OV 0.99 PT 0.99 TS 1.00* ! WZ 1.13 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 1.06 LA 0.91 MK 0.88 ! NL 1.00* OV 1.06 PT 1.00 TS 1.00* ! WZ 1.00* ! ! A total of 18 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 FD 1.14 FT 1.00* HH 1.00* ! HN 1.18 KP 1.03 LA 0.95 MK 1.02 ! NL 1.03 OV 1.04 PT 1.02 TS 1.00* ! WZ 0.96 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.02 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 1.05 LA 1.00 MK 1.00* ! NL 1.11 OV 1.08 PT 1.00 TS 1.00* ! WZ 1.00* ! ! A total of 21 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 1.04 FD 1.20 FT 1.00* HH 1.00* ! HN 1.21 KP 1.02 LA 0.94 MK 1.00* ! NL 1.02 OV 1.05 PT 1.00 TS 1.00* ! WZ 1.01 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 1.04 LA 0.89 MK 0.84 ! NL 1.00* OV 1.02 PT 0.98 TS 1.00* ! WZ 1.00* ! ! A total of 18 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 FD 1.13 FT 1.00* HH 1.00* ! HN 1.06 KP 1.01 LA 0.93 MK 0.96 ! NL 1.03 OV 1.02 PT 1.01 TS 1.00* ! WZ 0.93 ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.99 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 1.03 LA 0.95 MK 1.00* ! NL 1.14 OV 1.03 PT 0.99 TS 1.00* ! WZ 1.00* ! ! A total of 21 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.99 FD 1.19 FT 1.00* HH 1.00* ! HN 1.08 KP 0.99 LA 0.92 MK 1.00* ! NL 1.02 OV 1.05 PT 0.99 TS 1.00* ! WZ 0.91 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.96 LA 0.75 MK 0.90 ! NL 1.00* OV 0.85 PT 0.90 TS 1.00* ! WZ 1.00* ! ! A total of 18 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.10 FD 1.16 FT 1.00* HH 1.00* ! HN 1.01 KP 0.93 LA 0.76 MK 1.02 ! NL 0.93 OV 0.89 PT 0.91 TS 1.00* ! WZ 1.14 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.02 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.95 LA 0.79 MK 1.00* ! NL 0.98 OV 0.88 PT 0.90 TS 1.00* ! WZ 1.00* ! ! A total of 21 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.98 FD 1.17 FT 1.00* HH 1.00* ! HN 1.03 KP 0.92 LA 0.75 MK 1.00* ! NL 0.93 OV 0.87 PT 0.89 TS 1.00* ! WZ 1.07 ! ! ! Fit before self-cal, rms=0.248875Jy sigma=0.002945 ! Fit after self-cal, rms=0.167057Jy sigma=0.001560 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.477 mas, bmaj=5.474 mas, bpa=-28.36 degrees ! Estimated noise=525.916 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.0201295 Jy ! Component: 100 - total flux cleaned = -0.0218884 Jy ! Component: 150 - total flux cleaned = -0.0222013 Jy ! Component: 200 - total flux cleaned = -0.0226696 Jy ! Total flux subtracted in 200 components = -0.0226696 Jy ! Clean residual min=-0.014615 max=0.016008 Jy/beam ! Clean residual mean=0.000096 rms=0.003494 Jy/beam ! Combined flux in latest and established models = 1.69735 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 83 components and 1.69735 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.163573Jy sigma=0.001523 ! Fit after self-cal, rms=0.163425Jy sigma=0.001519 ! 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. ! ! Fit before self-cal, rms=0.163425Jy sigma=0.001519 ! Fit after self-cal, rms=0.161939Jy sigma=0.001498 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.471 mas, bmaj=5.47 mas, bpa=-28.22 degrees ! Estimated noise=525.865 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00957683 Jy ! Component: 100 - total flux cleaned = -0.0113427 Jy ! Component: 150 - total flux cleaned = -0.0115651 Jy ! Component: 200 - total flux cleaned = -0.0115596 Jy ! Total flux subtracted in 200 components = -0.0115596 Jy ! Clean residual min=-0.013832 max=0.015308 Jy/beam ! Clean residual mean=0.000080 rms=0.003079 Jy/beam ! Combined flux in latest and established models = 1.68579 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 94 components and 1.68579 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.160354Jy sigma=0.001483 ! Fit after self-cal, rms=0.160212Jy sigma=0.001481 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) ! Added new window around map position (-1, 10.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0149519 Jy ! Component: 100 - total flux cleaned = 0.0143022 Jy ! Component: 150 - total flux cleaned = 0.0134566 Jy ! Component: 200 - total flux cleaned = 0.0124906 Jy ! Total flux subtracted in 200 components = 0.0124906 Jy ! Clean residual min=-0.012418 max=0.012322 Jy/beam ! Clean residual mean=0.000026 rms=0.002644 Jy/beam ! Combined flux in latest and established models = 1.69828 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 114 components and 1.69828 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.158163Jy sigma=0.001457 ! Fit after self-cal, rms=0.157894Jy sigma=0.001454 ! 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. ! ! Fit before self-cal, rms=0.157894Jy sigma=0.001454 ! Fit after self-cal, rms=0.156864Jy sigma=0.001439 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.466 mas, bmaj=5.463 mas, bpa=-28.27 degrees ! Estimated noise=525.835 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00155427 Jy ! Component: 100 - total flux cleaned = 0.00280311 Jy ! Component: 150 - total flux cleaned = 0.0032785 Jy ! Component: 200 - total flux cleaned = 0.0028843 Jy ! Total flux subtracted in 200 components = 0.0028843 Jy ! Clean residual min=-0.010016 max=0.011076 Jy/beam ! Clean residual mean=-0.000006 rms=0.002168 Jy/beam ! Combined flux in latest and established models = 1.70117 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 126 components and 1.70117 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.155504Jy sigma=0.001425 ! Fit after self-cal, rms=0.155370Jy sigma=0.001423 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) ! Added new window around map position (-47.5, 47). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0086674 Jy ! Component: 100 - total flux cleaned = 0.00979845 Jy ! Component: 150 - total flux cleaned = 0.00980117 Jy ! Component: 200 - total flux cleaned = 0.00943717 Jy ! Total flux subtracted in 200 components = 0.00943717 Jy ! Clean residual min=-0.010348 max=0.007086 Jy/beam ! Clean residual mean=-0.000032 rms=0.001929 Jy/beam ! Combined flux in latest and established models = 1.7106 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 146 components and 1.7106 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.154383Jy sigma=0.001413 ! Fit after self-cal, rms=0.154344Jy sigma=0.001412 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 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. ! ! Fit before self-cal, rms=0.154344Jy sigma=0.001412 ! Fit after self-cal, rms=0.153831Jy sigma=0.001408 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.887 mas, bmaj=10.26 mas, bpa=-11.33 degrees ! Estimated noise=581.993 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000152268 Jy ! Component: 100 - total flux cleaned = 0.000783503 Jy ! Component: 150 - total flux cleaned = 0.000785393 Jy ! Component: 200 - total flux cleaned = 0.0010504 Jy ! Total flux subtracted in 200 components = 0.0010504 Jy ! Clean residual min=-0.007415 max=0.007125 Jy/beam ! Clean residual mean=0.000002 rms=0.002070 Jy/beam ! Combined flux in latest and established models = 1.71165 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 172 components and 1.71165 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.153421Jy sigma=0.001403 ! Fit after self-cal, rms=0.153378Jy sigma=0.001402 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 = 0.000961652 Jy ! Component: 100 - total flux cleaned = 0.00120948 Jy ! Component: 150 - total flux cleaned = 0.00130898 Jy ! Component: 200 - total flux cleaned = 0.0011297 Jy ! Total flux subtracted in 200 components = 0.0011297 Jy ! Clean residual min=-0.007578 max=0.006880 Jy/beam ! Clean residual mean=0.000005 rms=0.002015 Jy/beam ! Combined flux in latest and established models = 1.71278 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 182 components and 1.71278 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.153254Jy sigma=0.001401 ! Fit after self-cal, rms=0.153213Jy sigma=0.001400 ! 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=3.464 mas, bmaj=5.459 mas, bpa=-28.32 degrees ! Estimated noise=525.576 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.464 x 5.459 at -28.32 degrees (North through East) ! Clean map min=-0.010638 max=1.3023 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 ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.153213Jy sigma=0.001400 ! Fit after self-cal, rms=0.143129Jy sigma=0.001263 ! Inverting map and beam ! Estimated beam: bmin=3.463 mas, bmaj=5.458 mas, bpa=-28.29 degrees ! Estimated noise=525.21 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000317957 Jy ! Component: 100 - total flux cleaned = 0.000482857 Jy ! Component: 150 - total flux cleaned = 0.000475675 Jy ! Component: 200 - total flux cleaned = 0.000474681 Jy ! Total flux subtracted in 200 components = 0.000474681 Jy ! Clean residual min=-0.007331 max=0.006406 Jy/beam ! Clean residual mean=-0.000000 rms=0.001522 Jy/beam ! Combined flux in latest and established models = 1.71326 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 195 components and 1.71326 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.142653Jy sigma=0.001259 ! Fit after self-cal, rms=0.142620Jy sigma=0.001258 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00054219 Jy ! Component: 100 - total flux cleaned = 0.000418351 Jy ! Component: 150 - total flux cleaned = 0.000416619 Jy ! Component: 200 - total flux cleaned = 0.000201285 Jy ! Total flux subtracted in 200 components = 0.000201285 Jy ! Clean residual min=-0.007170 max=0.006150 Jy/beam ! Clean residual mean=0.000001 rms=0.001482 Jy/beam ! Combined flux in latest and established models = 1.71346 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 202 components and 1.71346 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.142353Jy sigma=0.001256 ! Fit after self-cal, rms=0.142330Jy sigma=0.001256 ! Inverting map ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.142330Jy sigma=0.001256 ! Fit after self-cal, rms=0.142162Jy sigma=0.001255 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=2.778 mas, bmaj=4.048 mas, bpa=-14.42 degrees ! Estimated noise=1129.37 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.976224 Jy ! Component: 100 - total flux cleaned = 1.29939 Jy ! Component: 150 - total flux cleaned = 1.4453 Jy ! Component: 200 - total flux cleaned = 1.51969 Jy ! Total flux subtracted in 200 components = 1.51969 Jy ! Clean residual min=-0.013355 max=0.037691 Jy/beam ! Clean residual mean=0.000589 rms=0.004775 Jy/beam ! Combined flux in latest and established models = 1.51969 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 32 model components to the UV plane model. ! The established model now contains 32 components and 1.51969 Jy ! Inverting map and beam ! Estimated beam: bmin=3.461 mas, bmaj=5.458 mas, bpa=-28.24 degrees ! Estimated noise=525.181 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.0650326 Jy ! Component: 100 - total flux cleaned = 0.102173 Jy ! Component: 150 - total flux cleaned = 0.126644 Jy ! Component: 200 - total flux cleaned = 0.144451 Jy ! Total flux subtracted in 200 components = 0.144451 Jy ! Clean residual min=-0.008372 max=0.014693 Jy/beam ! Clean residual mean=0.000210 rms=0.002783 Jy/beam ! Combined flux in latest and established models = 1.66414 Jy ! Adding 42 model components to the UV plane model. ! The established model now contains 69 components and 1.66414 Jy ! Inverting map ! Added new window around map position (-6.5, 1.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0147355 Jy ! Component: 100 - total flux cleaned = 0.0252819 Jy ! Component: 150 - total flux cleaned = 0.0303958 Jy ! Component: 200 - total flux cleaned = 0.0350084 Jy ! Total flux subtracted in 200 components = 0.0350084 Jy ! Clean residual min=-0.006844 max=0.006994 Jy/beam ! Clean residual mean=0.000070 rms=0.001823 Jy/beam ! Combined flux in latest and established models = 1.69915 Jy ! Adding 28 model components to the UV plane model. ! The established model now contains 88 components and 1.69915 Jy ! Inverting map uvw 0,2 ! Uniform weighting is not currently selected. ! Amplitude error weighting is not currently selected. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.804 mas, bmaj=4.369 mas, bpa=-35.77 degrees ! Estimated noise=713.042 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00492017 Jy ! Component: 100 - total flux cleaned = 0.00643301 Jy ! Component: 150 - total flux cleaned = 0.0069838 Jy ! Component: 200 - total flux cleaned = 0.00773735 Jy ! Total flux subtracted in 200 components = 0.00773735 Jy ! Clean residual min=-0.007231 max=0.007595 Jy/beam ! Clean residual mean=0.000041 rms=0.001783 Jy/beam ! Combined flux in latest and established models = 1.70689 Jy clean ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000467074 Jy ! Component: 100 - total flux cleaned = 0.00111866 Jy ! Component: 150 - total flux cleaned = 0.00132507 Jy ! Component: 200 - total flux cleaned = 0.00151888 Jy ! Total flux subtracted in 200 components = 0.00151888 Jy ! Clean residual min=-0.006470 max=0.007099 Jy/beam ! Clean residual mean=0.000038 rms=0.001633 Jy/beam ! Combined flux in latest and established models = 1.7084 Jy selfcal ! Performing phase self-cal ! Adding 45 model components to the UV plane model. ! The established model now contains 125 components and 1.7084 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.141653Jy sigma=0.001254 ! Fit after self-cal, rms=0.141435Jy sigma=0.001252 wmodel J0136+4751_S_2011_08_02_pus_map.mod ! Writing 125 model components to file: J0136+4751_S_2011_08_02_pus_map.mod wobs J0136+4751_S_2011_08_02_pus_uvs.fits ! Writing UV FITS file: J0136+4751_S_2011_08_02_pus_uvs.fits wwins J0136+4751_S_2011_08_02_pus_map.win ! wwins: Wrote 5 windows to J0136+4751_S_2011_08_02_pus_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = 0.00134273 Jy ! Component: 100 - total flux cleaned = 0.00179038 Jy ! Component: 150 - total flux cleaned = 0.00199559 Jy ! Component: 200 - total flux cleaned = 0.00268579 Jy ! Component: 250 - total flux cleaned = 0.00363257 Jy ! Component: 300 - total flux cleaned = 0.00436537 Jy ! Component: 350 - total flux cleaned = 0.00507295 Jy ! Component: 400 - total flux cleaned = 0.00558693 Jy ! Component: 450 - total flux cleaned = 0.00616962 Jy ! Component: 500 - total flux cleaned = 0.00641206 Jy ! Component: 550 - total flux cleaned = 0.00641211 Jy ! Component: 600 - total flux cleaned = 0.00656924 Jy ! Component: 650 - total flux cleaned = 0.0070223 Jy ! Component: 700 - total flux cleaned = 0.00731575 Jy ! Component: 750 - total flux cleaned = 0.00767541 Jy ! Component: 800 - total flux cleaned = 0.00795701 Jy ! Component: 850 - total flux cleaned = 0.00809645 Jy ! Component: 900 - total flux cleaned = 0.00836765 Jy ! Component: 950 - total flux cleaned = 0.00856807 Jy ! Component: 1000 - total flux cleaned = 0.00869848 Jy ! Component: 1050 - total flux cleaned = 0.00895581 Jy ! Component: 1100 - total flux cleaned = 0.00901886 Jy ! Component: 1150 - total flux cleaned = 0.00901902 Jy ! Component: 1200 - total flux cleaned = 0.00901879 Jy ! Component: 1250 - total flux cleaned = 0.00901915 Jy ! Component: 1300 - total flux cleaned = 0.00901914 Jy ! Component: 1350 - total flux cleaned = 0.00896019 Jy ! Component: 1400 - total flux cleaned = 0.00884539 Jy ! Component: 1450 - total flux cleaned = 0.00895985 Jy ! Component: 1500 - total flux cleaned = 0.00884758 Jy ! Component: 1550 - total flux cleaned = 0.00895839 Jy ! Component: 1600 - total flux cleaned = 0.00890294 Jy ! Component: 1650 - total flux cleaned = 0.00884901 Jy ! Component: 1700 - total flux cleaned = 0.00884973 Jy ! Component: 1750 - total flux cleaned = 0.00895498 Jy ! Component: 1800 - total flux cleaned = 0.00890312 Jy ! Component: 1850 - total flux cleaned = 0.00890272 Jy ! Component: 1900 - total flux cleaned = 0.00895323 Jy ! Component: 1950 - total flux cleaned = 0.0091035 Jy ! Component: 2000 - total flux cleaned = 0.00920238 Jy ! Total flux subtracted in 2048 components = 0.00910401 Jy ! Clean residual min=-0.002743 max=0.002727 Jy/beam ! Clean residual mean=0.000009 rms=0.000890 Jy/beam ! Combined flux in latest and established models = 1.71751 Jy keep ! Adding 147 model components to the UV plane model. ! The established model now contains 270 components and 1.71751 Jy ![Exited script file: muppet] wmap "J0136+4751_S_2011_08_02_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.804 x 4.369 at -35.77 degrees (North through East) ! Clean map min=-0.0084464 max=1.2158 Jy/beam ! Writing clean map to FITS file: J0136+4751_S_2011_08_02_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 1.21585 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000888148 device "J0136+4751_S_2011_08_02_pus\_map.eps/VPS" ! Attempting to open device: 'J0136+4751_S_2011_08_02_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.219143 0.219143 0.438285 0.87657 1.75314 3.50628 7.01256 14.0251 28.0503 56.1005 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0026 print "peak=",int(1000*peak_flux)/1000 ! peak= 1.215 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.804 x 4.369 at -35.77 degrees (North through East) ! Clean map min=-0.0084464 max=1.2158 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0136+4751_S_2011_08_02_pus\_map.gif/vgif" ! Attempting to open device: 'J0136+4751_S_2011_08_02_pus_map.gif/vgif' mapplot cln