! Started logfile: J0136+4751_X_2011_08_02_pus_uvs.log on Wed Apr 18 21:49:52 2012 obs J0136+4751_X_2011_08_02_pus_uva.fits ! Reading UV FITS file: J0136+4751_X_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: 44 integrations on 78 of 78 possible baselines. ! Apparent sampling: 0.27316 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 8.40997e+09 8e+06 1 8e+06 ! 02 2 8.47997e+09 8e+06 1 8e+06 ! 03 3 8.79497e+09 8e+06 1 8e+06 ! 04 4 8.89997e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 3146 lines of history. ! ! Reading 10568 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.2 print "taper_size =",taper_size ! taper_size = 70 ![@muppet J0136+4751_X_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.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 82 telescope corrections were flagged in sub-array 1. ! A total of 300 telescope corrections were flagged in sub-array 2. ! A total of 83 telescope corrections were flagged in sub-array 3. ! A total of 348 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 300 telescope corrections were flagged in sub-array 2. ! A total of 83 telescope corrections were flagged in sub-array 3. ! A total of 348 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 300 telescope corrections were flagged in sub-array 2. ! A total of 83 telescope corrections were flagged in sub-array 3. ! A total of 348 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 300 telescope corrections were flagged in sub-array 2. ! A total of 83 telescope corrections were flagged in sub-array 3. ! A total of 348 telescope corrections were flagged in sub-array 4. ! ! Fit before self-cal, rms=1.125075Jy sigma=0.012793 ! Fit after self-cal, rms=0.914553Jy sigma=0.010351 ! 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.9413 mas, bmaj=1.561 mas, bpa=-19.54 degrees ! Estimated noise=1141.22 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 = 1.31586 Jy ! Component: 100 - total flux cleaned = 1.6778 Jy ! Total flux subtracted in 100 components = 1.6778 Jy ! Clean residual min=-0.060666 max=0.158969 Jy/beam ! Clean residual mean=-0.000187 rms=0.018979 Jy/beam ! Combined flux in latest and established models = 1.6778 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 1.6778 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.427508Jy sigma=0.004714 ! Fit after self-cal, rms=0.426780Jy sigma=0.004702 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.174554 Jy ! Component: 100 - total flux cleaned = 0.265971 Jy ! Total flux subtracted in 100 components = 0.265971 Jy ! Clean residual min=-0.050495 max=0.070562 Jy/beam ! Clean residual mean=-0.000353 rms=0.013168 Jy/beam ! Combined flux in latest and established models = 1.94377 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 20 components and 1.94377 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.318165Jy sigma=0.003424 ! Fit after self-cal, rms=0.317559Jy sigma=0.003416 ! 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=1.044 mas, bmaj=2.141 mas, bpa=-15.19 degrees ! Estimated noise=615.869 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.090679 Jy ! Component: 100 - total flux cleaned = 0.13809 Jy ! Component: 150 - total flux cleaned = 0.165742 Jy ! Component: 200 - total flux cleaned = 0.181982 Jy ! Total flux subtracted in 200 components = 0.181982 Jy ! Clean residual min=-0.066965 max=0.062464 Jy/beam ! Clean residual mean=-0.000569 rms=0.016047 Jy/beam ! Combined flux in latest and established models = 2.12575 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 31 components and 2.12575 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.290642Jy sigma=0.003123 ! Fit after self-cal, rms=0.290393Jy sigma=0.003121 ! 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.88 LA 1.03 MK 0.87 ! NL 1.00* OV 1.01 PT 1.03 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.02 FD 0.90 FT 1.00* HH 1.00* ! HN 1.06 KP 0.88 LA 0.98 MK 0.94 ! NL 0.94 OV 1.05 PT 1.01 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.96 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.90 LA 1.14 MK 1.00* ! NL 1.15 OV 1.05 PT 1.07 TS 1.00* ! WZ 1.00* ! ! A total of 24 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.99 FD 0.89 FT 1.00* HH 1.00* ! HN 1.09 KP 0.92 LA 0.98 MK 1.00* ! NL 0.97 OV 1.05 PT 1.02 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.86 LA 1.05 MK 0.91 ! NL 1.00* OV 1.03 PT 1.10 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.05 FD 0.91 FT 1.00* HH 1.00* ! HN 1.07 KP 0.87 LA 1.00 MK 0.98 ! NL 1.07 OV 1.07 PT 1.08 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.00 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.89 LA 1.17 MK 1.00* ! NL 1.32 OV 1.08 PT 1.14 TS 1.00* ! WZ 1.00* ! ! A total of 24 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 1.03 FD 0.91 FT 1.00* HH 1.00* ! HN 1.10 KP 0.90 LA 1.01 MK 1.00* ! NL 1.11 OV 1.07 PT 1.09 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.18 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.84 LA 1.25 MK 0.95 ! NL 1.00* OV 1.07 PT 1.02 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.03 FD 0.88 FT 1.00* HH 1.00* ! HN 1.07 KP 0.77 LA 0.98 MK 0.95 ! NL 1.02 OV 1.07 PT 1.00 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.98 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.80 LA 1.13 MK 1.00* ! NL 1.25 OV 1.07 PT 1.07 TS 1.00* ! WZ 1.00* ! ! A total of 24 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 1.00 FD 0.88 FT 1.00* HH 1.00* ! HN 1.10 KP 0.81 LA 0.99 MK 1.00* ! NL 1.05 OV 1.06 PT 1.02 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.83 LA 1.12 MK 0.92 ! NL 1.00* OV 1.06 PT 1.13 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.08 FD 0.94 FT 1.00* HH 1.00* ! HN 1.07 KP 0.84 LA 1.05 MK 1.00 ! NL 1.04 OV 1.10 PT 1.10 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.02 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.87 LA 1.23 MK 1.00* ! NL 1.25 OV 1.10 PT 1.21 TS 1.00* ! WZ 1.00* ! ! A total of 24 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 1.05 FD 0.95 FT 1.00* HH 1.00* ! HN 1.08 KP 0.88 LA 1.07 MK 1.00* ! NL 1.08 OV 1.09 PT 1.12 TS 1.00* ! WZ 1.00* ! ! ! Fit before self-cal, rms=0.290393Jy sigma=0.003121 ! Fit after self-cal, rms=0.177382Jy sigma=0.001745 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.054 mas, bmaj=2.18 mas, bpa=-14.57 degrees ! Estimated noise=617.456 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 (-1, 3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0358302 Jy ! Component: 100 - total flux cleaned = 0.0480747 Jy ! Component: 150 - total flux cleaned = 0.0531797 Jy ! Component: 200 - total flux cleaned = 0.0554799 Jy ! Total flux subtracted in 200 components = 0.0554799 Jy ! Clean residual min=-0.012599 max=0.014180 Jy/beam ! Clean residual mean=0.000068 rms=0.003248 Jy/beam ! Combined flux in latest and established models = 2.18123 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 49 components and 2.18123 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.169779Jy sigma=0.001644 ! Fit after self-cal, rms=0.168842Jy sigma=0.001633 ! 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.168842Jy sigma=0.001633 ! Fit after self-cal, rms=0.165346Jy sigma=0.001610 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.053 mas, bmaj=2.178 mas, bpa=-14.55 degrees ! Estimated noise=615.72 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0133801 Jy ! Component: 100 - total flux cleaned = 0.0157222 Jy ! Component: 150 - total flux cleaned = 0.0167635 Jy ! Component: 200 - total flux cleaned = 0.0169726 Jy ! Total flux subtracted in 200 components = 0.0169726 Jy ! Clean residual min=-0.010161 max=0.008688 Jy/beam ! Clean residual mean=0.000041 rms=0.002392 Jy/beam ! Combined flux in latest and established models = 2.1982 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 66 components and 2.1982 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.163888Jy sigma=0.001591 ! Fit after self-cal, rms=0.163629Jy sigma=0.001588 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.00340583 Jy ! Component: 100 - total flux cleaned = 0.00437763 Jy ! Component: 150 - total flux cleaned = 0.00470778 Jy ! Component: 200 - total flux cleaned = 0.00471444 Jy ! Total flux subtracted in 200 components = 0.00471444 Jy ! Clean residual min=-0.009167 max=0.007740 Jy/beam ! Clean residual mean=0.000045 rms=0.002205 Jy/beam ! Combined flux in latest and established models = 2.20292 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 75 components and 2.20292 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.163203Jy sigma=0.001582 ! Fit after self-cal, rms=0.163116Jy sigma=0.001582 ! 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.163116Jy sigma=0.001582 ! Fit after self-cal, rms=0.161039Jy sigma=0.001562 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.055 mas, bmaj=2.178 mas, bpa=-14.56 degrees ! Estimated noise=615.609 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00510827 Jy ! Component: 100 - total flux cleaned = 0.00542538 Jy ! Component: 150 - total flux cleaned = 0.00543106 Jy ! Component: 200 - total flux cleaned = 0.00543601 Jy ! Total flux subtracted in 200 components = 0.00543601 Jy ! Clean residual min=-0.006922 max=0.007249 Jy/beam ! Clean residual mean=0.000023 rms=0.001759 Jy/beam ! Combined flux in latest and established models = 2.20835 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 82 components and 2.20835 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.160643Jy sigma=0.001558 ! Fit after self-cal, rms=0.160577Jy sigma=0.001557 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.00152793 Jy ! Component: 100 - total flux cleaned = 0.0021293 Jy ! Component: 150 - total flux cleaned = 0.0023305 Jy ! Component: 200 - total flux cleaned = 0.0025113 Jy ! Total flux subtracted in 200 components = 0.0025113 Jy ! Clean residual min=-0.006560 max=0.006647 Jy/beam ! Clean residual mean=0.000024 rms=0.001700 Jy/beam ! Combined flux in latest and established models = 2.21087 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 86 components and 2.21087 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.160415Jy sigma=0.001555 ! Fit after self-cal, rms=0.160379Jy sigma=0.001555 ! 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. ! ! Fit before self-cal, rms=0.160379Jy sigma=0.001555 ! Fit after self-cal, rms=0.160155Jy sigma=0.001554 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.484 mas, bmaj=2.835 mas, bpa=-12.33 degrees ! Estimated noise=729.168 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00202639 Jy ! Component: 100 - total flux cleaned = 0.0030425 Jy ! Component: 150 - total flux cleaned = 0.00312972 Jy ! Component: 200 - total flux cleaned = 0.00305919 Jy ! Total flux subtracted in 200 components = 0.00305919 Jy ! Clean residual min=-0.005408 max=0.006231 Jy/beam ! Clean residual mean=0.000039 rms=0.001874 Jy/beam ! Combined flux in latest and established models = 2.21393 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 99 components and 2.21393 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.160091Jy sigma=0.001553 ! Fit after self-cal, rms=0.160027Jy sigma=0.001552 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 = 5.3237e-06 Jy ! Component: 100 - total flux cleaned = 0.000594121 Jy ! Component: 150 - total flux cleaned = 0.000659429 Jy ! Component: 200 - total flux cleaned = 0.000608564 Jy ! Total flux subtracted in 200 components = 0.000608564 Jy ! Clean residual min=-0.005328 max=0.005944 Jy/beam ! Clean residual mean=0.000041 rms=0.001845 Jy/beam ! Combined flux in latest and established models = 2.21453 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 108 components and 2.21453 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.159992Jy sigma=0.001552 ! Fit after self-cal, rms=0.159950Jy sigma=0.001551 ! 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=1.056 mas, bmaj=2.178 mas, bpa=-14.56 degrees ! Estimated noise=615.481 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.056 x 2.178 at -14.56 degrees (North through East) ! Clean map min=-0.0061956 max=1.7503 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.159950Jy sigma=0.001551 ! Fit after self-cal, rms=0.719119Jy sigma=0.001342 ! Inverting map and beam ! Estimated beam: bmin=1.056 mas, bmaj=2.182 mas, bpa=-14.56 degrees ! Estimated noise=615.283 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000213142 Jy ! Component: 100 - total flux cleaned = -0.000520792 Jy ! Component: 150 - total flux cleaned = -0.00115171 Jy ! Component: 200 - total flux cleaned = -0.0014735 Jy ! Total flux subtracted in 200 components = -0.0014735 Jy ! Clean residual min=-0.005515 max=0.006014 Jy/beam ! Clean residual mean=0.000016 rms=0.001408 Jy/beam ! Combined flux in latest and established models = 2.21306 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 115 components and 2.21306 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.719063Jy sigma=0.001341 ! Fit after self-cal, rms=0.719046Jy sigma=0.001341 ! Inverting map ! Added new window around map position (-9.6, 4.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00352737 Jy ! Component: 100 - total flux cleaned = 0.00394179 Jy ! Component: 150 - total flux cleaned = 0.00404332 Jy ! Component: 200 - total flux cleaned = 0.00432451 Jy ! Total flux subtracted in 200 components = 0.00432451 Jy ! Clean residual min=-0.005341 max=0.005019 Jy/beam ! Clean residual mean=0.000017 rms=0.001297 Jy/beam ! Combined flux in latest and established models = 2.21738 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 128 components and 2.21738 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.718984Jy sigma=0.001338 ! Fit after self-cal, rms=0.718988Jy sigma=0.001337 ! 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.718988Jy sigma=0.001337 ! Fit after self-cal, rms=0.707075Jy sigma=0.001337 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.9955 mas, bmaj=1.655 mas, bpa=-16.11 degrees ! Estimated noise=1130.39 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.35315 Jy ! Component: 100 - total flux cleaned = 1.73179 Jy ! Component: 150 - total flux cleaned = 1.90229 Jy ! Component: 200 - total flux cleaned = 1.98835 Jy ! Total flux subtracted in 200 components = 1.98835 Jy ! Clean residual min=-0.016306 max=0.044303 Jy/beam ! Clean residual mean=0.000039 rms=0.005747 Jy/beam ! Combined flux in latest and established models = 1.98835 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 22 model components to the UV plane model. ! The established model now contains 22 components and 1.98835 Jy ! Inverting map and beam ! Estimated beam: bmin=1.057 mas, bmaj=2.182 mas, bpa=-14.55 degrees ! Estimated noise=615.09 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.0676187 Jy ! Component: 100 - total flux cleaned = 0.109535 Jy ! Component: 150 - total flux cleaned = 0.137384 Jy ! Component: 200 - total flux cleaned = 0.156598 Jy ! Total flux subtracted in 200 components = 0.156598 Jy ! Clean residual min=-0.008147 max=0.011038 Jy/beam ! Clean residual mean=0.000039 rms=0.002405 Jy/beam ! Combined flux in latest and established models = 2.14495 Jy ! Adding 55 model components to the UV plane model. ! The established model now contains 71 components and 2.14495 Jy ! Inverting map ! Added new window around map position (-2.8, 2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0141746 Jy ! Component: 100 - total flux cleaned = 0.0251696 Jy ! Component: 150 - total flux cleaned = 0.0339901 Jy ! Component: 200 - total flux cleaned = 0.0412918 Jy ! Total flux subtracted in 200 components = 0.0412918 Jy ! Clean residual min=-0.005798 max=0.005915 Jy/beam ! Clean residual mean=0.000025 rms=0.001447 Jy/beam ! Combined flux in latest and established models = 2.18624 Jy ! Adding 41 model components to the UV plane model. ! The established model now contains 104 components and 2.18624 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=1.047 mas, bmaj=2.136 mas, bpa=-15.6 degrees ! Estimated noise=721.537 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0179735 Jy ! Component: 100 - total flux cleaned = 0.031193 Jy ! Component: 150 - total flux cleaned = 0.0402334 Jy ! Component: 200 - total flux cleaned = 0.0483751 Jy ! Total flux subtracted in 200 components = 0.0483751 Jy ! Clean residual min=-0.013903 max=0.013832 Jy/beam ! Clean residual mean=0.000054 rms=0.005244 Jy/beam ! Combined flux in latest and established models = 2.23462 Jy clean ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0048301 Jy ! Component: 100 - total flux cleaned = 0.00771616 Jy ! Component: 150 - total flux cleaned = 0.0096798 Jy ! Component: 200 - total flux cleaned = 0.0104324 Jy ! Total flux subtracted in 200 components = 0.0104324 Jy ! Clean residual min=-0.013872 max=0.013751 Jy/beam ! Clean residual mean=0.000055 rms=0.005209 Jy/beam ! Combined flux in latest and established models = 2.24505 Jy selfcal ! Performing phase self-cal ! Adding 60 model components to the UV plane model. ! The established model now contains 159 components and 2.24505 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.705910Jy sigma=0.001350 ! Fit after self-cal, rms=0.705832Jy sigma=0.001348 wmodel J0136+4751_X_2011_08_02_pus_map.mod ! Writing 159 model components to file: J0136+4751_X_2011_08_02_pus_map.mod wobs J0136+4751_X_2011_08_02_pus_uvs.fits ! Writing UV FITS file: J0136+4751_X_2011_08_02_pus_uvs.fits wwins J0136+4751_X_2011_08_02_pus_map.win ! wwins: Wrote 4 windows to J0136+4751_X_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.00187518 Jy ! Component: 100 - total flux cleaned = 0.00390279 Jy ! Component: 150 - total flux cleaned = 0.0056186 Jy ! Component: 200 - total flux cleaned = 0.00729441 Jy ! Component: 250 - total flux cleaned = 0.00917218 Jy ! Component: 300 - total flux cleaned = 0.0103288 Jy ! Component: 350 - total flux cleaned = 0.0123773 Jy ! Component: 400 - total flux cleaned = 0.0137243 Jy ! Component: 450 - total flux cleaned = 0.0150552 Jy ! Component: 500 - total flux cleaned = 0.0161541 Jy ! Component: 550 - total flux cleaned = 0.0170204 Jy ! Component: 600 - total flux cleaned = 0.0172363 Jy ! Component: 650 - total flux cleaned = 0.0180894 Jy ! Component: 700 - total flux cleaned = 0.0195645 Jy ! Component: 750 - total flux cleaned = 0.0206114 Jy ! Component: 800 - total flux cleaned = 0.0212319 Jy ! Component: 850 - total flux cleaned = 0.0212329 Jy ! Component: 900 - total flux cleaned = 0.0212348 Jy ! Component: 950 - total flux cleaned = 0.0220459 Jy ! Component: 1000 - total flux cleaned = 0.0214426 Jy ! Component: 1050 - total flux cleaned = 0.0220424 Jy ! Component: 1100 - total flux cleaned = 0.0222422 Jy ! Component: 1150 - total flux cleaned = 0.0226381 Jy ! Component: 1200 - total flux cleaned = 0.0238174 Jy ! Component: 1250 - total flux cleaned = 0.0238174 Jy ! Component: 1300 - total flux cleaned = 0.0245946 Jy ! Component: 1350 - total flux cleaned = 0.0247889 Jy ! Component: 1400 - total flux cleaned = 0.0251747 Jy ! Component: 1450 - total flux cleaned = 0.0247953 Jy ! Component: 1500 - total flux cleaned = 0.0263174 Jy ! Component: 1550 - total flux cleaned = 0.0257493 Jy ! Component: 1600 - total flux cleaned = 0.0263158 Jy ! Component: 1650 - total flux cleaned = 0.0268798 Jy ! Component: 1700 - total flux cleaned = 0.0268798 Jy ! Component: 1750 - total flux cleaned = 0.0276235 Jy ! Component: 1800 - total flux cleaned = 0.0281781 Jy ! Component: 1850 - total flux cleaned = 0.0272574 Jy ! Component: 1900 - total flux cleaned = 0.0278073 Jy ! Component: 1950 - total flux cleaned = 0.0283555 Jy ! Component: 2000 - total flux cleaned = 0.0283545 Jy ! Total flux subtracted in 2048 components = 0.0290796 Jy ! Clean residual min=-0.009689 max=0.010258 Jy/beam ! Clean residual mean=0.000017 rms=0.004558 Jy/beam ! Combined flux in latest and established models = 2.27413 Jy keep ! Adding 257 model components to the UV plane model. ! The established model now contains 416 components and 2.27413 Jy ![Exited script file: muppet] wmap "J0136+4751_X_2011_08_02_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.047 x 2.136 at -15.6 degrees (North through East) ! Clean map min=-0.012544 max=1.7611 Jy/beam ! Writing clean map to FITS file: J0136+4751_X_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.76109 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00454592 device "J0136+4751_X_2011_08_02_pus\_map.eps/VPS" ! Attempting to open device: 'J0136+4751_X_2011_08_02_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.774392 0.774392 1.54878 3.09757 6.19514 12.3903 24.7805 49.5611 99.1222 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0136 print "peak=",int(1000*peak_flux)/1000 ! peak= 1.761 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.047 x 2.136 at -15.6 degrees (North through East) ! Clean map min=-0.012544 max=1.7611 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0136+4751_X_2011_08_02_pus\_map.gif/vgif" ! Attempting to open device: 'J0136+4751_X_2011_08_02_pus_map.gif/vgif' mapplot cln