! Started logfile: /scr/pima/rdv96_uvs/J1606+5521_S_uvs.log on Sat Dec 21 00:24:43 2013 obs /scr/pima/rdv96_uvs/J1606+5521_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1606+5521_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.670707 visibilities/baseline/integration-bin. ! Found source: J1606+5521 ! ! 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 5312 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/J1606+5521_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. ! A total of 32 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 32 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 32 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 32 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.001883Jy sigma=1.458955 ! Fit after self-cal, rms=0.935544Jy sigma=1.273809 ! 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=5.146 mas, bmaj=8.153 mas, bpa=57.69 degrees ! Estimated noise=18.7929 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.0677033 Jy ! Component: 100 - total flux cleaned = 0.096326 Jy ! Total flux subtracted in 100 components = 0.096326 Jy ! Clean residual min=-0.013975 max=0.017506 Jy/beam ! Clean residual mean=-0.000600 rms=0.005144 Jy/beam ! Combined flux in latest and established models = 0.096326 Jy ! Performing phase self-cal ! Adding 50 model components to the UV plane model. ! The established model now contains 50 components and 0.096326 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.075573Jy sigma=0.138865 ! Fit after self-cal, rms=0.074725Jy sigma=0.138220 ! 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=6.809 mas, bmaj=9.668 mas, bpa=63.61 degrees ! Estimated noise=7.9656 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.0284639 Jy ! Component: 100 - total flux cleaned = 0.0449921 Jy ! Component: 150 - total flux cleaned = 0.0552035 Jy ! Component: 200 - total flux cleaned = 0.0615996 Jy ! Total flux subtracted in 200 components = 0.0615996 Jy ! Clean residual min=-0.015210 max=0.023668 Jy/beam ! Clean residual mean=-0.000786 rms=0.005629 Jy/beam ! Combined flux in latest and established models = 0.157926 Jy ! Performing phase self-cal ! Adding 66 model components to the UV plane model. ! The established model now contains 110 components and 0.157926 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.073939Jy sigma=0.104157 ! Fit after self-cal, rms=0.073962Jy sigma=0.103998 ! 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 1.15 FD 1.14 HN 0.94 KP 1.14 ! LA 1.15 MK 0.70 NL 1.23 OV 0.94 ! PT 0.75 SC 0.91 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.12 FD 1.19 HN 0.94 KP 1.27 ! LA 1.07 MK 0.74 NL 1.33 OV 1.05 ! PT 0.71 SC 1.27 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.16 FD 1.28 HN 0.90 KP 1.06 ! LA 0.96 MK 0.81 NL 1.26 OV 1.00 ! PT 0.79 SC 0.85 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.19 FD 1.18 HN 0.74 KP 0.98 ! LA 0.84 MK 0.97 NL 1.11 OV 0.89 ! PT 0.69 SC 1.19 ! ! ! Fit before self-cal, rms=0.073962Jy sigma=0.103998 ! Fit after self-cal, rms=0.076761Jy sigma=0.085351 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=6.873 mas, bmaj=9.952 mas, bpa=63.99 degrees ! Estimated noise=7.64988 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.00612148 Jy ! Component: 100 - total flux cleaned = -0.0091558 Jy ! Component: 150 - total flux cleaned = -0.0108445 Jy ! Component: 200 - total flux cleaned = -0.0118038 Jy ! Total flux subtracted in 200 components = -0.0118038 Jy ! Clean residual min=-0.010457 max=0.019913 Jy/beam ! Clean residual mean=-0.000212 rms=0.004002 Jy/beam ! Combined flux in latest and established models = 0.146122 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 131 components and 0.146122 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.075491Jy sigma=0.086563 ! Fit after self-cal, rms=0.075759Jy sigma=0.086399 ! 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.075759Jy sigma=0.086399 ! Fit after self-cal, rms=0.073910Jy sigma=0.085104 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.899 mas, bmaj=10.09 mas, bpa=63.96 degrees ! Estimated noise=7.30583 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00522805 Jy ! Component: 100 - total flux cleaned = -0.00783846 Jy ! Component: 150 - total flux cleaned = -0.00930771 Jy ! Component: 200 - total flux cleaned = -0.0101419 Jy ! Total flux subtracted in 200 components = -0.0101419 Jy ! Clean residual min=-0.009864 max=0.018882 Jy/beam ! Clean residual mean=-0.000189 rms=0.003801 Jy/beam ! Combined flux in latest and established models = 0.13598 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 143 components and 0.13598 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072894Jy sigma=0.086259 ! Fit after self-cal, rms=0.072927Jy sigma=0.086249 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 (-38.4, -7.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.015726 Jy ! Component: 100 - total flux cleaned = 0.0222991 Jy ! Component: 150 - total flux cleaned = 0.0226945 Jy ! Component: 200 - total flux cleaned = 0.0223852 Jy ! Total flux subtracted in 200 components = 0.0223852 Jy ! Clean residual min=-0.009806 max=0.015677 Jy/beam ! Clean residual mean=-0.000121 rms=0.003393 Jy/beam ! Combined flux in latest and established models = 0.158365 Jy ! Performing phase self-cal ! Adding 46 model components to the UV plane model. ! The established model now contains 188 components and 0.158365 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.068129Jy sigma=0.082346 ! Fit after self-cal, rms=0.066947Jy sigma=0.077332 ! 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.066947Jy sigma=0.077332 ! Fit after self-cal, rms=0.069122Jy sigma=0.074829 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.953 mas, bmaj=10.12 mas, bpa=62.47 degrees ! Estimated noise=7.12726 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00509341 Jy ! Component: 100 - total flux cleaned = 0.00540404 Jy ! Component: 150 - total flux cleaned = 0.00539397 Jy ! Component: 200 - total flux cleaned = 0.00523742 Jy ! Total flux subtracted in 200 components = 0.00523742 Jy ! Clean residual min=-0.007997 max=0.011692 Jy/beam ! Clean residual mean=-0.000112 rms=0.002609 Jy/beam ! Combined flux in latest and established models = 0.163602 Jy selfcal ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 230 components and 0.163602 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065137Jy sigma=0.074017 ! Fit after self-cal, rms=0.064064Jy sigma=0.071436 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 (26.4, -32.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0104094 Jy ! Component: 100 - total flux cleaned = 0.0123302 Jy ! Component: 150 - total flux cleaned = 0.0138918 Jy ! Component: 200 - total flux cleaned = 0.0148361 Jy ! Total flux subtracted in 200 components = 0.0148361 Jy ! Clean residual min=-0.006286 max=0.007063 Jy/beam ! Clean residual mean=0.000025 rms=0.002001 Jy/beam ! Combined flux in latest and established models = 0.178439 Jy ! Performing phase self-cal ! Adding 60 model components to the UV plane model. ! The established model now contains 290 components and 0.178438 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060563Jy sigma=0.068968 ! Fit after self-cal, rms=0.060187Jy sigma=0.067913 ! 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.060187Jy sigma=0.067913 ! Fit after self-cal, rms=0.054250Jy sigma=0.066515 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=10.89 mas, bmaj=13.15 mas, bpa=71.23 degrees ! Estimated noise=6.14585 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00229194 Jy ! Component: 100 - total flux cleaned = 0.0041493 Jy ! Component: 150 - total flux cleaned = 0.00448389 Jy ! Component: 200 - total flux cleaned = 0.00418621 Jy ! Total flux subtracted in 200 components = 0.00418621 Jy ! Clean residual min=-0.004760 max=0.006042 Jy/beam ! Clean residual mean=0.000039 rms=0.001772 Jy/beam ! Combined flux in latest and established models = 0.182625 Jy selfcal ! Performing phase self-cal ! Adding 51 model components to the UV plane model. ! The established model now contains 337 components and 0.182625 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052721Jy sigma=0.065458 ! Fit after self-cal, rms=0.052530Jy sigma=0.064870 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.000872637 Jy ! Component: 100 - total flux cleaned = 0.00100517 Jy ! Component: 150 - total flux cleaned = 0.00111747 Jy ! Component: 200 - total flux cleaned = 0.000802534 Jy ! Total flux subtracted in 200 components = 0.000802534 Jy ! Clean residual min=-0.004698 max=0.005317 Jy/beam ! Clean residual mean=0.000065 rms=0.001506 Jy/beam ! Combined flux in latest and established models = 0.183427 Jy ! Performing phase self-cal ! Adding 58 model components to the UV plane model. ! The established model now contains 386 components and 0.183427 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051811Jy sigma=0.064413 ! Fit after self-cal, rms=0.051703Jy sigma=0.064159 ! 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/J1606+5521_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=6.975 mas, bmaj=9.615 mas, bpa=64.47 degrees ! Estimated noise=6.97169 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 6.975 x 9.615 at 64.47 degrees (North through East) ! Clean map min=-0.0047624 max=0.061539 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1606+5521_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.0615 rms= 0.00128 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1606+5521_S_uvs.log closed on Sat Dec 21 00:24:45 2013