! Started logfile: ./J0218+3640_X_uvs.log on Mon Oct 28 15:37:13 2013 obs J0218+3640_X_uvm.fits ! Reading UV FITS file: J0218+3640_X_uvm.fits ! AN table 1: 33 integrations on 28 of 28 possible baselines. ! AN table 2: 19 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.962912 visibilities/baseline/integration-bin. ! Found source: J0218+3640 ! ! 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 0 lines of history. ! ! Reading 11216 visibilities. select RR ! 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 ![@/home/lpetrov/bin/01_muppet ./J0218+3640_X] 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 = 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 5 telescope corrections were flagged in sub-array 1. ! A total of 3 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 3 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 3 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 3 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 5. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 3 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 6. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 3 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 7. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 3 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 8. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 3 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.035731Jy sigma=11.418237 ! Fit after self-cal, rms=0.731974Jy sigma=7.999094 ! 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.8767 mas, bmaj=2.039 mas, bpa=-6.925 degrees ! Estimated noise=1.17788 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.2072 Jy ! Component: 100 - total flux cleaned = 0.252587 Jy ! Total flux subtracted in 100 components = 0.252587 Jy ! Clean residual min=-0.005154 max=0.013813 Jy/beam ! Clean residual mean=-0.000019 rms=0.001385 Jy/beam ! Combined flux in latest and established models = 0.252587 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 6 components and 0.252587 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.039897Jy sigma=0.457921 ! Fit after self-cal, rms=0.039891Jy sigma=0.457878 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0138283 Jy ! Component: 100 - total flux cleaned = 0.0214828 Jy ! Total flux subtracted in 100 components = 0.0214828 Jy ! Clean residual min=-0.004598 max=0.005086 Jy/beam ! Clean residual mean=-0.000013 rms=0.001100 Jy/beam ! Combined flux in latest and established models = 0.27407 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 21 components and 0.27407 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.034027Jy sigma=0.371841 ! Fit after self-cal, rms=0.034030Jy sigma=0.371816 ! 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.132 mas, bmaj=2.459 mas, bpa=-7.2 degrees ! Estimated noise=0.618485 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.00689187 Jy ! Component: 100 - total flux cleaned = 0.0107894 Jy ! Component: 150 - total flux cleaned = 0.0131154 Jy ! Component: 200 - total flux cleaned = 0.0145815 Jy ! Total flux subtracted in 200 components = 0.0145815 Jy ! Clean residual min=-0.004519 max=0.004413 Jy/beam ! Clean residual mean=-0.000016 rms=0.001048 Jy/beam ! Combined flux in latest and established models = 0.288651 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 39 components and 0.288651 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.032943Jy sigma=0.351562 ! Fit after self-cal, rms=0.032943Jy sigma=0.351507 ! 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 1.03 HN 0.90 KP 0.96 LA 1.00 ! MK 0.99 NL 1.01 OV 1.01 PT 0.87 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.13 HN 0.98 KP 1.01 LA 1.06 ! NL 1.08 OV 1.05 PT 0.91 SC 0.97 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 HN 0.89 KP 0.97 LA 0.96 ! MK 1.02 NL 1.02 OV 0.97 PT 0.91 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.16 HN 0.97 KP 1.02 LA 1.01 ! NL 1.09 OV 1.00 PT 0.96 SC 0.97 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.82 HN 0.93 KP 1.05 LA 0.92 ! MK 1.07 NL 1.01 OV 1.02 PT 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.90 HN 1.00 KP 1.11 LA 0.99 ! NL 1.08 OV 1.06 PT 0.96 SC 1.03 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 HN 0.97 KP 0.93 LA 0.97 ! MK 1.08 NL 0.98 OV 1.01 PT 0.98 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 HN 1.07 KP 0.99 LA 1.03 ! NL 1.04 OV 1.06 PT 1.01 SC 1.05 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 HN 0.97 KP 1.07 LA 0.97 ! MK 0.99 NL 0.95 OV 1.00 PT 0.93 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.99 HN 1.01 KP 1.14 LA 1.03 ! NL 1.03 OV 1.05 PT 0.97 SC 1.00 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 HN 1.05 KP 1.02 LA 1.03 ! MK 1.02 NL 1.00 OV 1.05 PT 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 HN 1.13 KP 1.10 LA 1.09 ! NL 1.09 OV 1.11 PT 1.01 SC 1.03 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 HN 0.97 KP 1.01 LA 0.93 ! MK 1.00 NL 1.01 OV 1.05 PT 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.04 HN 1.04 KP 1.06 LA 1.00 ! NL 1.08 OV 1.09 PT 0.95 SC 1.00 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.14 HN 0.97 KP 1.05 LA 0.89 ! MK 1.00 NL 0.99 OV 1.06 PT 0.87 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.20 HN 1.04 KP 1.13 LA 0.95 ! NL 1.05 OV 1.11 PT 0.91 SC 1.13 ! ! ! Fit before self-cal, rms=0.032943Jy sigma=0.351507 ! Fit after self-cal, rms=0.020593Jy sigma=0.198660 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.136 mas, bmaj=2.477 mas, bpa=-7.547 degrees ! Estimated noise=0.616315 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.00160983 Jy ! Component: 100 - total flux cleaned = -0.00185927 Jy ! Component: 150 - total flux cleaned = -0.00188489 Jy ! Component: 200 - total flux cleaned = -0.00192968 Jy ! Total flux subtracted in 200 components = -0.00192968 Jy ! Clean residual min=-0.001523 max=0.001495 Jy/beam ! Clean residual mean=0.000002 rms=0.000373 Jy/beam ! Combined flux in latest and established models = 0.286722 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 49 components and 0.286722 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.020369Jy sigma=0.197794 ! Fit after self-cal, rms=0.020360Jy sigma=0.197754 ! 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.020360Jy sigma=0.197754 ! Fit after self-cal, rms=0.018767Jy sigma=0.179631 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.137 mas, bmaj=2.474 mas, bpa=-7.441 degrees ! Estimated noise=0.614365 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00108629 Jy ! Component: 100 - total flux cleaned = -0.0016864 Jy ! Component: 150 - total flux cleaned = -0.00193212 Jy ! Component: 200 - total flux cleaned = -0.00201496 Jy ! Total flux subtracted in 200 components = -0.00201496 Jy ! Clean residual min=-0.000810 max=0.000762 Jy/beam ! Clean residual mean=-0.000000 rms=0.000176 Jy/beam ! Combined flux in latest and established models = 0.284707 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 57 components and 0.284707 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.018676Jy sigma=0.179116 ! Fit after self-cal, rms=0.018677Jy sigma=0.179090 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.000121976 Jy ! Component: 100 - total flux cleaned = -0.00012187 Jy ! Component: 150 - total flux cleaned = -0.000130375 Jy ! Component: 200 - total flux cleaned = -0.000122993 Jy ! Total flux subtracted in 200 components = -0.000122993 Jy ! Clean residual min=-0.000800 max=0.000751 Jy/beam ! Clean residual mean=-0.000000 rms=0.000176 Jy/beam ! Combined flux in latest and established models = 0.284584 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 64 components and 0.284584 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.018669Jy sigma=0.178984 ! Fit after self-cal, rms=0.018669Jy sigma=0.178974 ! 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.018669Jy sigma=0.178974 ! Fit after self-cal, rms=0.018565Jy sigma=0.177918 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.139 mas, bmaj=2.478 mas, bpa=-7.446 degrees ! Estimated noise=0.613374 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000825602 Jy ! Component: 100 - total flux cleaned = -0.00130028 Jy ! Component: 150 - total flux cleaned = -0.00152017 Jy ! Component: 200 - total flux cleaned = -0.00156579 Jy ! Total flux subtracted in 200 components = -0.00156579 Jy ! Clean residual min=-0.000687 max=0.000627 Jy/beam ! Clean residual mean=-0.000001 rms=0.000155 Jy/beam ! Combined flux in latest and established models = 0.283018 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 68 components and 0.283018 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.018515Jy sigma=0.177624 ! Fit after self-cal, rms=0.018515Jy sigma=0.177615 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 = -1.38067e-05 Jy ! Component: 100 - total flux cleaned = -6.48585e-06 Jy ! Component: 150 - total flux cleaned = 7.56558e-06 Jy ! Component: 200 - total flux cleaned = 1.42429e-05 Jy ! Total flux subtracted in 200 components = 1.42429e-05 Jy ! Clean residual min=-0.000676 max=0.000628 Jy/beam ! Clean residual mean=-0.000001 rms=0.000154 Jy/beam ! Combined flux in latest and established models = 0.283032 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 69 components and 0.283032 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.018514Jy sigma=0.177532 ! Fit after self-cal, rms=0.018514Jy sigma=0.177527 ! 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.018514Jy sigma=0.177527 ! Fit after self-cal, rms=0.018490Jy sigma=0.177235 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.118 mas, bmaj=3.073 mas, bpa=-8.412 degrees ! Estimated noise=0.700983 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000734509 Jy ! Component: 100 - total flux cleaned = -0.0010151 Jy ! Component: 150 - total flux cleaned = -0.00109708 Jy ! Component: 200 - total flux cleaned = -0.0011014 Jy ! Total flux subtracted in 200 components = -0.0011014 Jy ! Clean residual min=-0.000712 max=0.000730 Jy/beam ! Clean residual mean=-0.000002 rms=0.000175 Jy/beam ! Combined flux in latest and established models = 0.281931 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 81 components and 0.281931 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.018446Jy sigma=0.177314 ! Fit after self-cal, rms=0.018446Jy sigma=0.177297 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 = 2.63631e-06 Jy ! Component: 100 - total flux cleaned = 1.29633e-05 Jy ! Component: 150 - total flux cleaned = 1.28274e-05 Jy ! Component: 200 - total flux cleaned = 1.28085e-05 Jy ! Total flux subtracted in 200 components = 1.28085e-05 Jy ! Clean residual min=-0.000711 max=0.000727 Jy/beam ! Clean residual mean=-0.000002 rms=0.000175 Jy/beam ! Combined flux in latest and established models = 0.281944 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 82 components and 0.281944 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.018447Jy sigma=0.177283 ! Fit after self-cal, rms=0.018447Jy sigma=0.177276 ! 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.14 mas, bmaj=2.481 mas, bpa=-7.461 degrees ! Estimated noise=0.612226 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.14 x 2.481 at -7.461 degrees (North through East) ! Clean map min=-0.00060156 max=0.26815 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.8806 mas, bmaj=2.057 mas, bpa=-7.171 degrees ! Estimated noise=1.17298 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.206328 Jy ! Component: 100 - total flux cleaned = 0.251373 Jy ! Component: 150 - total flux cleaned = 0.263489 Jy ! Component: 200 - total flux cleaned = 0.26985 Jy ! Total flux subtracted in 200 components = 0.26985 Jy ! Clean residual min=-0.001653 max=0.003257 Jy/beam ! Clean residual mean=-0.000005 rms=0.000378 Jy/beam ! Combined flux in latest and established models = 0.26985 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 19 model components to the UV plane model. ! The established model now contains 19 components and 0.26985 Jy ! Inverting map and beam ! Estimated beam: bmin=1.14 mas, bmaj=2.481 mas, bpa=-7.461 degrees ! Estimated noise=0.612226 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.0051935 Jy ! Component: 100 - total flux cleaned = 0.00796546 Jy ! Component: 150 - total flux cleaned = 0.00959832 Jy ! Component: 200 - total flux cleaned = 0.0105806 Jy ! Total flux subtracted in 200 components = 0.0105806 Jy ! Clean residual min=-0.000706 max=0.000812 Jy/beam ! Clean residual mean=-0.000002 rms=0.000166 Jy/beam ! Combined flux in latest and established models = 0.280431 Jy ! Adding 24 model components to the UV plane model. ! The established model now contains 39 components and 0.280431 Jy ! Inverting map ! Added new window around map position (-7, 7.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000826265 Jy ! Component: 100 - total flux cleaned = 0.00128735 Jy ! Component: 150 - total flux cleaned = 0.00146448 Jy ! Component: 200 - total flux cleaned = 0.00158825 Jy ! Total flux subtracted in 200 components = 0.00158825 Jy ! Clean residual min=-0.000631 max=0.000660 Jy/beam ! Clean residual mean=-0.000001 rms=0.000148 Jy/beam ! Combined flux in latest and established models = 0.282019 Jy ! Adding 23 model components to the UV plane model. ! The established model now contains 59 components and 0.282019 Jy ! Inverting map ! Added new window around map position (-6, -41.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000555397 Jy ! Component: 100 - total flux cleaned = 0.000716113 Jy ! Component: 150 - total flux cleaned = 0.000821577 Jy ! Component: 200 - total flux cleaned = 0.000907118 Jy ! Total flux subtracted in 200 components = 0.000907118 Jy ! Clean residual min=-0.000598 max=0.000611 Jy/beam ! Clean residual mean=-0.000001 rms=0.000140 Jy/beam ! Combined flux in latest and established models = 0.282926 Jy ! Adding 26 model components to the UV plane model. ! The established model now contains 70 components and 0.282926 Jy ! Inverting map ! Added new window around map position (-33, 13). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000449788 Jy ! Component: 100 - total flux cleaned = 0.000625462 Jy ! Component: 150 - total flux cleaned = 0.000678899 Jy ! Component: 200 - total flux cleaned = 0.000729629 Jy ! Total flux subtracted in 200 components = 0.000729629 Jy ! Clean residual min=-0.000595 max=0.000595 Jy/beam ! Clean residual mean=-0.000001 rms=0.000136 Jy/beam ! Combined flux in latest and established models = 0.283656 Jy ! Adding 36 model components to the UV plane model. ! The established model now contains 89 components and 0.283656 Jy ! Inverting map ! Added new window around map position (7.6, -10.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000130248 Jy ! Component: 100 - total flux cleaned = 0.000226757 Jy ! Component: 150 - total flux cleaned = 0.000242117 Jy ! Component: 200 - total flux cleaned = 0.00027887 Jy ! Total flux subtracted in 200 components = 0.00027887 Jy ! Clean residual min=-0.000588 max=0.000531 Jy/beam ! Clean residual mean=-0.000000 rms=0.000130 Jy/beam ! Combined flux in latest and established models = 0.283935 Jy ! Adding 22 model components to the UV plane model. ! The established model now contains 107 components and 0.283935 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.118 mas, bmaj=3.073 mas, bpa=-8.412 degrees ! Estimated noise=0.700983 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000112241 Jy ! Component: 100 - total flux cleaned = 0.000211658 Jy ! Component: 150 - total flux cleaned = 0.000288191 Jy ! Component: 200 - total flux cleaned = 0.000364432 Jy ! Total flux subtracted in 200 components = 0.000364432 Jy ! Clean residual min=-0.000529 max=0.000672 Jy/beam ! Clean residual mean=-0.000001 rms=0.000143 Jy/beam ! Combined flux in latest and established models = 0.284299 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) ! Added new window around map position (11.8, -8.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000406275 Jy ! Component: 100 - total flux cleaned = 0.00048965 Jy ! Component: 150 - total flux cleaned = 0.000583965 Jy ! Component: 200 - total flux cleaned = 0.000650201 Jy ! Total flux subtracted in 200 components = 0.000650201 Jy ! Clean residual min=-0.000469 max=0.000489 Jy/beam ! Clean residual mean=-0.000000 rms=0.000133 Jy/beam ! Combined flux in latest and established models = 0.284949 Jy ! Adding 52 model components to the UV plane model. ! The established model now contains 152 components and 0.284949 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.14 mas, bmaj=2.481 mas, bpa=-7.461 degrees ! Estimated noise=0.612226 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.38319e-05 Jy ! Component: 100 - total flux cleaned = -6.58044e-07 Jy ! Component: 150 - total flux cleaned = 1.09444e-05 Jy ! Component: 200 - total flux cleaned = 3.28246e-05 Jy ! Total flux subtracted in 200 components = 3.28246e-05 Jy ! Clean residual min=-0.000532 max=0.000517 Jy/beam ! Clean residual mean=-0.000000 rms=0.000121 Jy/beam ! Combined flux in latest and established models = 0.284982 Jy selfcal ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 174 components and 0.284982 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.018344Jy sigma=0.175628 ! Fit after self-cal, rms=0.018335Jy sigma=0.175516 wmodel ./J0218+3640_X_map.mod ! Writing 174 model components to file: ./J0218+3640_X_map.mod wobs ./J0218+3640_X_uvs.fits ! Writing UV FITS file: ./J0218+3640_X_uvs.fits wwins ./J0218+3640_X_map.win ! wwins: Wrote 6 windows to ./J0218+3640_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 = -2.01568e-05 Jy ! Component: 100 - total flux cleaned = -6.4507e-05 Jy ! Component: 150 - total flux cleaned = -8.9967e-05 Jy ! Component: 200 - total flux cleaned = -4.95253e-05 Jy ! Component: 250 - total flux cleaned = -3.39256e-05 Jy ! Component: 300 - total flux cleaned = 2.00089e-05 Jy ! Component: 350 - total flux cleaned = 6.51597e-05 Jy ! Component: 400 - total flux cleaned = 5.03592e-05 Jy ! Component: 450 - total flux cleaned = 7.22154e-05 Jy ! Component: 500 - total flux cleaned = 6.50893e-05 Jy ! Component: 550 - total flux cleaned = 8.61579e-05 Jy ! Component: 600 - total flux cleaned = 8.60369e-05 Jy ! Component: 650 - total flux cleaned = 8.60377e-05 Jy ! Component: 700 - total flux cleaned = 0.000106218 Jy ! Component: 750 - total flux cleaned = 0.000112858 Jy ! Component: 800 - total flux cleaned = 0.000119479 Jy ! Component: 850 - total flux cleaned = 0.000100083 Jy ! Component: 900 - total flux cleaned = 0.000106698 Jy ! Component: 950 - total flux cleaned = 9.4128e-05 Jy ! Component: 1000 - total flux cleaned = 0.000106823 Jy ! Component: 1050 - total flux cleaned = 0.000119256 Jy ! Component: 1100 - total flux cleaned = 0.000113027 Jy ! Component: 1150 - total flux cleaned = 0.000100827 Jy ! Component: 1200 - total flux cleaned = 9.47945e-05 Jy ! Component: 1250 - total flux cleaned = 0.00010686 Jy ! Component: 1300 - total flux cleaned = 8.90679e-05 Jy ! Component: 1350 - total flux cleaned = 0.000100915 Jy ! Component: 1400 - total flux cleaned = 8.33698e-05 Jy ! Component: 1450 - total flux cleaned = 8.92197e-05 Jy ! Component: 1500 - total flux cleaned = 8.34768e-05 Jy ! Component: 1550 - total flux cleaned = 7.20491e-05 Jy ! Component: 1600 - total flux cleaned = 8.33274e-05 Jy ! Component: 1650 - total flux cleaned = 8.3314e-05 Jy ! Component: 1700 - total flux cleaned = 8.88697e-05 Jy ! Component: 1750 - total flux cleaned = 7.77661e-05 Jy ! Component: 1800 - total flux cleaned = 6.13296e-05 Jy ! Component: 1850 - total flux cleaned = 6.67373e-05 Jy ! Component: 1900 - total flux cleaned = 7.7494e-05 Jy ! Component: 1950 - total flux cleaned = 6.13426e-05 Jy ! Component: 2000 - total flux cleaned = 6.13062e-05 Jy ! Component: 2050 - total flux cleaned = 4.54078e-05 Jy ! Component: 2100 - total flux cleaned = 4.54146e-05 Jy ! Component: 2150 - total flux cleaned = 5.06964e-05 Jy ! Component: 2200 - total flux cleaned = 4.55445e-05 Jy ! Component: 2250 - total flux cleaned = 7.13715e-05 Jy ! Component: 2300 - total flux cleaned = 7.13389e-05 Jy ! Component: 2350 - total flux cleaned = 7.64732e-05 Jy ! Component: 2400 - total flux cleaned = 7.65007e-05 Jy ! Component: 2450 - total flux cleaned = 9.66885e-05 Jy ! Component: 2500 - total flux cleaned = 9.16457e-05 Jy ! Component: 2550 - total flux cleaned = 9.16699e-05 Jy ! Component: 2600 - total flux cleaned = 0.000106567 Jy ! Component: 2650 - total flux cleaned = 0.000116453 Jy ! Component: 2700 - total flux cleaned = 0.000116429 Jy ! Component: 2750 - total flux cleaned = 0.000131056 Jy ! Component: 2800 - total flux cleaned = 0.000126185 Jy ! Component: 2850 - total flux cleaned = 0.000155138 Jy ! Component: 2900 - total flux cleaned = 0.000145515 Jy ! Component: 2950 - total flux cleaned = 0.000135964 Jy ! Component: 3000 - total flux cleaned = 0.000135925 Jy ! Component: 3050 - total flux cleaned = 0.000159579 Jy ! Component: 3100 - total flux cleaned = 0.000140747 Jy ! Component: 3150 - total flux cleaned = 0.000145453 Jy ! Component: 3200 - total flux cleaned = 0.000145469 Jy ! Component: 3250 - total flux cleaned = 0.00014084 Jy ! Component: 3300 - total flux cleaned = 0.000150078 Jy ! Component: 3350 - total flux cleaned = 0.000140873 Jy ! Component: 3400 - total flux cleaned = 0.000168374 Jy ! Component: 3450 - total flux cleaned = 0.000163846 Jy ! Component: 3500 - total flux cleaned = 0.000168398 Jy ! Component: 3550 - total flux cleaned = 0.000150293 Jy ! Component: 3600 - total flux cleaned = 0.00016831 Jy ! Component: 3650 - total flux cleaned = 0.000154859 Jy ! Component: 3700 - total flux cleaned = 0.00015043 Jy ! Component: 3750 - total flux cleaned = 0.0001593 Jy ! Component: 3800 - total flux cleaned = 0.000172579 Jy ! Component: 3850 - total flux cleaned = 0.000163775 Jy ! Component: 3900 - total flux cleaned = 0.000163785 Jy ! Component: 3950 - total flux cleaned = 0.000168139 Jy ! Component: 4000 - total flux cleaned = 0.000163772 Jy ! Component: 4050 - total flux cleaned = 0.000172437 Jy ! Total flux subtracted in 4096 components = 0.000181085 Jy ! Clean residual min=-0.000236 max=0.000252 Jy/beam ! Clean residual mean=0.000000 rms=0.000078 Jy/beam ! Combined flux in latest and established models = 0.285163 Jy keep ! Adding 293 model components to the UV plane model. ! The established model now contains 467 components and 0.285163 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "./J0218+3640_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.14 x 2.481 at -7.461 degrees (North through East) ! Clean map min=-0.00062247 max=0.26812 Jy/beam ! Writing clean map to FITS file: ./J0218+3640_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.268116 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 7.76517e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.086886 0.086886 0.173772 0.347544 0.695088 1.39018 2.78035 5.56071 11.1214 22.2428 44.4857 88.9713 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.268 quit ! Quitting program ! Log file ./J0218+3640_X_uvs.log closed on Mon Oct 28 15:37:28 2013