! Started logfile: /scr/pima/rdv96_uvs/J0642+1128_S_uvs.log on Sat Dec 21 00:22:46 2013 obs /scr/pima/rdv96_uvs/J0642+1128_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J0642+1128_S_uva.fits ! AN table 1: 22 integrations on 10 of 10 possible baselines. ! AN table 2: 22 integrations on 21 of 21 possible baselines. ! AN table 3: 22 integrations on 1 of 1 possible baselines. ! Apparent sampling: 0.6875 visibilities/baseline/integration-bin. ! Found source: J0642+1128 ! ! 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 1936 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/J0642+1128_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 ! 2:BR 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:NL self-cal status=correctable weight=1 ! 2:OV self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 ! 3:HN self-cal status=correctable weight=1 ! 3:NL 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 44 telescope corrections were flagged in sub-array 2. ! A total of 44 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 2. ! A total of 44 telescope corrections were flagged in sub-array 2. ! A total of 44 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 3. ! A total of 44 telescope corrections were flagged in sub-array 2. ! A total of 44 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 4. ! A total of 44 telescope corrections were flagged in sub-array 2. ! A total of 44 telescope corrections were flagged in sub-array 3. ! ! Fit before self-cal, rms=0.997530Jy sigma=1.432690 ! Fit after self-cal, rms=0.911155Jy sigma=1.360767 ! 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=18.75 mas, bmaj=29.3 mas, bpa=32.55 degrees ! Estimated noise=17.1886 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=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0762802 Jy ! Component: 100 - total flux cleaned = 0.100784 Jy ! Total flux subtracted in 100 components = 0.100784 Jy ! Clean residual min=-0.009644 max=0.011216 Jy/beam ! Clean residual mean=-0.000123 rms=0.004111 Jy/beam ! Combined flux in latest and established models = 0.100784 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 31 components and 0.100784 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049557Jy sigma=0.077912 ! Fit after self-cal, rms=0.049621Jy sigma=0.077863 ! 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=18.94 mas, bmaj=31.12 mas, bpa=26.62 degrees ! Estimated noise=12.0248 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.00702276 Jy ! Component: 100 - total flux cleaned = 0.00452324 Jy ! Component: 150 - total flux cleaned = 0.00366733 Jy ! Component: 200 - total flux cleaned = 0.00581032 Jy ! Total flux subtracted in 200 components = 0.00581032 Jy ! Clean residual min=-0.003164 max=0.003162 Jy/beam ! Clean residual mean=-0.000086 rms=0.001570 Jy/beam ! Combined flux in latest and established models = 0.106594 Jy ! Performing phase self-cal ! Adding 145 model components to the UV plane model. ! The established model now contains 176 components and 0.106594 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.045925Jy sigma=0.068488 ! Fit after self-cal, rms=0.046143Jy sigma=0.068438 ! 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.96 KP 1.16 LA 1.26 OV 1.18 ! PT 0.98 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.03 KP 1.12 LA 1.19 ! NL 1.00* OV 1.05 PT 0.97 ! ! Telescope amplitude corrections in sub-array 3: ! HN 0.00* NL 0.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 0.94 KP 1.16 LA 1.03 OV 1.03 ! PT 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.13 KP 1.12 LA 1.10 ! NL 1.00* OV 1.33 PT 0.91 ! ! Telescope amplitude corrections in sub-array 3: ! HN 0.00* NL 0.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.05 KP 0.93 LA 0.93 OV 1.15 ! PT 0.98 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.03 KP 0.92 LA 0.98 ! NL 1.00* OV 1.02 PT 1.00 ! ! Telescope amplitude corrections in sub-array 3: ! HN 0.00* NL 0.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.01 KP 0.88 LA 0.81 OV 0.92 ! PT 0.86 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.03 KP 0.90 LA 0.82 ! NL 1.00* OV 0.86 PT 0.82 ! ! Telescope amplitude corrections in sub-array 3: ! HN 0.00* NL 0.00* ! ! ! Fit before self-cal, rms=0.046143Jy sigma=0.068438 ! Fit after self-cal, rms=0.042500Jy sigma=0.059943 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=19.2 mas, bmaj=31.09 mas, bpa=26.19 degrees ! Estimated noise=11.7374 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.00308228 Jy ! Component: 100 - total flux cleaned = 0.00443216 Jy ! Component: 150 - total flux cleaned = 0.00470837 Jy ! Component: 200 - total flux cleaned = 0.0047578 Jy ! Total flux subtracted in 200 components = 0.0047578 Jy ! Clean residual min=-0.000886 max=0.000898 Jy/beam ! Clean residual mean=0.000005 rms=0.000403 Jy/beam ! Combined flux in latest and established models = 0.111352 Jy ! Performing phase self-cal ! Adding 57 model components to the UV plane model. ! The established model now contains 233 components and 0.111352 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.042089Jy sigma=0.059558 ! Fit after self-cal, rms=0.042282Jy sigma=0.059523 ! 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.042282Jy sigma=0.059523 ! Fit after self-cal, rms=0.042447Jy sigma=0.059502 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=19.25 mas, bmaj=31.04 mas, bpa=26.2 degrees ! Estimated noise=11.7457 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00122882 Jy ! Component: 100 - total flux cleaned = 0.00130383 Jy ! Component: 150 - total flux cleaned = 0.00101473 Jy ! Component: 200 - total flux cleaned = 0.000750696 Jy ! Total flux subtracted in 200 components = 0.000750696 Jy ! Clean residual min=-0.000531 max=0.000530 Jy/beam ! Clean residual mean=0.000003 rms=0.000238 Jy/beam ! Combined flux in latest and established models = 0.112103 Jy selfcal ! Performing phase self-cal ! Adding 56 model components to the UV plane model. ! The established model now contains 286 components and 0.112103 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.042340Jy sigma=0.059414 ! Fit after self-cal, rms=0.042373Jy sigma=0.059413 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.000121712 Jy ! Component: 100 - total flux cleaned = 0.000424459 Jy ! Component: 150 - total flux cleaned = 0.000675725 Jy ! Component: 200 - total flux cleaned = 0.000770344 Jy ! Total flux subtracted in 200 components = 0.000770344 Jy ! Clean residual min=-0.000379 max=0.000381 Jy/beam ! Clean residual mean=0.000003 rms=0.000173 Jy/beam ! Combined flux in latest and established models = 0.112873 Jy ! Performing phase self-cal ! Adding 80 model components to the UV plane model. ! The established model now contains 356 components and 0.112873 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.042330Jy sigma=0.059380 ! Fit after self-cal, rms=0.042337Jy sigma=0.059380 ! 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.042337Jy sigma=0.059380 ! Fit after self-cal, rms=0.042366Jy sigma=0.059375 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=19.27 mas, bmaj=31.02 mas, bpa=26.3 degrees ! Estimated noise=11.7377 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000270761 Jy ! Component: 100 - total flux cleaned = 0.000228497 Jy ! Component: 150 - total flux cleaned = 0.000103893 Jy ! Component: 200 - total flux cleaned = 3.46767e-06 Jy ! Total flux subtracted in 200 components = 3.46767e-06 Jy ! Clean residual min=-0.000330 max=0.000327 Jy/beam ! Clean residual mean=0.000002 rms=0.000140 Jy/beam ! Combined flux in latest and established models = 0.112876 Jy selfcal ! Performing phase self-cal ! Adding 51 model components to the UV plane model. ! The established model now contains 399 components and 0.112876 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.042338Jy sigma=0.059354 ! Fit after self-cal, rms=0.042344Jy sigma=0.059354 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.31941e-05 Jy ! Component: 100 - total flux cleaned = -9.41808e-06 Jy ! Component: 150 - total flux cleaned = 7.27983e-05 Jy ! Component: 200 - total flux cleaned = 0.000152 Jy ! Total flux subtracted in 200 components = 0.000152 Jy ! Clean residual min=-0.000260 max=0.000260 Jy/beam ! Clean residual mean=0.000001 rms=0.000116 Jy/beam ! Combined flux in latest and established models = 0.113028 Jy ! Performing phase self-cal ! Adding 70 model components to the UV plane model. ! The established model now contains 453 components and 0.113028 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.042324Jy sigma=0.059342 ! Fit after self-cal, rms=0.042326Jy sigma=0.059341 ! 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.042326Jy sigma=0.059341 ! Fit after self-cal, rms=0.042299Jy sigma=0.059340 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=19.75 mas, bmaj=31.05 mas, bpa=26.4 degrees ! Estimated noise=11.5304 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000206734 Jy ! Component: 100 - total flux cleaned = 0.000236913 Jy ! Component: 150 - total flux cleaned = 0.000164902 Jy ! Component: 200 - total flux cleaned = 0.00013695 Jy ! Total flux subtracted in 200 components = 0.00013695 Jy ! Clean residual min=-0.000229 max=0.000231 Jy/beam ! Clean residual mean=0.000002 rms=0.000097 Jy/beam ! Combined flux in latest and established models = 0.113165 Jy selfcal ! Performing phase self-cal ! Adding 53 model components to the UV plane model. ! The established model now contains 491 components and 0.113165 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.042285Jy sigma=0.059329 ! Fit after self-cal, rms=0.042287Jy sigma=0.059329 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.00010157 Jy ! Component: 100 - total flux cleaned = -8.92627e-05 Jy ! Component: 150 - total flux cleaned = -6.57149e-05 Jy ! Component: 200 - total flux cleaned = -0.000100696 Jy ! Total flux subtracted in 200 components = -0.000100696 Jy ! Clean residual min=-0.000192 max=0.000192 Jy/beam ! Clean residual mean=0.000000 rms=0.000085 Jy/beam ! Combined flux in latest and established models = 0.113065 Jy ! Performing phase self-cal ! Adding 64 model components to the UV plane model. ! The established model now contains 539 components and 0.113065 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.042276Jy sigma=0.059322 ! Fit after self-cal, rms=0.042278Jy sigma=0.059322 ! 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/J0642+1128_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=19.11 mas, bmaj=27.72 mas, bpa=25.5 degrees ! Estimated noise=12.0418 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 19.11 x 27.72 at 25.5 degrees (North through East) ! Clean map min=-0.0049184 max=0.090031 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J0642+1128_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.09 rms= 0.00155 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J0642+1128_S_uvs.log closed on Sat Dec 21 00:22:50 2013