! Started logfile: /scr/pima/rdv96_uvs/J0538-4405_S_uvs.log on Sat Dec 21 00:22:37 2013 obs /scr/pima/rdv96_uvs/J0538-4405_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J0538-4405_S_uva.fits ! AN table 1: 2 integrations on 15 of 15 possible baselines. ! AN table 2: 2 integrations on 21 of 21 possible baselines. ! AN table 3: 4 integrations on 15 of 15 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0538-4405 ! ! 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 528 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/J0538-4405_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:FD self-cal status=correctable weight=1 ! 1:KP self-cal status=correctable weight=1 ! 1:LA 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 ! 2:FD self-cal status=correctable weight=1 ! 2:KP self-cal status=correctable weight=1 ! 2:LA self-cal status=correctable weight=1 ! 2:MK self-cal status=correctable weight=1 ! 2:OV self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 ! 2:SC self-cal status=correctable weight=1 ! 3:FD self-cal status=correctable weight=1 ! 3:KP self-cal status=correctable weight=1 ! 3:LA self-cal status=correctable weight=1 ! 3:MK self-cal status=correctable weight=1 ! 3:OV self-cal status=correctable weight=1 ! 3:PT 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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=6.445334Jy sigma=412.612201 ! Fit after self-cal, rms=5.424943Jy sigma=349.413851 ! 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 \] ![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=2.75 mas, bmaj=9.46 mas, bpa=-3.63 degrees ! Estimated noise=0.727929 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 = 4.67463 Jy ! Component: 100 - total flux cleaned = 5.83408 Jy ! Total flux subtracted in 100 components = 5.83408 Jy ! Clean residual min=-0.236391 max=0.470939 Jy/beam ! Clean residual mean=-0.002844 rms=0.066492 Jy/beam ! Combined flux in latest and established models = 5.83408 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 18 components and 5.83408 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=1.245790Jy sigma=82.980378 ! Fit after self-cal, rms=1.245857Jy sigma=82.978345 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.520083 Jy ! Component: 100 - total flux cleaned = 0.792661 Jy ! Total flux subtracted in 100 components = 0.792661 Jy ! Clean residual min=-0.132317 max=0.135418 Jy/beam ! Clean residual mean=-0.001182 rms=0.033071 Jy/beam ! Combined flux in latest and established models = 6.62674 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 33 components and 6.62674 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.904037Jy sigma=59.401528 ! Fit after self-cal, rms=0.903964Jy sigma=59.398620 ! Inverting map print "=== Finished uniform weighting clean ===" ! === Finished uniform weighting clean === uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.692 mas, bmaj=12.45 mas, bpa=-2.674 degrees ! Estimated noise=0.51233 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.246031 Jy ! Component: 100 - total flux cleaned = 0.343725 Jy ! Component: 150 - total flux cleaned = 0.38399 Jy ! Component: 200 - total flux cleaned = 0.395097 Jy ! Total flux subtracted in 200 components = 0.395097 Jy ! Clean residual min=-0.114947 max=0.124259 Jy/beam ! Clean residual mean=-0.001555 rms=0.035041 Jy/beam ! Combined flux in latest and established models = 7.02183 Jy ! Performing phase self-cal ! Adding 53 model components to the UV plane model. ! The established model now contains 75 components and 7.02183 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.850106Jy sigma=55.847239 ! Fit after self-cal, rms=0.850047Jy sigma=55.846347 ! 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. ! Telescope amplitude corrections in sub-array 1: ! FD 0.98 KP 1.02 LA 1.17 OV 1.01 ! PT 1.06 SC 0.95 ! ! Telescope amplitude corrections in sub-array 2: ! FD 0.97 KP 1.02 LA 1.18 MK 0.93 ! OV 1.00 PT 1.05 SC 0.97 ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.98 KP 1.01 LA 1.18 MK 0.95 ! OV 1.01 PT 1.05 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 1.05 KP 1.03 LA 1.05 OV 1.05 ! PT 1.06 SC 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.04 KP 1.03 LA 1.06 MK 0.99 ! OV 1.04 PT 1.04 SC 1.06 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.05 KP 1.03 LA 1.06 MK 1.00 ! OV 1.05 PT 1.05 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.07 KP 0.91 LA 0.98 OV 1.06 ! PT 1.08 SC 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.07 KP 0.91 LA 0.98 MK 0.99 ! OV 1.05 PT 1.07 SC 0.98 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.07 KP 0.90 LA 1.00 MK 0.99 ! OV 1.06 PT 1.08 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.08 KP 0.84 LA 0.83 OV 0.89 ! PT 0.96 SC 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.08 KP 0.84 LA 0.82 MK 1.11 ! OV 0.89 PT 0.94 SC 1.03 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.08 KP 0.84 LA 0.84 MK 1.12 ! OV 0.90 PT 0.95 ! ! ! Fit before self-cal, rms=0.850047Jy sigma=55.846347 ! Fit after self-cal, rms=0.116871Jy sigma=5.758872 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.7 mas, bmaj=12.46 mas, bpa=-2.583 degrees ! Estimated noise=0.513199 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.000350348 Jy ! Component: 100 - total flux cleaned = 0.000573123 Jy ! Component: 150 - total flux cleaned = 0.000573391 Jy ! Component: 200 - total flux cleaned = 0.000568706 Jy ! Total flux subtracted in 200 components = 0.000568706 Jy ! Clean residual min=-0.015492 max=0.018867 Jy/beam ! Clean residual mean=-0.000331 rms=0.004026 Jy/beam ! Combined flux in latest and established models = 7.0224 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 87 components and 7.0224 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.115144Jy sigma=5.729179 ! Fit after self-cal, rms=0.115128Jy sigma=5.727330 ! 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.115128Jy sigma=5.727330 ! Fit after self-cal, rms=0.114941Jy sigma=5.726278 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.7 mas, bmaj=12.47 mas, bpa=-2.587 degrees ! Estimated noise=0.513234 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000530992 Jy ! Component: 100 - total flux cleaned = 0.000530096 Jy ! Component: 150 - total flux cleaned = 0.000527865 Jy ! Component: 200 - total flux cleaned = 0.000500509 Jy ! Total flux subtracted in 200 components = 0.000500509 Jy ! Clean residual min=-0.015487 max=0.018546 Jy/beam ! Clean residual mean=-0.000333 rms=0.003988 Jy/beam ! Combined flux in latest and established models = 7.0229 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 88 components and 7.0229 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.113379Jy sigma=5.699972 ! Fit after self-cal, rms=0.113346Jy sigma=5.699213 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (11.6, -5.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00565684 Jy ! Component: 100 - total flux cleaned = 0.00628622 Jy ! Component: 150 - total flux cleaned = 0.0063205 Jy ! Component: 200 - total flux cleaned = 0.0047754 Jy ! Total flux subtracted in 200 components = 0.0047754 Jy ! Clean residual min=-0.011475 max=0.014711 Jy/beam ! Clean residual mean=-0.000321 rms=0.003595 Jy/beam ! Combined flux in latest and established models = 7.02768 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 101 components and 7.02768 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.105532Jy sigma=5.453105 ! Fit after self-cal, rms=0.104826Jy sigma=5.432751 ! 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.104826Jy sigma=5.432751 ! Fit after self-cal, rms=0.098272Jy sigma=4.761466 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.701 mas, bmaj=12.47 mas, bpa=-2.608 degrees ! Estimated noise=0.5133 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00423168 Jy ! Component: 100 - total flux cleaned = 0.00385304 Jy ! Component: 150 - total flux cleaned = 0.00323241 Jy ! Component: 200 - total flux cleaned = 0.00322675 Jy ! Total flux subtracted in 200 components = 0.00322675 Jy ! Clean residual min=-0.009884 max=0.010379 Jy/beam ! Clean residual mean=0.000071 rms=0.002766 Jy/beam ! Combined flux in latest and established models = 7.03091 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 110 components and 7.03091 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.094201Jy sigma=4.647439 ! Fit after self-cal, rms=0.093869Jy sigma=4.638224 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.000744477 Jy ! Component: 100 - total flux cleaned = 0.000736038 Jy ! Component: 150 - total flux cleaned = 0.000955146 Jy ! Component: 200 - total flux cleaned = 0.0009497 Jy ! Total flux subtracted in 200 components = 0.0009497 Jy ! Clean residual min=-0.009907 max=0.010315 Jy/beam ! Clean residual mean=0.000073 rms=0.002695 Jy/beam ! Combined flux in latest and established models = 7.03186 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 125 components and 7.03186 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.091840Jy sigma=4.596917 ! Fit after self-cal, rms=0.091719Jy sigma=4.594557 ! 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.091719Jy sigma=4.594557 ! Fit after self-cal, rms=0.091399Jy sigma=4.579261 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=11.52 mas, bmaj=44.02 mas, bpa=2.5 degrees ! Estimated noise=0.566213 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000586514 Jy ! Component: 100 - total flux cleaned = 0.000696903 Jy ! Component: 150 - total flux cleaned = 0.000696876 Jy ! Component: 200 - total flux cleaned = 0.000656468 Jy ! Total flux subtracted in 200 components = 0.000656468 Jy ! Clean residual min=-0.008386 max=0.007677 Jy/beam ! Clean residual mean=0.000122 rms=0.002699 Jy/beam ! Combined flux in latest and established models = 7.03251 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 136 components and 7.03251 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.091356Jy sigma=4.575427 ! Fit after self-cal, rms=0.091334Jy sigma=4.574888 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.000150349 Jy ! Component: 100 - total flux cleaned = 7.62613e-05 Jy ! Component: 150 - total flux cleaned = 4.24307e-05 Jy ! Component: 200 - total flux cleaned = -2.05262e-05 Jy ! Total flux subtracted in 200 components = -2.05262e-05 Jy ! Clean residual min=-0.008415 max=0.007652 Jy/beam ! Clean residual mean=0.000120 rms=0.002697 Jy/beam ! Combined flux in latest and established models = 7.03249 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 141 components and 7.03249 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.091320Jy sigma=4.572973 ! Fit after self-cal, rms=0.091310Jy sigma=4.572593 ! 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:FD ! Syntax error in line: ! 1:FD ! ^ ! 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/J0538-4405_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=3.702 mas, bmaj=12.47 mas, bpa=-2.614 degrees ! Estimated noise=0.513372 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.702 x 12.47 at -2.614 degrees (North through East) ! Clean map min=-0.011606 max=6.2503 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J0538-4405_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= 6.2503 rms= 0.00263 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J0538-4405_S_uvs.log closed on Sat Dec 21 00:22:39 2013