! Started logfile: /scr/pima/rdv96_uvs/J0840+4439_S_uvs.log on Sat Dec 21 00:23:03 2013 obs /scr/pima/rdv96_uvs/J0840+4439_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J0840+4439_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0840+4439 ! ! 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 7920 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/J0840+4439_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:KP 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 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=1.010442Jy sigma=2.656529 ! Fit after self-cal, rms=0.831411Jy sigma=2.172886 ! 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=3.567 mas, bmaj=4.294 mas, bpa=-4.235 degrees ! Estimated noise=5.96306 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.131891 Jy ! Component: 100 - total flux cleaned = 0.162326 Jy ! Total flux subtracted in 100 components = 0.162326 Jy ! Clean residual min=-0.005638 max=0.010596 Jy/beam ! Clean residual mean=-0.000016 rms=0.001366 Jy/beam ! Combined flux in latest and established models = 0.162326 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.162326 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057289Jy sigma=0.143048 ! Fit after self-cal, rms=0.057297Jy sigma=0.143030 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0105216 Jy ! Component: 100 - total flux cleaned = 0.0154576 Jy ! Total flux subtracted in 100 components = 0.0154576 Jy ! Clean residual min=-0.004615 max=0.004715 Jy/beam ! Clean residual mean=-0.000002 rms=0.001079 Jy/beam ! Combined flux in latest and established models = 0.177784 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 19 components and 0.177784 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055557Jy sigma=0.136941 ! Fit after self-cal, rms=0.055573Jy sigma=0.136934 ! 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.552 mas, bmaj=5.406 mas, bpa=1.854 degrees ! Estimated noise=3.0993 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.00275036 Jy ! Component: 100 - total flux cleaned = 0.00434177 Jy ! Component: 150 - total flux cleaned = 0.00531443 Jy ! Component: 200 - total flux cleaned = 0.00593402 Jy ! Total flux subtracted in 200 components = 0.00593402 Jy ! Clean residual min=-0.003254 max=0.003297 Jy/beam ! Clean residual mean=0.000019 rms=0.000800 Jy/beam ! Combined flux in latest and established models = 0.183718 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 36 components and 0.183718 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055452Jy sigma=0.136476 ! Fit after self-cal, rms=0.055456Jy sigma=0.136472 ! 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: ! BR 0.97 FD 0.98 HN 0.99 KP 1.00 ! LA 1.16 MK 0.90 NL 0.98 OV 0.98 ! PT 1.04 SC 0.93 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.05 HN 1.03 KP 1.02 ! LA 1.04 MK 1.05 NL 1.03 OV 1.01 ! PT 1.02 SC 1.03 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.07 HN 1.03 KP 0.90 ! LA 0.98 MK 1.04 NL 1.10 OV 1.06 ! PT 1.09 SC 0.94 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.10 HN 0.91 KP 0.83 ! LA 0.83 MK 1.20 NL 1.04 OV 0.89 ! PT 0.94 SC 1.04 ! ! ! Fit before self-cal, rms=0.055456Jy sigma=0.136472 ! Fit after self-cal, rms=0.052303Jy sigma=0.125055 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.566 mas, bmaj=5.423 mas, bpa=3.149 degrees ! Estimated noise=3.10256 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.000130873 Jy ! Component: 100 - total flux cleaned = 0.00011331 Jy ! Component: 150 - total flux cleaned = 0.000112704 Jy ! Component: 200 - total flux cleaned = 0.000112358 Jy ! Total flux subtracted in 200 components = 0.000112358 Jy ! Clean residual min=-0.001491 max=0.001755 Jy/beam ! Clean residual mean=0.000005 rms=0.000411 Jy/beam ! Combined flux in latest and established models = 0.18383 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 42 components and 0.18383 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052291Jy sigma=0.125027 ! Fit after self-cal, rms=0.052333Jy sigma=0.124990 ! 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.052333Jy sigma=0.124990 ! Fit after self-cal, rms=0.052357Jy sigma=0.124989 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.567 mas, bmaj=5.424 mas, bpa=3.198 degrees ! Estimated noise=3.10259 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 3.75224e-05 Jy ! Component: 100 - total flux cleaned = 4.9615e-05 Jy ! Component: 150 - total flux cleaned = 3.77611e-05 Jy ! Component: 200 - total flux cleaned = 4.95882e-05 Jy ! Total flux subtracted in 200 components = 4.95882e-05 Jy ! Clean residual min=-0.001473 max=0.001730 Jy/beam ! Clean residual mean=0.000005 rms=0.000410 Jy/beam ! Combined flux in latest and established models = 0.183879 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 43 components and 0.183879 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052349Jy sigma=0.124976 ! Fit after self-cal, rms=0.052349Jy sigma=0.124974 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.12012e-05 Jy ! Component: 100 - total flux cleaned = -1.17678e-05 Jy ! Component: 150 - total flux cleaned = -1.16845e-05 Jy ! Component: 200 - total flux cleaned = -1.14266e-05 Jy ! Total flux subtracted in 200 components = -1.14266e-05 Jy ! Clean residual min=-0.001463 max=0.001714 Jy/beam ! Clean residual mean=0.000005 rms=0.000409 Jy/beam ! Combined flux in latest and established models = 0.183868 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 45 components and 0.183868 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052343Jy sigma=0.124965 ! Fit after self-cal, rms=0.052343Jy sigma=0.124963 ! 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.052343Jy sigma=0.124963 ! Fit after self-cal, rms=0.052220Jy sigma=0.124635 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.561 mas, bmaj=5.418 mas, bpa=2.348 degrees ! Estimated noise=3.101 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.83574e-05 Jy ! Component: 100 - total flux cleaned = -2.04125e-07 Jy ! Component: 150 - total flux cleaned = -1.33387e-05 Jy ! Component: 200 - total flux cleaned = -2.48424e-06 Jy ! Total flux subtracted in 200 components = -2.48424e-06 Jy ! Clean residual min=-0.001492 max=0.001727 Jy/beam ! Clean residual mean=0.000006 rms=0.000381 Jy/beam ! Combined flux in latest and established models = 0.183866 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 51 components and 0.183866 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052210Jy sigma=0.124616 ! Fit after self-cal, rms=0.052212Jy sigma=0.124614 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 (-27.6, -51.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0011855 Jy ! Component: 100 - total flux cleaned = 0.00107556 Jy ! Component: 150 - total flux cleaned = 0.00104945 Jy ! Component: 200 - total flux cleaned = 0.00102592 Jy ! Total flux subtracted in 200 components = 0.00102592 Jy ! Clean residual min=-0.001436 max=0.001558 Jy/beam ! Clean residual mean=0.000005 rms=0.000359 Jy/beam ! Combined flux in latest and established models = 0.184892 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 72 components and 0.184891 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052153Jy sigma=0.124475 ! Fit after self-cal, rms=0.052153Jy sigma=0.124470 ! Inverting map ! Added new window around map position (89.6, -16.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00079045 Jy ! Component: 100 - total flux cleaned = 0.00082538 Jy ! Component: 150 - total flux cleaned = 0.000856276 Jy ! Component: 200 - total flux cleaned = 0.000807566 Jy ! Total flux subtracted in 200 components = 0.000807566 Jy ! Clean residual min=-0.001365 max=0.001535 Jy/beam ! Clean residual mean=0.000004 rms=0.000341 Jy/beam ! Combined flux in latest and established models = 0.185699 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 88 components and 0.185699 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052104Jy sigma=0.124346 ! Fit after self-cal, rms=0.052103Jy sigma=0.124341 ! Inverting map ! Added new window around map position (14.8, 17.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00136905 Jy ! Component: 100 - total flux cleaned = 0.00190812 Jy ! Component: 150 - total flux cleaned = 0.00208047 Jy ! Component: 200 - total flux cleaned = 0.00219458 Jy ! Total flux subtracted in 200 components = 0.00219458 Jy ! Clean residual min=-0.001342 max=0.001497 Jy/beam ! Clean residual mean=0.000007 rms=0.000319 Jy/beam ! Combined flux in latest and established models = 0.187894 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 103 components and 0.187894 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052057Jy sigma=0.124231 ! Fit after self-cal, rms=0.052056Jy sigma=0.124228 ! Inverting map ! Added new window around map position (54.8, 24.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00122618 Jy ! Component: 100 - total flux cleaned = 0.00181933 Jy ! Component: 150 - total flux cleaned = 0.0022247 Jy ! Component: 200 - total flux cleaned = 0.0024754 Jy ! Total flux subtracted in 200 components = 0.0024754 Jy ! Clean residual min=-0.001239 max=0.001235 Jy/beam ! Clean residual mean=0.000005 rms=0.000297 Jy/beam ! Combined flux in latest and established models = 0.190369 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 123 components and 0.190369 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052021Jy sigma=0.124130 ! Fit after self-cal, rms=0.052022Jy sigma=0.124126 ! 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.052022Jy sigma=0.124126 ! Fit after self-cal, rms=0.051981Jy sigma=0.124111 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.308 mas, bmaj=9.059 mas, bpa=13.1 degrees ! Estimated noise=3.42581 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000592968 Jy ! Component: 100 - total flux cleaned = 0.000944703 Jy ! Component: 150 - total flux cleaned = 0.00127277 Jy ! Component: 200 - total flux cleaned = 0.00159328 Jy ! Total flux subtracted in 200 components = 0.00159328 Jy ! Clean residual min=-0.001246 max=0.001137 Jy/beam ! Clean residual mean=0.000006 rms=0.000309 Jy/beam ! Combined flux in latest and established models = 0.191962 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 144 components and 0.191962 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051978Jy sigma=0.124089 ! Fit after self-cal, rms=0.051978Jy sigma=0.124088 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.000242891 Jy ! Component: 100 - total flux cleaned = 0.00044911 Jy ! Component: 150 - total flux cleaned = 0.000583345 Jy ! Component: 200 - total flux cleaned = 0.000708781 Jy ! Total flux subtracted in 200 components = 0.000708781 Jy ! Clean residual min=-0.001203 max=0.001148 Jy/beam ! Clean residual mean=0.000005 rms=0.000302 Jy/beam ! Combined flux in latest and established models = 0.192671 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 162 components and 0.192671 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051976Jy sigma=0.124077 ! Fit after self-cal, rms=0.051976Jy sigma=0.124077 ! 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/J0840+4439_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.561 mas, bmaj=5.418 mas, bpa=2.256 degrees ! Estimated noise=3.09772 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.561 x 5.418 at 2.256 degrees (North through East) ! Clean map min=-0.0011748 max=0.17142 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J0840+4439_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.1714 rms= 0.00028 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J0840+4439_S_uvs.log closed on Sat Dec 21 00:23:06 2013