! Started logfile: /scr/pima/rdv96_uvs/J1350+3034_S_uvs.log on Sat Dec 21 00:24:14 2013 obs /scr/pima/rdv96_uvs/J1350+3034_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1350+3034_S_uva.fits ! AN table 1: 25 integrations on 45 of 45 possible baselines. ! AN table 2: 14 integrations on 21 of 21 possible baselines. ! AN table 3: 23 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.894526 visibilities/baseline/integration-bin. ! Found source: J1350+3034 ! ! 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 8040 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/J1350+3034_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:NY 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:BR self-cal status=correctable weight=1 ! 3:FD self-cal status=correctable weight=1 ! 3:HN self-cal status=correctable weight=1 ! 3:KP self-cal status=correctable weight=1 ! 3:LA self-cal status=correctable weight=1 ! 3:NL self-cal status=correctable weight=1 ! 3:OV self-cal status=correctable weight=1 ! 3:PT self-cal status=correctable weight=1 ! 3: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 29 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 29 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 29 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 29 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.019935Jy sigma=2.823193 ! Fit after self-cal, rms=0.815534Jy sigma=2.221442 ! 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 \] flag 1:NY ! Flagging baselines of antenna 1:NY in the currently selected channels. ![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=4.376 mas, bmaj=4.685 mas, bpa=-9.084 degrees ! Estimated noise=5.5238 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.147812 Jy ! Component: 100 - total flux cleaned = 0.182163 Jy ! Total flux subtracted in 100 components = 0.182163 Jy ! Clean residual min=-0.005034 max=0.012600 Jy/beam ! Clean residual mean=-0.000093 rms=0.001448 Jy/beam ! Combined flux in latest and established models = 0.182163 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.182163 Jy ! ! Correcting IF 1. ! A total of 27 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 27 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 27 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 27 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=0.062514Jy sigma=0.178250 ! Fit after self-cal, rms=0.062494Jy sigma=0.178155 ! Inverting map and beam ! Estimated beam: bmin=4.376 mas, bmaj=4.685 mas, bpa=-9.084 degrees ! Estimated noise=5.52384 mJy/beam. ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0133444 Jy ! Component: 100 - total flux cleaned = 0.0197602 Jy ! Total flux subtracted in 100 components = 0.0197602 Jy ! Clean residual min=-0.004174 max=0.004254 Jy/beam ! Clean residual mean=-0.000054 rms=0.001100 Jy/beam ! Combined flux in latest and established models = 0.201923 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 22 components and 0.201923 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058977Jy sigma=0.166813 ! Fit after self-cal, rms=0.058961Jy sigma=0.166720 ! 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=5.528 mas, bmaj=6.28 mas, bpa=-37.05 degrees ! Estimated noise=2.90838 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.00517649 Jy ! Component: 100 - total flux cleaned = 0.0074572 Jy ! Component: 150 - total flux cleaned = 0.00868279 Jy ! Component: 200 - total flux cleaned = 0.00934548 Jy ! Total flux subtracted in 200 components = 0.00934548 Jy ! Clean residual min=-0.003313 max=0.003761 Jy/beam ! Clean residual mean=0.000014 rms=0.000947 Jy/beam ! Combined flux in latest and established models = 0.211268 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 32 components and 0.211268 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058572Jy sigma=0.165443 ! Fit after self-cal, rms=0.058572Jy sigma=0.165425 ! 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.03 FD 0.95 HN 0.98 KP 1.06 ! LA 1.18 MK 0.93 NL 1.00 NY 1.00* ! OV 0.92 PT 1.05 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.96 FD 0.98 KP 1.06 LA 1.21 ! NL 1.00 OV 0.96 PT 1.06 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.01 FD 0.98 HN 0.98 KP 1.01 ! LA 1.16 NL 0.98 OV 1.00 PT 1.03 ! SC 0.96 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.02 HN 1.05 KP 1.10 ! LA 1.06 MK 0.98 NL 1.05 NY 1.00* ! OV 1.00 PT 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 FD 1.05 KP 1.01 LA 1.02 ! NL 1.06 OV 0.99 PT 1.06 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.06 FD 1.05 HN 1.03 KP 1.01 ! LA 1.05 NL 1.05 OV 1.03 PT 1.04 ! SC 1.04 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.12 FD 0.96 HN 1.03 KP 0.97 ! LA 0.96 MK 1.01 NL 1.07 NY 1.00* ! OV 1.04 PT 1.06 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 FD 1.07 KP 0.90 LA 0.98 ! NL 1.10 OV 1.04 PT 1.09 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.09 FD 1.09 HN 0.99 KP 0.90 ! LA 0.98 NL 1.10 OV 1.07 PT 1.07 ! SC 0.96 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 0.78 HN 0.88 KP 0.89 ! LA 0.82 MK 1.09 NL 1.02 NY 1.00* ! OV 0.87 PT 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.99 FD 1.09 KP 0.87 LA 0.83 ! NL 1.09 OV 0.88 PT 0.89 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.02 FD 1.08 HN 0.92 KP 0.85 ! LA 0.83 NL 1.03 OV 0.90 PT 0.93 ! SC 1.00 ! ! ! Fit before self-cal, rms=0.058572Jy sigma=0.165425 ! Fit after self-cal, rms=0.051880Jy sigma=0.146171 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=5.514 mas, bmaj=6.274 mas, bpa=-36 degrees ! Estimated noise=2.90259 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 = 2.87767e-05 Jy ! Component: 100 - total flux cleaned = -4.47609e-05 Jy ! Component: 150 - total flux cleaned = -7.58175e-05 Jy ! Component: 200 - total flux cleaned = -7.49993e-05 Jy ! Total flux subtracted in 200 components = -7.49993e-05 Jy ! Clean residual min=-0.001897 max=0.001861 Jy/beam ! Clean residual mean=0.000009 rms=0.000468 Jy/beam ! Combined flux in latest and established models = 0.211193 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 41 components and 0.211193 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051864Jy sigma=0.146139 ! Fit after self-cal, rms=0.051904Jy sigma=0.146090 ! 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.051904Jy sigma=0.146090 ! Fit after self-cal, rms=0.051891Jy sigma=0.146087 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.509 mas, bmaj=6.274 mas, bpa=-35.92 degrees ! Estimated noise=2.90207 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 2.16131e-05 Jy ! Component: 100 - total flux cleaned = 6.89032e-06 Jy ! Component: 150 - total flux cleaned = 6.66619e-06 Jy ! Component: 200 - total flux cleaned = 7.00088e-06 Jy ! Total flux subtracted in 200 components = 7.00088e-06 Jy ! Clean residual min=-0.001859 max=0.001820 Jy/beam ! Clean residual mean=0.000009 rms=0.000465 Jy/beam ! Combined flux in latest and established models = 0.2112 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 44 components and 0.2112 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051882Jy sigma=0.146068 ! Fit after self-cal, rms=0.051880Jy sigma=0.146066 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.11399e-06 Jy ! Component: 100 - total flux cleaned = 1.66497e-05 Jy ! Component: 150 - total flux cleaned = 1.66683e-05 Jy ! Component: 200 - total flux cleaned = 1.60881e-05 Jy ! Total flux subtracted in 200 components = 1.60881e-05 Jy ! Clean residual min=-0.001851 max=0.001807 Jy/beam ! Clean residual mean=0.000009 rms=0.000464 Jy/beam ! Combined flux in latest and established models = 0.211216 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 49 components and 0.211216 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051874Jy sigma=0.146055 ! Fit after self-cal, rms=0.051873Jy sigma=0.146054 ! 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.051873Jy sigma=0.146054 ! Fit after self-cal, rms=0.051792Jy sigma=0.145846 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.504 mas, bmaj=6.272 mas, bpa=-35.9 degrees ! Estimated noise=2.90143 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 8.55877e-05 Jy ! Component: 100 - total flux cleaned = 9.60655e-05 Jy ! Component: 150 - total flux cleaned = 9.57685e-05 Jy ! Component: 200 - total flux cleaned = 8.75539e-05 Jy ! Total flux subtracted in 200 components = 8.75539e-05 Jy ! Clean residual min=-0.001727 max=0.001805 Jy/beam ! Clean residual mean=0.000009 rms=0.000455 Jy/beam ! Combined flux in latest and established models = 0.211304 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 52 components and 0.211304 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051788Jy sigma=0.145837 ! Fit after self-cal, rms=0.051788Jy sigma=0.145835 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.26389e-05 Jy ! Component: 100 - total flux cleaned = 1.44463e-05 Jy ! Component: 150 - total flux cleaned = 2.18258e-05 Jy ! Component: 200 - total flux cleaned = 2.1642e-05 Jy ! Total flux subtracted in 200 components = 2.1642e-05 Jy ! Clean residual min=-0.001723 max=0.001798 Jy/beam ! Clean residual mean=0.000009 rms=0.000454 Jy/beam ! Combined flux in latest and established models = 0.211326 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 58 components and 0.211326 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051785Jy sigma=0.145828 ! Fit after self-cal, rms=0.051784Jy sigma=0.145827 ! 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.051784Jy sigma=0.145827 ! Fit after self-cal, rms=0.051761Jy sigma=0.145822 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.512 mas, bmaj=10.33 mas, bpa=-55.88 degrees ! Estimated noise=3.16161 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000510011 Jy ! Component: 100 - total flux cleaned = 0.000512354 Jy ! Component: 150 - total flux cleaned = 0.000513243 Jy ! Component: 200 - total flux cleaned = 0.000513643 Jy ! Total flux subtracted in 200 components = 0.000513643 Jy ! Clean residual min=-0.001787 max=0.001708 Jy/beam ! Clean residual mean=0.000019 rms=0.000532 Jy/beam ! Combined flux in latest and established models = 0.211839 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 64 components and 0.211839 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051767Jy sigma=0.145819 ! Fit after self-cal, rms=0.051762Jy sigma=0.145812 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 = 9.10576e-05 Jy ! Component: 100 - total flux cleaned = 9.09827e-05 Jy ! Component: 150 - total flux cleaned = 9.07939e-05 Jy ! Component: 200 - total flux cleaned = 9.08723e-05 Jy ! Total flux subtracted in 200 components = 9.08723e-05 Jy ! Clean residual min=-0.001780 max=0.001683 Jy/beam ! Clean residual mean=0.000020 rms=0.000529 Jy/beam ! Combined flux in latest and established models = 0.21193 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 69 components and 0.21193 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051769Jy sigma=0.145817 ! Fit after self-cal, rms=0.051766Jy sigma=0.145814 ! 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/J1350+3034_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=5.201 mas, bmaj=5.516 mas, bpa=48.04 degrees ! Estimated noise=2.94541 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 5.201 x 5.516 at 48.04 degrees (North through East) ! Clean map min=-0.0022271 max=0.1898 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1350+3034_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.1897 rms= 0.00049 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1350+3034_S_uvs.log closed on Sat Dec 21 00:24:16 2013