! Started logfile: /scr/pima/rdv96_uvs/J1639+1632_S_uvs.log on Sat Dec 21 00:24:53 2013 obs /scr/pima/rdv96_uvs/J1639+1632_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1639+1632_S_uva.fits ! AN table 1: 22 integrations on 45 of 45 possible baselines. ! AN table 2: 22 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.987654 visibilities/baseline/integration-bin. ! Found source: J1639+1632 ! ! 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 7040 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/J1639+1632_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 ! 2:BR self-cal status=correctable weight=1 ! 2:FD self-cal status=correctable weight=1 ! 2:HN 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 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.001019Jy sigma=1.007594 ! Fit after self-cal, rms=0.935317Jy sigma=0.929867 ! 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.974 mas, bmaj=6.907 mas, bpa=1.434 degrees ! Estimated noise=16.9657 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.0516302 Jy ! Component: 100 - total flux cleaned = 0.066362 Jy ! Total flux subtracted in 100 components = 0.066362 Jy ! Clean residual min=-0.004096 max=0.006444 Jy/beam ! Clean residual mean=-0.000018 rms=0.001156 Jy/beam ! Combined flux in latest and established models = 0.066362 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 18 components and 0.066362 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058106Jy sigma=0.052012 ! Fit after self-cal, rms=0.057955Jy sigma=0.051855 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00748949 Jy ! Component: 100 - total flux cleaned = 0.0118019 Jy ! Total flux subtracted in 100 components = 0.0118019 Jy ! Clean residual min=-0.003644 max=0.004280 Jy/beam ! Clean residual mean=-0.000009 rms=0.000942 Jy/beam ! Combined flux in latest and established models = 0.0781639 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 26 components and 0.0781639 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056987Jy sigma=0.049866 ! Fit after self-cal, rms=0.057037Jy sigma=0.049854 ! 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.82 mas, bmaj=8.255 mas, bpa=1.334 degrees ! Estimated noise=8.90274 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.00462272 Jy ! Component: 100 - total flux cleaned = 0.00696745 Jy ! Component: 150 - total flux cleaned = 0.0083742 Jy ! Component: 200 - total flux cleaned = 0.00924411 Jy ! Total flux subtracted in 200 components = 0.00924411 Jy ! Clean residual min=-0.002397 max=0.003017 Jy/beam ! Clean residual mean=-0.000007 rms=0.000641 Jy/beam ! Combined flux in latest and established models = 0.087408 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 56 components and 0.087408 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056822Jy sigma=0.049262 ! Fit after self-cal, rms=0.056841Jy sigma=0.049253 ! 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.98 FD 0.98 HN 1.03 KP 1.03 ! LA 1.20 MK 0.82 NL 1.03 OV 0.96 ! PT 1.04 SC 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.08 FD 1.01 HN 1.08 KP 0.98 ! LA 1.10 MK 0.85 OV 1.06 PT 1.04 ! SC 1.08 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.08 HN 0.98 KP 1.03 ! LA 1.05 MK 1.10 NL 1.09 OV 0.95 ! PT 1.03 SC 0.98 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.12 FD 1.06 HN 1.06 KP 1.01 ! LA 1.06 MK 1.09 OV 0.97 PT 1.07 ! SC 1.13 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.12 FD 1.07 HN 0.96 KP 0.88 ! LA 1.05 MK 1.05 NL 1.13 OV 1.00 ! PT 0.99 SC 0.91 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.11 FD 1.06 HN 1.02 KP 0.89 ! LA 0.95 MK 1.22 OV 1.03 PT 0.99 ! SC 0.97 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 1.06 HN 0.88 KP 0.85 ! LA 0.82 MK 1.06 NL 1.04 OV 0.91 ! PT 0.90 SC 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.07 FD 1.10 HN 1.05 KP 0.80 ! LA 0.79 MK 1.20 OV 0.97 PT 0.94 ! SC 0.95 ! ! ! Fit before self-cal, rms=0.056841Jy sigma=0.049253 ! Fit after self-cal, rms=0.056106Jy sigma=0.048019 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.83 mas, bmaj=8.308 mas, bpa=1.166 degrees ! Estimated noise=8.88353 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.000407233 Jy ! Component: 100 - total flux cleaned = -0.000483937 Jy ! Component: 150 - total flux cleaned = -0.000523034 Jy ! Component: 200 - total flux cleaned = -0.000557959 Jy ! Total flux subtracted in 200 components = -0.000557959 Jy ! Clean residual min=-0.001732 max=0.001808 Jy/beam ! Clean residual mean=-0.000011 rms=0.000449 Jy/beam ! Combined flux in latest and established models = 0.0868501 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 64 components and 0.0868501 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056091Jy sigma=0.048011 ! Fit after self-cal, rms=0.056136Jy sigma=0.047989 ! 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.056136Jy sigma=0.047989 ! Fit after self-cal, rms=0.056139Jy sigma=0.047987 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.831 mas, bmaj=8.311 mas, bpa=1.197 degrees ! Estimated noise=8.87054 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000316687 Jy ! Component: 100 - total flux cleaned = -0.00041259 Jy ! Component: 150 - total flux cleaned = -0.000446903 Jy ! Component: 200 - total flux cleaned = -0.000467909 Jy ! Total flux subtracted in 200 components = -0.000467909 Jy ! Clean residual min=-0.001728 max=0.001820 Jy/beam ! Clean residual mean=-0.000011 rms=0.000445 Jy/beam ! Combined flux in latest and established models = 0.0863822 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 67 components and 0.0863821 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056126Jy sigma=0.047982 ! Fit after self-cal, rms=0.056124Jy sigma=0.047980 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 = -2.39353e-05 Jy ! Component: 100 - total flux cleaned = -4.60925e-05 Jy ! Component: 150 - total flux cleaned = -5.6198e-05 Jy ! Component: 200 - total flux cleaned = -7.47626e-05 Jy ! Total flux subtracted in 200 components = -7.47626e-05 Jy ! Clean residual min=-0.001722 max=0.001829 Jy/beam ! Clean residual mean=-0.000012 rms=0.000444 Jy/beam ! Combined flux in latest and established models = 0.0863074 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 69 components and 0.0863074 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056115Jy sigma=0.047977 ! Fit after self-cal, rms=0.056110Jy sigma=0.047975 ! 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.056110Jy sigma=0.047975 ! Fit after self-cal, rms=0.056267Jy sigma=0.047970 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.837 mas, bmaj=8.324 mas, bpa=1.147 degrees ! Estimated noise=8.87809 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000184805 Jy ! Component: 100 - total flux cleaned = -0.000232929 Jy ! Component: 150 - total flux cleaned = -0.000264326 Jy ! Component: 200 - total flux cleaned = -0.000283294 Jy ! Total flux subtracted in 200 components = -0.000283294 Jy ! Clean residual min=-0.001694 max=0.001843 Jy/beam ! Clean residual mean=-0.000011 rms=0.000443 Jy/beam ! Combined flux in latest and established models = 0.0860241 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 73 components and 0.0860241 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056259Jy sigma=0.047967 ! Fit after self-cal, rms=0.056257Jy sigma=0.047966 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 = -2.94544e-05 Jy ! Component: 100 - total flux cleaned = -4.86187e-05 Jy ! Component: 150 - total flux cleaned = -5.7475e-05 Jy ! Component: 200 - total flux cleaned = -7.34381e-05 Jy ! Total flux subtracted in 200 components = -7.34381e-05 Jy ! Clean residual min=-0.001692 max=0.001852 Jy/beam ! Clean residual mean=-0.000012 rms=0.000442 Jy/beam ! Combined flux in latest and established models = 0.0859506 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 76 components and 0.0859506 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056250Jy sigma=0.047964 ! Fit after self-cal, rms=0.056247Jy sigma=0.047963 ! 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.056247Jy sigma=0.047963 ! Fit after self-cal, rms=0.056377Jy sigma=0.047958 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.434 mas, bmaj=11.99 mas, bpa=2.991 degrees ! Estimated noise=9.18666 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.0123e-05 Jy ! Component: 100 - total flux cleaned = -5.01973e-06 Jy ! Component: 150 - total flux cleaned = -2.90656e-05 Jy ! Component: 200 - total flux cleaned = -4.87854e-05 Jy ! Total flux subtracted in 200 components = -4.87854e-05 Jy ! Clean residual min=-0.001525 max=0.002154 Jy/beam ! Clean residual mean=-0.000019 rms=0.000503 Jy/beam ! Combined flux in latest and established models = 0.0859018 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 77 components and 0.0859018 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056382Jy sigma=0.047957 ! Fit after self-cal, rms=0.056379Jy sigma=0.047954 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 (-5.2, -32.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00220999 Jy ! Component: 100 - total flux cleaned = 0.00356891 Jy ! Component: 150 - total flux cleaned = 0.00446107 Jy ! Component: 200 - total flux cleaned = 0.00492354 Jy ! Total flux subtracted in 200 components = 0.00492354 Jy ! Clean residual min=-0.001264 max=0.001344 Jy/beam ! Clean residual mean=-0.000012 rms=0.000368 Jy/beam ! Combined flux in latest and established models = 0.0908254 Jy ! Performing phase self-cal ! Adding 48 model components to the UV plane model. ! The established model now contains 125 components and 0.0908254 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056309Jy sigma=0.047839 ! Fit after self-cal, rms=0.056296Jy sigma=0.047832 ! 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/J1639+1632_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=3.843 mas, bmaj=8.334 mas, bpa=1.113 degrees ! Estimated noise=8.88077 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.843 x 8.334 at 1.113 degrees (North through East) ! Clean map min=-0.0013167 max=0.068722 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1639+1632_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.0687 rms= 0.00037 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1639+1632_S_uvs.log closed on Sat Dec 21 00:24:55 2013