! Started logfile: ./J0045+1217_X_uvs.log on Mon Oct 28 15:36:44 2013 obs J0045+1217_X_uva.fits ! Reading UV FITS file: J0045+1217_X_uva.fits ! AN table 1: 11 integrations on 36 of 36 possible baselines. ! AN table 2: 11 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.927048 visibilities/baseline/integration-bin. ! Found source: J0045+1217 ! ! 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 6608 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 ./J0045+1217_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 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.755555Jy sigma=2.951295 ! Fit after self-cal, rms=1.726215Jy sigma=2.880129 ! 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.9517 mas, bmaj=1.852 mas, bpa=9.021 degrees ! Estimated noise=10.6946 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.030874 Jy ! Component: 100 - total flux cleaned = 0.0391277 Jy ! Total flux subtracted in 100 components = 0.0391277 Jy ! Clean residual min=-0.003183 max=0.003816 Jy/beam ! Clean residual mean=-0.000035 rms=0.000739 Jy/beam ! Combined flux in latest and established models = 0.0391277 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.0391277 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.044795Jy sigma=0.057403 ! Fit after self-cal, rms=0.039569Jy sigma=0.046056 ! 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.252 mas, bmaj=2.253 mas, bpa=9.872 degrees ! Estimated noise=5.90959 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.0216084 Jy ! Component: 100 - total flux cleaned = -0.0264411 Jy ! Component: 150 - total flux cleaned = -0.027949 Jy ! Component: 200 - total flux cleaned = -0.0281972 Jy ! Total flux subtracted in 200 components = -0.0281972 Jy ! Clean residual min=-0.002957 max=0.001886 Jy/beam ! Clean residual mean=-0.000670 rms=0.000573 Jy/beam ! Combined flux in latest and established models = 0.0109306 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 18 components and 0.0109306 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.028935Jy sigma=0.040206 ! Fit after self-cal, rms=0.028814Jy sigma=0.040099 ! 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.00 FD 1.16 HN 0.82 KP 1.05 ! LA 1.00 NL 1.05 OV 0.99 PT 0.89 ! SC 1.09 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.15 FD 1.16 HN 0.94 KP 1.06 ! LA 1.06 MK 1.03 NL 1.14 OV 1.03 ! PT 0.92 SC 1.15 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.11 FD 0.99 HN 0.83 KP 0.99 ! LA 0.96 NL 1.08 OV 0.93 PT 0.87 ! SC 0.99 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.15 FD 1.05 HN 0.99 KP 1.11 ! LA 1.01 MK 1.09 NL 1.08 OV 0.99 ! PT 0.85 SC 1.06 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.88 FD 1.11 HN 0.91 KP 1.05 ! LA 0.95 NL 1.09 OV 1.07 PT 0.92 ! SC 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.93 FD 1.19 HN 1.13 KP 1.23 ! LA 1.00 MK 1.20 NL 1.04 OV 1.04 ! PT 0.85 SC 1.11 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.15 HN 0.88 KP 0.92 ! LA 0.96 NL 0.93 OV 0.95 PT 0.98 ! SC 1.09 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.10 FD 1.12 HN 1.21 KP 1.07 ! LA 1.02 MK 1.21 NL 1.09 OV 0.98 ! PT 0.98 SC 1.15 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.91 FD 1.09 HN 0.84 KP 1.03 ! LA 0.96 NL 0.86 OV 1.00 PT 0.93 ! SC 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.96 FD 1.07 HN 1.21 KP 1.16 ! LA 1.04 MK 1.52 NL 0.98 OV 1.06 ! PT 0.90 SC 1.05 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.05 HN 0.89 KP 0.99 ! LA 1.04 NL 0.93 OV 1.03 PT 0.97 ! SC 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.17 FD 1.04 HN 1.25 KP 1.24 ! LA 1.14 MK 1.32 NL 0.98 OV 0.95 ! PT 0.89 SC 1.02 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.03 HN 0.79 KP 1.04 ! LA 0.99 NL 0.98 OV 1.02 PT 0.94 ! SC 1.00 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.13 FD 1.09 HN 1.05 KP 1.09 ! LA 1.05 MK 1.04 NL 1.09 OV 1.14 ! PT 0.85 SC 1.11 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 1.05 HN 0.78 KP 0.94 ! LA 0.75 NL 0.94 OV 0.93 PT 0.81 ! SC 0.99 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.61 FD 0.46 HN 0.42 KP 0.49 ! LA 0.40 MK 0.23 NL 0.46 OV 0.51 ! PT 0.40 SC 0.61 ! ! ! Fit before self-cal, rms=0.028814Jy sigma=0.040099 ! Fit after self-cal, rms=0.027336Jy sigma=0.036213 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.165 mas, bmaj=2.244 mas, bpa=3.017 degrees ! Estimated noise=4.78395 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.00133353 Jy ! Component: 100 - total flux cleaned = -0.00180891 Jy ! Component: 150 - total flux cleaned = -0.00186485 Jy ! Component: 200 - total flux cleaned = -0.00189968 Jy ! Total flux subtracted in 200 components = -0.00189968 Jy ! Clean residual min=-0.001820 max=0.001049 Jy/beam ! Clean residual mean=-0.000525 rms=0.000348 Jy/beam ! Combined flux in latest and established models = 0.00903088 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 26 components and 0.00903088 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.031386Jy sigma=0.063662 ! Fit after self-cal, rms=0.030946Jy sigma=0.063377 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0164849 Jy ! Component: 100 - total flux cleaned = 0.0219406 Jy ! Component: 150 - total flux cleaned = 0.0240669 Jy ! Component: 200 - total flux cleaned = 0.0246055 Jy ! Total flux subtracted in 200 components = 0.0246055 Jy ! Clean residual min=-0.004422 max=0.002364 Jy/beam ! Clean residual mean=-0.000802 rms=0.000710 Jy/beam ! Combined flux in latest and established models = 0.0336363 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 32 components and 0.0336363 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.032604Jy sigma=0.050979 ! Fit after self-cal, rms=0.032126Jy sigma=0.050409 ! 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.032126Jy sigma=0.050409 ! Fit after self-cal, rms=0.031438Jy sigma=0.034339 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.211 mas, bmaj=2.26 mas, bpa=5.58 degrees ! Estimated noise=6.54255 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00294936 Jy ! Component: 100 - total flux cleaned = -0.00417312 Jy ! Component: 150 - total flux cleaned = -0.00461839 Jy ! Component: 200 - total flux cleaned = -0.00468732 Jy ! Total flux subtracted in 200 components = -0.00468732 Jy ! Clean residual min=-0.002731 max=0.001411 Jy/beam ! Clean residual mean=-0.000798 rms=0.000485 Jy/beam ! Combined flux in latest and established models = 0.028949 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 37 components and 0.028949 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.030772Jy sigma=0.034324 ! Fit after self-cal, rms=0.030786Jy sigma=0.034253 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.00124731 Jy ! Component: 100 - total flux cleaned = -0.00131284 Jy ! Component: 150 - total flux cleaned = -0.00137922 Jy ! Component: 200 - total flux cleaned = -0.00142008 Jy ! Total flux subtracted in 200 components = -0.00142008 Jy ! Clean residual min=-0.002734 max=0.001420 Jy/beam ! Clean residual mean=-0.000751 rms=0.000497 Jy/beam ! Combined flux in latest and established models = 0.0275289 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 39 components and 0.0275289 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.029240Jy sigma=0.034857 ! Fit after self-cal, rms=0.029230Jy sigma=0.034833 ! 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.029230Jy sigma=0.034833 ! Fit after self-cal, rms=0.028366Jy sigma=0.033560 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.254 mas, bmaj=2.296 mas, bpa=5.847 degrees ! Estimated noise=5.90868 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00232705 Jy ! Component: 100 - total flux cleaned = -0.00314192 Jy ! Component: 150 - total flux cleaned = -0.00351599 Jy ! Component: 200 - total flux cleaned = -0.00354821 Jy ! Total flux subtracted in 200 components = -0.00354821 Jy ! Clean residual min=-0.002516 max=0.001149 Jy/beam ! Clean residual mean=-0.000649 rms=0.000421 Jy/beam ! Combined flux in latest and established models = 0.0239807 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 41 components and 0.0239807 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.027349Jy sigma=0.034262 ! Fit after self-cal, rms=0.027345Jy sigma=0.034258 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 = 3.11064e-06 Jy ! Component: 100 - total flux cleaned = -1.6148e-05 Jy ! Component: 150 - total flux cleaned = -7.66203e-06 Jy ! Component: 200 - total flux cleaned = -7.50274e-06 Jy ! Total flux subtracted in 200 components = -7.50274e-06 Jy ! Clean residual min=-0.002505 max=0.001120 Jy/beam ! Clean residual mean=-0.000649 rms=0.000420 Jy/beam ! Combined flux in latest and established models = 0.0239732 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 45 components and 0.0239732 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.026270Jy sigma=0.035287 ! Fit after self-cal, rms=0.026308Jy sigma=0.035224 ! 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.026649Jy sigma=0.035142 ! Fit after self-cal, rms=0.025901Jy sigma=0.034201 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.408 mas, bmaj=3.387 mas, bpa=-0.3869 degrees ! Estimated noise=6.02025 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00223942 Jy ! Component: 100 - total flux cleaned = -0.00295117 Jy ! Component: 150 - total flux cleaned = -0.00314435 Jy ! Component: 200 - total flux cleaned = -0.00315212 Jy ! Total flux subtracted in 200 components = -0.00315212 Jy ! Clean residual min=-0.002864 max=0.000878 Jy/beam ! Clean residual mean=-0.000991 rms=0.000570 Jy/beam ! Combined flux in latest and established models = 0.0208211 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 52 components and 0.0208211 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.025212Jy sigma=0.034834 ! Fit after self-cal, rms=0.025212Jy sigma=0.034812 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 = -3.71496e-05 Jy ! Component: 100 - total flux cleaned = -5.11919e-05 Jy ! Component: 150 - total flux cleaned = -5.09975e-05 Jy ! Component: 200 - total flux cleaned = -5.11374e-05 Jy ! Total flux subtracted in 200 components = -5.11374e-05 Jy ! Clean residual min=-0.002855 max=0.000876 Jy/beam ! Clean residual mean=-0.000990 rms=0.000567 Jy/beam ! Combined flux in latest and established models = 0.02077 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 54 components and 0.02077 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.024287Jy sigma=0.035603 ! Fit after self-cal, rms=0.024283Jy sigma=0.035590 ! 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.275 mas, bmaj=2.327 mas, bpa=6.097 degrees ! Estimated noise=5.3493 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.275 x 2.327 at 6.097 degrees (North through East) ! Clean map min=-0.0021949 max=0.021255 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.9521 mas, bmaj=1.926 mas, bpa=4.817 degrees ! Estimated noise=9.49771 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0296841 Jy ! Component: 100 - total flux cleaned = 0.0389305 Jy ! Component: 150 - total flux cleaned = 0.0423386 Jy ! Component: 200 - total flux cleaned = 0.0427421 Jy ! Total flux subtracted in 200 components = 0.0427421 Jy ! Clean residual min=-0.002901 max=0.003016 Jy/beam ! Clean residual mean=-0.000028 rms=0.000612 Jy/beam ! Combined flux in latest and established models = 0.0427421 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 12 model components to the UV plane model. ! The established model now contains 12 components and 0.0427421 Jy ! Inverting map and beam ! Estimated beam: bmin=1.275 mas, bmaj=2.327 mas, bpa=6.097 degrees ! Estimated noise=5.3493 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.00192359 Jy ! Component: 100 - total flux cleaned = 0.00182109 Jy ! Component: 150 - total flux cleaned = 0.00162635 Jy ! Component: 200 - total flux cleaned = 0.00149771 Jy ! Total flux subtracted in 200 components = 0.00149771 Jy ! Clean residual min=-0.002858 max=0.001475 Jy/beam ! Clean residual mean=-0.000704 rms=0.000439 Jy/beam ! Combined flux in latest and established models = 0.0442398 Jy ! Adding 14 model components to the UV plane model. ! The established model now contains 24 components and 0.0442398 Jy ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.018637 Jy ! Component: 100 - total flux cleaned = 0.0243328 Jy ! Component: 150 - total flux cleaned = 0.025796 Jy ! Component: 200 - total flux cleaned = 0.025988 Jy ! Total flux subtracted in 200 components = 0.025988 Jy ! Clean residual min=-0.003436 max=0.002431 Jy/beam ! Clean residual mean=-0.000795 rms=0.000555 Jy/beam ! Combined flux in latest and established models = 0.0702278 Jy ! Adding 11 model components to the UV plane model. ! The established model now contains 24 components and 0.0702278 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.408 mas, bmaj=3.387 mas, bpa=-0.3869 degrees ! Estimated noise=6.02025 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0161685 Jy ! Component: 100 - total flux cleaned = -0.0200606 Jy ! Component: 150 - total flux cleaned = -0.0213576 Jy ! Component: 200 - total flux cleaned = -0.0218005 Jy ! Total flux subtracted in 200 components = -0.0218005 Jy ! Clean residual min=-0.003153 max=0.002156 Jy/beam ! Clean residual mean=-0.001191 rms=0.000669 Jy/beam ! Combined flux in latest and established models = 0.0484273 Jy flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -4.85373e-05 Jy ! Component: 100 - total flux cleaned = -6.90628e-05 Jy ! Component: 150 - total flux cleaned = -7.82069e-05 Jy ! Component: 200 - total flux cleaned = -8.72441e-05 Jy ! Total flux subtracted in 200 components = -8.72441e-05 Jy ! Clean residual min=-0.003126 max=0.002183 Jy/beam ! Clean residual mean=-0.001187 rms=0.000671 Jy/beam ! Combined flux in latest and established models = 0.04834 Jy ! Adding 15 model components to the UV plane model. ! The established model now contains 37 components and 0.04834 Jy ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0118118 Jy ! Component: 100 - total flux cleaned = 0.0144478 Jy ! Component: 150 - total flux cleaned = 0.0152151 Jy ! Component: 200 - total flux cleaned = 0.0154374 Jy ! Total flux subtracted in 200 components = 0.0154374 Jy ! Clean residual min=-0.003736 max=0.002679 Jy/beam ! Clean residual mean=-0.001329 rms=0.000798 Jy/beam ! Combined flux in latest and established models = 0.0637774 Jy ! Adding 12 model components to the UV plane model. ! The established model now contains 40 components and 0.0637774 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.275 mas, bmaj=2.327 mas, bpa=6.097 degrees ! Estimated noise=5.3493 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000527673 Jy ! Component: 100 - total flux cleaned = 0.000612722 Jy ! Component: 150 - total flux cleaned = 0.000682691 Jy ! Component: 200 - total flux cleaned = 0.00073956 Jy ! Total flux subtracted in 200 components = 0.00073956 Jy ! Clean residual min=-0.003404 max=0.002438 Jy/beam ! Clean residual mean=-0.000775 rms=0.000603 Jy/beam ! Combined flux in latest and established models = 0.0645169 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 48 components and 0.0645169 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.034673Jy sigma=0.060655 ! Fit after self-cal, rms=0.034616Jy sigma=0.060449 wmodel ./J0045+1217_X_map.mod ! Writing 48 model components to file: ./J0045+1217_X_map.mod wobs ./J0045+1217_X_uvs.fits ! Writing UV FITS file: ./J0045+1217_X_uvs.fits wwins ./J0045+1217_X_map.win ! wwins: Wrote 1 windows to ./J0045+1217_X_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.00151842 Jy ! Component: 100 - total flux cleaned = -0.0028765 Jy ! Component: 150 - total flux cleaned = -0.0041397 Jy ! Component: 200 - total flux cleaned = -0.00533388 Jy ! Component: 250 - total flux cleaned = -0.00629033 Jy ! Component: 300 - total flux cleaned = -0.00716492 Jy ! Component: 350 - total flux cleaned = -0.00800823 Jy ! Component: 400 - total flux cleaned = -0.00878318 Jy ! Component: 450 - total flux cleaned = -0.00953455 Jy ! Component: 500 - total flux cleaned = -0.0102268 Jy ! Component: 550 - total flux cleaned = -0.0108259 Jy ! Component: 600 - total flux cleaned = -0.0113378 Jy ! Component: 650 - total flux cleaned = -0.0118738 Jy ! Component: 700 - total flux cleaned = -0.0123632 Jy ! Component: 750 - total flux cleaned = -0.0128423 Jy ! Component: 800 - total flux cleaned = -0.0133114 Jy ! Component: 850 - total flux cleaned = -0.0137711 Jy ! Component: 900 - total flux cleaned = -0.0142218 Jy ! Component: 950 - total flux cleaned = -0.0146633 Jy ! Component: 1000 - total flux cleaned = -0.0150964 Jy ! Component: 1050 - total flux cleaned = -0.0154608 Jy ! Component: 1100 - total flux cleaned = -0.0158785 Jy ! Component: 1150 - total flux cleaned = -0.016259 Jy ! Component: 1200 - total flux cleaned = -0.0166044 Jy ! Component: 1250 - total flux cleaned = -0.016972 Jy ! Component: 1300 - total flux cleaned = -0.0173609 Jy ! Component: 1350 - total flux cleaned = -0.0176886 Jy ! Component: 1400 - total flux cleaned = -0.018038 Jy ! Component: 1450 - total flux cleaned = -0.0183552 Jy ! Component: 1500 - total flux cleaned = -0.0186932 Jy ! Component: 1550 - total flux cleaned = -0.0189493 Jy ! Component: 1600 - total flux cleaned = -0.019252 Jy ! Component: 1650 - total flux cleaned = -0.0195253 Jy ! Component: 1700 - total flux cleaned = -0.0197705 Jy ! Component: 1750 - total flux cleaned = -0.0200364 Jy ! Component: 1800 - total flux cleaned = -0.0202749 Jy ! Component: 1850 - total flux cleaned = -0.0205106 Jy ! Component: 1900 - total flux cleaned = -0.0207201 Jy ! Component: 1950 - total flux cleaned = -0.0209501 Jy ! Component: 2000 - total flux cleaned = -0.0211546 Jy ! Component: 2050 - total flux cleaned = -0.0214015 Jy ! Component: 2100 - total flux cleaned = -0.0215789 Jy ! Component: 2150 - total flux cleaned = -0.0217764 Jy ! Component: 2200 - total flux cleaned = -0.0219501 Jy ! Component: 2250 - total flux cleaned = -0.0221218 Jy ! Component: 2300 - total flux cleaned = -0.0222708 Jy ! Component: 2350 - total flux cleaned = -0.0224393 Jy ! Component: 2400 - total flux cleaned = -0.0226061 Jy ! Component: 2450 - total flux cleaned = -0.0227712 Jy ! Component: 2500 - total flux cleaned = -0.0229145 Jy ! Component: 2550 - total flux cleaned = -0.0230565 Jy ! Component: 2600 - total flux cleaned = -0.0231972 Jy ! Component: 2650 - total flux cleaned = -0.0233367 Jy ! Component: 2700 - total flux cleaned = -0.0234946 Jy ! Component: 2750 - total flux cleaned = -0.0236315 Jy ! Component: 2800 - total flux cleaned = -0.0237479 Jy ! Component: 2850 - total flux cleaned = -0.0238442 Jy ! Component: 2900 - total flux cleaned = -0.0239781 Jy ! Component: 2950 - total flux cleaned = -0.0240919 Jy ! Component: 3000 - total flux cleaned = -0.024186 Jy ! Component: 3050 - total flux cleaned = -0.0242982 Jy ! Component: 3100 - total flux cleaned = -0.0244095 Jy ! Component: 3150 - total flux cleaned = -0.0245016 Jy ! Component: 3200 - total flux cleaned = -0.0246114 Jy ! Component: 3250 - total flux cleaned = -0.0247022 Jy ! Component: 3300 - total flux cleaned = -0.0248103 Jy ! Component: 3350 - total flux cleaned = -0.0248998 Jy ! Component: 3400 - total flux cleaned = -0.0249888 Jy ! Component: 3450 - total flux cleaned = -0.0250771 Jy ! Component: 3500 - total flux cleaned = -0.0251824 Jy ! Component: 3550 - total flux cleaned = -0.0252521 Jy ! Component: 3600 - total flux cleaned = -0.0253387 Jy ! Component: 3650 - total flux cleaned = -0.0254248 Jy ! Component: 3700 - total flux cleaned = -0.0255102 Jy ! Component: 3750 - total flux cleaned = -0.0255613 Jy ! Component: 3800 - total flux cleaned = -0.0256458 Jy ! Component: 3850 - total flux cleaned = -0.025713 Jy ! Component: 3900 - total flux cleaned = -0.0257966 Jy ! Component: 3950 - total flux cleaned = -0.025863 Jy ! Component: 4000 - total flux cleaned = -0.025929 Jy ! Component: 4050 - total flux cleaned = -0.0259947 Jy ! Total flux subtracted in 4096 components = -0.0260601 Jy ! Clean residual min=-0.001033 max=0.000971 Jy/beam ! Clean residual mean=-0.000099 rms=0.000275 Jy/beam ! Combined flux in latest and established models = 0.0384569 Jy keep ! Adding 308 model components to the UV plane model. ! The established model now contains 356 components and 0.0384569 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "./J0045+1217_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.275 x 2.327 at 6.097 degrees (North through East) ! Clean map min=-0.0023434 max=0.056967 Jy/beam ! Writing clean map to FITS file: ./J0045+1217_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0569674 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000277347 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.46056 1.46056 2.92111 5.84223 11.6845 23.3689 46.7378 93.4756 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0008 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.056 quit ! Quitting program ! Log file ./J0045+1217_X_uvs.log closed on Mon Oct 28 15:36:58 2013