! Started logfile: /d2/scr/pima/rdv96_uvs/J1303-1051_X_uvs.log on Fri Dec 20 23:45:35 2013 obs /d2/scr/pima/rdv96_uvs/J1303-1051_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J1303-1051_X_uva.fits ! AN table 1: 18 integrations on 45 of 45 possible baselines. ! AN table 2: 18 integrations on 28 of 28 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J1303-1051 ! ! 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 8.40599e+09 8e+06 1 8e+06 ! 02 2 8.47599e+09 8e+06 1 8e+06 ! 03 3 8.79099e+09 8e+06 1 8e+06 ! 04 4 8.89599e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 5256 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.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/rdv_muppet /d2/scr/pima/rdv96_uvs/J1303-1051_X] 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:NL self-cal status=correctable weight=1 ! 2:OV self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.200x0.200 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.034714Jy sigma=3.298954 ! Fit after self-cal, rms=0.787149Jy sigma=2.455130 ! 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=0.8083 mas, bmaj=2.162 mas, bpa=-9.799 degrees ! Estimated noise=5.63408 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.165204 Jy ! Component: 100 - total flux cleaned = 0.203736 Jy ! Total flux subtracted in 100 components = 0.203736 Jy ! Clean residual min=-0.007215 max=0.015186 Jy/beam ! Clean residual mean=0.000000 rms=0.001986 Jy/beam ! Combined flux in latest and established models = 0.203736 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.203736 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062815Jy sigma=0.191677 ! Fit after self-cal, rms=0.062821Jy sigma=0.191657 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0168852 Jy ! Component: 100 - total flux cleaned = 0.0260084 Jy ! Total flux subtracted in 100 components = 0.0260084 Jy ! Clean residual min=-0.005650 max=0.006127 Jy/beam ! Clean residual mean=-0.000003 rms=0.001342 Jy/beam ! Combined flux in latest and established models = 0.229744 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 23 components and 0.229744 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058152Jy sigma=0.170887 ! Fit after self-cal, rms=0.058168Jy sigma=0.170825 ! 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=1.01 mas, bmaj=2.535 mas, bpa=-8.337 degrees ! Estimated noise=3.18451 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.00619245 Jy ! Component: 100 - total flux cleaned = 0.0091425 Jy ! Component: 150 - total flux cleaned = 0.0107017 Jy ! Component: 200 - total flux cleaned = 0.0115372 Jy ! Total flux subtracted in 200 components = 0.0115372 Jy ! Clean residual min=-0.005737 max=0.005204 Jy/beam ! Clean residual mean=-0.000003 rms=0.001122 Jy/beam ! Combined flux in latest and established models = 0.241281 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 40 components and 0.241281 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057692Jy sigma=0.168354 ! Fit after self-cal, rms=0.057704Jy sigma=0.168345 ! 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 1.01 HN 1.01 KP 1.01 ! LA 1.03 MK 1.04 NL 0.95 OV 0.96 ! PT 0.99 SC 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.97 FD 0.95 HN 0.98 KP 1.01 ! LA 1.03 MK 0.95 NL 0.95 OV 0.99 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.98 HN 1.01 KP 0.95 ! LA 1.00 MK 0.99 NL 0.97 OV 0.96 ! PT 0.99 SC 1.02 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.96 FD 0.97 HN 1.02 KP 0.96 ! LA 0.98 MK 1.00 NL 0.99 OV 0.97 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.02 HN 1.04 KP 0.86 ! LA 1.09 MK 1.01 NL 1.01 OV 1.03 ! PT 0.99 SC 1.00 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 FD 0.99 HN 1.10 KP 0.86 ! LA 1.08 MK 1.00 NL 1.02 OV 1.04 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.06 HN 1.08 KP 0.93 ! LA 1.05 MK 1.00 NL 1.04 OV 1.03 ! PT 1.07 SC 1.02 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.05 FD 1.04 HN 1.09 KP 0.89 ! LA 1.07 MK 1.03 NL 1.03 OV 1.03 ! ! ! Fit before self-cal, rms=0.057704Jy sigma=0.168345 ! Fit after self-cal, rms=0.056630Jy sigma=0.160519 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.014 mas, bmaj=2.54 mas, bpa=-8.277 degrees ! Estimated noise=3.18746 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 (-6.8, 2.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00465475 Jy ! Component: 100 - total flux cleaned = 0.00663519 Jy ! Component: 150 - total flux cleaned = 0.00788547 Jy ! Component: 200 - total flux cleaned = 0.00878529 Jy ! Total flux subtracted in 200 components = 0.00878529 Jy ! Clean residual min=-0.002404 max=0.002218 Jy/beam ! Clean residual mean=0.000003 rms=0.000513 Jy/beam ! Combined flux in latest and established models = 0.250067 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 64 components and 0.250067 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056295Jy sigma=0.159172 ! Fit after self-cal, rms=0.056334Jy sigma=0.159080 ! 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.056334Jy sigma=0.159080 ! Fit after self-cal, rms=0.056254Jy sigma=0.158998 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.014 mas, bmaj=2.541 mas, bpa=-8.291 degrees ! Estimated noise=3.18335 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00123533 Jy ! Component: 100 - total flux cleaned = 0.00198233 Jy ! Component: 150 - total flux cleaned = 0.00219702 Jy ! Component: 200 - total flux cleaned = 0.00230171 Jy ! Total flux subtracted in 200 components = 0.00230171 Jy ! Clean residual min=-0.002336 max=0.002125 Jy/beam ! Clean residual mean=0.000002 rms=0.000474 Jy/beam ! Combined flux in latest and established models = 0.252368 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 83 components and 0.252368 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056217Jy sigma=0.158887 ! Fit after self-cal, rms=0.056215Jy sigma=0.158876 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.000406458 Jy ! Component: 100 - total flux cleaned = 0.000464906 Jy ! Component: 150 - total flux cleaned = 0.00051892 Jy ! Component: 200 - total flux cleaned = 0.000569105 Jy ! Total flux subtracted in 200 components = 0.000569105 Jy ! Clean residual min=-0.002340 max=0.002133 Jy/beam ! Clean residual mean=0.000003 rms=0.000468 Jy/beam ! Combined flux in latest and established models = 0.252937 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 93 components and 0.252937 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056200Jy sigma=0.158845 ! Fit after self-cal, rms=0.056199Jy sigma=0.158843 ! 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.056199Jy sigma=0.158843 ! Fit after self-cal, rms=0.056255Jy sigma=0.158821 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.014 mas, bmaj=2.54 mas, bpa=-8.298 degrees ! Estimated noise=3.18545 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000599097 Jy ! Component: 100 - total flux cleaned = 0.000722418 Jy ! Component: 150 - total flux cleaned = 0.000801592 Jy ! Component: 200 - total flux cleaned = 0.000831334 Jy ! Total flux subtracted in 200 components = 0.000831334 Jy ! Clean residual min=-0.002283 max=0.002117 Jy/beam ! Clean residual mean=0.000002 rms=0.000462 Jy/beam ! Combined flux in latest and established models = 0.253769 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 101 components and 0.253769 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056241Jy sigma=0.158791 ! Fit after self-cal, rms=0.056241Jy sigma=0.158789 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.00016958 Jy ! Component: 100 - total flux cleaned = 0.000183545 Jy ! Component: 150 - total flux cleaned = 0.00019721 Jy ! Component: 200 - total flux cleaned = 0.000209861 Jy ! Total flux subtracted in 200 components = 0.000209861 Jy ! Clean residual min=-0.002279 max=0.002122 Jy/beam ! Clean residual mean=0.000002 rms=0.000460 Jy/beam ! Combined flux in latest and established models = 0.253979 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 104 components and 0.253979 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056233Jy sigma=0.158774 ! Fit after self-cal, rms=0.056233Jy sigma=0.158773 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 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.056233Jy sigma=0.158773 ! Fit after self-cal, rms=0.056264Jy sigma=0.158765 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.28 mas, bmaj=4.027 mas, bpa=-2.609 degrees ! Estimated noise=3.54296 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000482978 Jy ! Component: 100 - total flux cleaned = 0.00053854 Jy ! Component: 150 - total flux cleaned = 0.000573037 Jy ! Component: 200 - total flux cleaned = 0.000619665 Jy ! Total flux subtracted in 200 components = 0.000619665 Jy ! Clean residual min=-0.001879 max=0.002142 Jy/beam ! Clean residual mean=0.000004 rms=0.000510 Jy/beam ! Combined flux in latest and established models = 0.254598 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 114 components and 0.254598 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056262Jy sigma=0.158753 ! Fit after self-cal, rms=0.056261Jy sigma=0.158749 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.000114253 Jy ! Component: 100 - total flux cleaned = 0.00013245 Jy ! Component: 150 - total flux cleaned = 0.000164461 Jy ! Component: 200 - total flux cleaned = 0.000192287 Jy ! Total flux subtracted in 200 components = 0.000192287 Jy ! Clean residual min=-0.001880 max=0.002150 Jy/beam ! Clean residual mean=0.000004 rms=0.000507 Jy/beam ! Combined flux in latest and established models = 0.254791 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 119 components and 0.254791 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056262Jy sigma=0.158746 ! Fit after self-cal, rms=0.056261Jy sigma=0.158744 ! 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 "/d2/scr/pima/rdv96_uvs/J1303-1051_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.013 mas, bmaj=2.54 mas, bpa=-8.317 degrees ! Estimated noise=3.18691 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.013 x 2.54 at -8.317 degrees (North through East) ! Clean map min=-0.0019513 max=0.21737 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J1303-1051_X_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.2173 rms= 0.00045 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J1303-1051_X_uvs.log closed on Fri Dec 20 23:45:37 2013