! Started logfile: /scr/pima/rdv96_uvs/J1658-0739_S_uvs.log on Sat Dec 21 00:25:10 2013 obs /scr/pima/rdv96_uvs/J1658-0739_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1658-0739_S_uva.fits ! AN table 1: 8 integrations on 45 of 45 possible baselines. ! AN table 2: 7 integrations on 10 of 10 possible baselines. ! AN table 3: 2 integrations on 21 of 21 possible baselines. ! AN table 4: 2 integrations on 28 of 28 possible baselines. ! AN table 5: 2 integrations on 15 of 15 possible baselines. ! AN table 6: 13 integrations on 45 of 45 possible baselines. ! AN table 7: 2 integrations on 3 of 3 possible baselines. ! Apparent sampling: 0.845953 visibilities/baseline/integration-bin. ! Found source: J1658-0739 ! ! There are 4 IFs, and a total of 4 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 2.23299e+09 8e+06 1 8e+06 ! 02 2 2.26299e+09 8e+06 1 8e+06 ! 03 3 2.35299e+09 8e+06 1 8e+06 ! 04 4 2.37299e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 3888 visibilities. select RR ! 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 = 1024 print "field_cell =",field_cell ! field_cell = 0.4 print "taper_size =",taper_size ! taper_size = 20 ![@/home/lpetrov/bin/rdv_muppet /scr/pima/rdv96_uvs/J1658-0739_S] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 800000 float soltime2 soltime2 = 15 float soltime3 soltime3 = 1 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float old_peak float new_peak float flux_cutoff selfant "",false ! 1:BR self-cal status=correctable weight=1 ! 1:FD self-cal status=correctable weight=1 ! 1:HN self-cal status=correctable weight=1 ! 1:LA self-cal status=correctable weight=1 ! 1:MK self-cal status=correctable weight=1 ! 1:NL self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 1:SC self-cal status=correctable weight=1 ! 1:WF self-cal status=correctable weight=1 ! 2:BR self-cal status=correctable weight=1 ! 2:HN self-cal status=correctable weight=1 ! 2:NL self-cal status=correctable weight=1 ! 2:SC self-cal status=correctable weight=1 ! 2:WF self-cal status=correctable weight=1 ! 3:BR self-cal status=correctable weight=1 ! 3:FD self-cal status=correctable weight=1 ! 3:KP self-cal status=correctable weight=1 ! 3:MK self-cal status=correctable weight=1 ! 3:NL self-cal status=correctable weight=1 ! 3:OV self-cal status=correctable weight=1 ! 3:PT self-cal status=correctable weight=1 ! 4:BR self-cal status=correctable weight=1 ! 4:FD self-cal status=correctable weight=1 ! 4:KP self-cal status=correctable weight=1 ! 4:LA self-cal status=correctable weight=1 ! 4:MK self-cal status=correctable weight=1 ! 4:NL self-cal status=correctable weight=1 ! 4:OV self-cal status=correctable weight=1 ! 4:PT self-cal status=correctable weight=1 ! 5:BR self-cal status=correctable weight=1 ! 5:KP self-cal status=correctable weight=1 ! 5:LA self-cal status=correctable weight=1 ! 5:MK self-cal status=correctable weight=1 ! 5:OV self-cal status=correctable weight=1 ! 5:PT self-cal status=correctable weight=1 ! 6:BR self-cal status=correctable weight=1 ! 6:FD self-cal status=correctable weight=1 ! 6:HN self-cal status=correctable weight=1 ! 6:KP self-cal status=correctable weight=1 ! 6:LA self-cal status=correctable weight=1 ! 6:NL self-cal status=correctable weight=1 ! 6:OV self-cal status=correctable weight=1 ! 6:PT self-cal status=correctable weight=1 ! 6:SC self-cal status=correctable weight=1 ! 6:WF self-cal status=correctable weight=1 ! 7:BR self-cal status=correctable weight=1 ! 7:MK self-cal status=correctable weight=1 ! 7:OV self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.400x0.400 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 18 telescope corrections were flagged in sub-array 1. ! A total of 1 telescope corrections were flagged in sub-array 2. ! A total of 2 telescope corrections were flagged in sub-array 5. ! A total of 15 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 2. ! A total of 18 telescope corrections were flagged in sub-array 1. ! A total of 1 telescope corrections were flagged in sub-array 2. ! A total of 2 telescope corrections were flagged in sub-array 5. ! A total of 9 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 3. ! A total of 18 telescope corrections were flagged in sub-array 1. ! A total of 1 telescope corrections were flagged in sub-array 2. ! A total of 2 telescope corrections were flagged in sub-array 5. ! A total of 9 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 4. ! A total of 18 telescope corrections were flagged in sub-array 1. ! A total of 1 telescope corrections were flagged in sub-array 2. ! A total of 2 telescope corrections were flagged in sub-array 5. ! A total of 9 telescope corrections were flagged in sub-array 6. ! ! Fit before self-cal, rms=1.296944Jy sigma=12.890895 ! Fit after self-cal, rms=0.330048Jy sigma=2.228283 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. print "=== Flag out IVS stations" ! === Flag out IVS stations integer lun string cfg_file lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_flag_process.csh /tmp/ff.ff" ![@/tmp/ff.ff \] flag 1:WF ! Flagging baselines of antenna 1:WF in the currently selected channels. flag 2:WF ! Flagging baselines of antenna 2:WF in the currently selected channels. flag 6:WF ! Flagging baselines of antenna 6:WF in the currently selected channels. ![Exited script file: /tmp/ff.ff] 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=3.692 mas, bmaj=7.719 mas, bpa=3.111 degrees ! Estimated noise=1.9599 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.622716 Jy ! Component: 100 - total flux cleaned = 0.791614 Jy ! Total flux subtracted in 100 components = 0.791614 Jy ! Clean residual min=-0.022438 max=0.065026 Jy/beam ! Clean residual mean=0.000164 rms=0.006572 Jy/beam ! Combined flux in latest and established models = 0.791614 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.791614 Jy ! ! Correcting IF 1. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 7 telescope corrections were flagged in sub-array 2. ! A total of 7 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 2. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 7 telescope corrections were flagged in sub-array 2. ! A total of 13 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 3. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 7 telescope corrections were flagged in sub-array 2. ! A total of 13 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 4. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 7 telescope corrections were flagged in sub-array 2. ! A total of 13 telescope corrections were flagged in sub-array 6. ! ! Fit before self-cal, rms=0.186438Jy sigma=2.052111 ! Fit after self-cal, rms=0.186521Jy sigma=2.051651 ! Inverting map and beam ! Estimated beam: bmin=3.692 mas, bmaj=7.719 mas, bpa=3.111 degrees ! Estimated noise=1.9599 mJy/beam. ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0666526 Jy ! Component: 100 - total flux cleaned = 0.100307 Jy ! Total flux subtracted in 100 components = 0.100307 Jy ! Clean residual min=-0.015852 max=0.026001 Jy/beam ! Clean residual mean=0.000062 rms=0.004511 Jy/beam ! Combined flux in latest and established models = 0.891922 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 35 components and 0.891922 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.154064Jy sigma=1.608288 ! Fit after self-cal, rms=0.153771Jy sigma=1.606944 ! 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=4.583 mas, bmaj=9.401 mas, bpa=5.826 degrees ! Estimated noise=1.28883 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.0410723 Jy ! Component: 100 - total flux cleaned = 0.0621802 Jy ! Component: 150 - total flux cleaned = 0.0746372 Jy ! Component: 200 - total flux cleaned = 0.0821737 Jy ! Total flux subtracted in 200 components = 0.0821737 Jy ! Clean residual min=-0.013663 max=0.020985 Jy/beam ! Clean residual mean=0.000014 rms=0.004020 Jy/beam ! Combined flux in latest and established models = 0.974096 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 57 components and 0.974095 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.146024Jy sigma=1.470486 ! Fit after self-cal, rms=0.145767Jy sigma=1.469329 ! Inverting map print "=== Finished natural weighting clean for VLBI sites ===" ! === Finished natural weighting clean for VLBI sites === gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 0.97 HN 1.06 LA 1.18 ! MK 1.08 NL 1.03 OV 0.98 PT 1.05 ! SC 1.03 WF 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 HN 0.98 NL 0.98 SC 0.97 ! WF 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.04 FD 1.04 KP 1.03 MK 0.95 ! NL 1.04 OV 1.01 PT 1.10 ! ! Telescope amplitude corrections in sub-array 4: ! BR 1.06 FD 1.02 KP 1.02 LA 1.18 ! MK 0.98 NL 1.16 OV 0.97 PT 1.11 ! ! Telescope amplitude corrections in sub-array 5: ! BR 1.00* KP 1.02 LA 1.16 MK 1.01 ! OV 1.03 PT 1.09 ! ! A total of 3 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! BR 1.03 FD 0.96 HN 0.95 KP 1.00 ! LA 1.17 NL 0.99 OV 0.97 PT 1.03 ! SC 0.92 WF 1.00* ! ! A total of 6 telescope corrections were flagged in sub-array 7. ! Telescope amplitude corrections in sub-array 7: ! BR 0.00* MK 0.00* OV 0.00* ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.03 HN 1.11 LA 1.04 ! MK 1.10 NL 1.09 OV 1.03 PT 1.03 ! SC 1.11 WF 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.10 HN 1.06 NL 1.02 SC 1.06 ! WF 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.11 FD 1.08 KP 1.06 MK 0.98 ! NL 1.10 OV 1.01 PT 1.07 ! ! Telescope amplitude corrections in sub-array 4: ! BR 1.08 FD 1.10 KP 1.04 LA 1.05 ! MK 1.08 NL 1.26 OV 1.05 PT 1.05 ! ! Telescope amplitude corrections in sub-array 5: ! BR 1.00* KP 1.00 LA 1.08 MK 1.11 ! OV 1.07 PT 1.08 ! ! A total of 3 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! BR 1.05 FD 1.03 HN 1.01 KP 1.02 ! LA 1.07 NL 1.03 OV 1.02 PT 1.02 ! SC 1.01 WF 1.00* ! ! A total of 6 telescope corrections were flagged in sub-array 7. ! Telescope amplitude corrections in sub-array 7: ! BR 0.00* MK 0.00* OV 0.00* ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.04 HN 1.05 LA 0.96 ! MK 1.10 NL 1.13 OV 1.01 PT 1.06 ! SC 1.02 WF 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.12 HN 0.99 NL 1.05 SC 0.99 ! WF 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.10 FD 1.09 KP 0.90 MK 1.01 ! NL 1.14 OV 1.02 PT 1.09 ! ! Telescope amplitude corrections in sub-array 4: ! BR 1.06 FD 1.09 KP 0.93 LA 0.98 ! MK 1.09 NL 1.35 OV 1.05 PT 1.10 ! ! Telescope amplitude corrections in sub-array 5: ! BR 1.00* KP 0.88 LA 0.98 MK 1.10 ! OV 1.08 PT 1.09 ! ! A total of 3 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! BR 1.05 FD 1.04 HN 0.97 KP 0.88 ! LA 0.99 NL 1.06 OV 1.02 PT 1.04 ! SC 0.92 WF 1.00* ! ! A total of 6 telescope corrections were flagged in sub-array 7. ! Telescope amplitude corrections in sub-array 7: ! BR 0.00* MK 0.00* OV 0.00* ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.07 HN 0.95 LA 0.80 ! MK 1.19 NL 1.06 OV 0.87 PT 0.93 ! SC 1.08 WF 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 HN 0.90 NL 1.02 SC 1.02 ! WF 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.04 FD 1.14 KP 0.82 MK 1.08 ! NL 1.07 OV 0.88 PT 0.93 ! ! Telescope amplitude corrections in sub-array 4: ! BR 1.04 FD 1.11 KP 0.85 LA 0.82 ! MK 1.15 NL 1.26 OV 0.88 PT 0.96 ! ! Telescope amplitude corrections in sub-array 5: ! BR 1.00* KP 0.87 LA 0.84 MK 1.14 ! OV 0.92 PT 0.97 ! ! A total of 3 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! BR 1.02 FD 1.07 HN 0.87 KP 0.81 ! LA 0.83 NL 1.01 OV 0.86 PT 0.91 ! SC 0.96 WF 1.00* ! ! A total of 6 telescope corrections were flagged in sub-array 7. ! Telescope amplitude corrections in sub-array 7: ! BR 0.00* MK 0.00* OV 0.00* ! ! ! Fit before self-cal, rms=0.145767Jy sigma=1.469329 ! Fit after self-cal, rms=0.094341Jy sigma=0.796932 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.625 mas, bmaj=9.647 mas, bpa=6.664 degrees ! Estimated noise=1.29666 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 (2.4, 13.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00902587 Jy ! Component: 100 - total flux cleaned = 0.00789623 Jy ! Component: 150 - total flux cleaned = 0.00713649 Jy ! Component: 200 - total flux cleaned = 0.00632882 Jy ! Total flux subtracted in 200 components = 0.00632882 Jy ! Clean residual min=-0.005537 max=0.006400 Jy/beam ! Clean residual mean=0.000001 rms=0.001525 Jy/beam ! Combined flux in latest and established models = 0.980424 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 77 components and 0.980424 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.092649Jy sigma=0.782145 ! Fit after self-cal, rms=0.092573Jy sigma=0.780675 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 800000 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.092573Jy sigma=0.780675 ! Fit after self-cal, rms=0.092271Jy sigma=0.779438 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.622 mas, bmaj=9.644 mas, bpa=6.658 degrees ! Estimated noise=1.29644 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00232169 Jy ! Component: 100 - total flux cleaned = 0.00203876 Jy ! Component: 150 - total flux cleaned = 0.00179258 Jy ! Component: 200 - total flux cleaned = 0.00145215 Jy ! Total flux subtracted in 200 components = 0.00145215 Jy ! Clean residual min=-0.005191 max=0.005938 Jy/beam ! Clean residual mean=0.000012 rms=0.001439 Jy/beam ! Combined flux in latest and established models = 0.981876 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 92 components and 0.981876 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.091725Jy sigma=0.775488 ! Fit after self-cal, rms=0.091695Jy sigma=0.775168 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.000155548 Jy ! Component: 100 - total flux cleaned = -0.000272839 Jy ! Component: 150 - total flux cleaned = -0.000568651 Jy ! Component: 200 - total flux cleaned = -0.000756555 Jy ! Total flux subtracted in 200 components = -0.000756555 Jy ! Clean residual min=-0.004966 max=0.005684 Jy/beam ! Clean residual mean=0.000012 rms=0.001408 Jy/beam ! Combined flux in latest and established models = 0.98112 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 105 components and 0.98112 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.091425Jy sigma=0.773157 ! Fit after self-cal, rms=0.091419Jy sigma=0.773031 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.091419Jy sigma=0.773031 ! Fit after self-cal, rms=0.091130Jy sigma=0.769522 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.62 mas, bmaj=9.643 mas, bpa=6.647 degrees ! Estimated noise=1.29661 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00100762 Jy ! Component: 100 - total flux cleaned = 0.000826082 Jy ! Component: 150 - total flux cleaned = 0.00065357 Jy ! Component: 200 - total flux cleaned = 0.000408745 Jy ! Total flux subtracted in 200 components = 0.000408745 Jy ! Clean residual min=-0.004682 max=0.005644 Jy/beam ! Clean residual mean=0.000023 rms=0.001372 Jy/beam ! Combined flux in latest and established models = 0.981529 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 115 components and 0.981529 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.090905Jy sigma=0.768004 ! Fit after self-cal, rms=0.090906Jy sigma=0.767917 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 = 9.93926e-05 Jy ! Component: 100 - total flux cleaned = -0.000210899 Jy ! Component: 150 - total flux cleaned = -0.000427341 Jy ! Component: 200 - total flux cleaned = -0.000566129 Jy ! Total flux subtracted in 200 components = -0.000566129 Jy ! Clean residual min=-0.004560 max=0.005478 Jy/beam ! Clean residual mean=0.000023 rms=0.001356 Jy/beam ! Combined flux in latest and established models = 0.980963 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 121 components and 0.980962 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.090753Jy sigma=0.766881 ! Fit after self-cal, rms=0.090756Jy sigma=0.766821 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths. win_mult = win_mult * 1.2 selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.090756Jy sigma=0.766821 ! Fit after self-cal, rms=0.090701Jy sigma=0.766712 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.589 mas, bmaj=13.71 mas, bpa=1.941 degrees ! Estimated noise=1.37624 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000729123 Jy ! Component: 100 - total flux cleaned = -0.000960158 Jy ! Component: 150 - total flux cleaned = -0.00110676 Jy ! Component: 200 - total flux cleaned = -0.00128436 Jy ! Total flux subtracted in 200 components = -0.00128436 Jy ! Clean residual min=-0.004505 max=0.006754 Jy/beam ! Clean residual mean=0.000041 rms=0.001628 Jy/beam ! Combined flux in latest and established models = 0.979678 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 147 components and 0.979678 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.090643Jy sigma=0.766129 ! Fit after self-cal, rms=0.090635Jy sigma=0.766027 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 6.47414e-05 Jy ! Component: 100 - total flux cleaned = -6.47109e-05 Jy ! Component: 150 - total flux cleaned = -0.000216873 Jy ! Component: 200 - total flux cleaned = -0.000322653 Jy ! Total flux subtracted in 200 components = -0.000322653 Jy ! Clean residual min=-0.004452 max=0.006681 Jy/beam ! Clean residual mean=0.000041 rms=0.001614 Jy/beam ! Combined flux in latest and established models = 0.979356 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 159 components and 0.979356 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.090602Jy sigma=0.765740 ! Fit after self-cal, rms=0.090602Jy sigma=0.765690 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "=== Finished amplitude self-cal for VLBA stations ===" ! === Finished amplitude self-cal for VLBA stations === unflag * ! Unflagging all baselines in the currently selected channels. uncalib false, false, true ! uncal: All telescope correction flags have been un-done. integer lun lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_selfant_process.csh /tmp/ff.ff" ![@/tmp/ff.ff] 1:BR ! Syntax error in line: ! 1:BR ! ^ ! Found constant: 1.000 ! Where a command or assignment expression was expected. ![Exited script file: /tmp/ff.ff] ![Exited script file: /home/lpetrov/bin/rdv_muppet] ! wmap "/scr/pima/rdv96_uvs/J1658-0739_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.531 mas, bmaj=9.391 mas, bpa=3.636 degrees ! Estimated noise=1.28295 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.531 x 9.391 at 3.636 degrees (North through East) ! Clean map min=-0.01539 max=0.79556 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1658-0739_S_map.fits float peak_flux peak_flux = peak(flux,max) invert ! Inverting map float image_peak image_peak = int(10000*peak_flux)/10000 float image_rms image_rms = int(100000*imstat(rms))/100000 print "=========================================" ! ========================================= print "The image peak= ", image_peak, " rms= ", image_rms, " Jy" ! The image peak= 0.7955 rms= 0.00284 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1658-0739_S_uvs.log closed on Sat Dec 21 00:25:12 2013