! Started logfile: /d2/scr/pima/rdv96_uvs/J0407-3303_X_uvs.log on Fri Dec 20 23:43:59 2013 obs /d2/scr/pima/rdv96_uvs/J0407-3303_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J0407-3303_X_uva.fits ! AN table 1: 22 integrations on 28 of 28 possible baselines. ! AN table 2: 22 integrations on 36 of 36 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0407-3303 ! ! 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 5632 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/J0407-3303_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: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: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: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 ! 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.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.154748Jy sigma=8.234463 ! Fit after self-cal, rms=0.467651Jy sigma=2.976004 ! 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.6975 mas, bmaj=2.086 mas, bpa=-0.6915 degrees ! Estimated noise=2.81059 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.419932 Jy ! Component: 100 - total flux cleaned = 0.518822 Jy ! Total flux subtracted in 100 components = 0.518822 Jy ! Clean residual min=-0.021835 max=0.042158 Jy/beam ! Clean residual mean=0.000023 rms=0.005419 Jy/beam ! Combined flux in latest and established models = 0.518822 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.518822 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.109063Jy sigma=0.820678 ! Fit after self-cal, rms=0.108751Jy sigma=0.820138 ! Inverting map ! Added new window around map position (-0.8, -3.4). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0450252 Jy ! Component: 100 - total flux cleaned = 0.0702275 Jy ! Total flux subtracted in 100 components = 0.0702275 Jy ! Clean residual min=-0.016565 max=0.020603 Jy/beam ! Clean residual mean=0.000026 rms=0.003588 Jy/beam ! Combined flux in latest and established models = 0.589049 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 18 components and 0.589049 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.085843Jy sigma=0.586657 ! Fit after self-cal, rms=0.084959Jy sigma=0.583314 ! 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=0.9619 mas, bmaj=2.827 mas, bpa=-0.2012 degrees ! Estimated noise=1.40663 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.0237503 Jy ! Component: 100 - total flux cleaned = 0.0358046 Jy ! Component: 150 - total flux cleaned = 0.0424046 Jy ! Component: 200 - total flux cleaned = 0.0452235 Jy ! Total flux subtracted in 200 components = 0.0452235 Jy ! Clean residual min=-0.014557 max=0.012014 Jy/beam ! Clean residual mean=0.000033 rms=0.003262 Jy/beam ! Combined flux in latest and established models = 0.634273 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 32 components and 0.634272 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.080297Jy sigma=0.523114 ! Fit after self-cal, rms=0.079855Jy sigma=0.520787 ! 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.99 HN 1.16 KP 1.01 LA 1.05 ! NL 0.96 OV 1.00 PT 0.98 SC 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.02 FD 0.99 KP 0.99 LA 1.05 ! MK 1.00 NL 1.02 OV 0.98 PT 0.98 ! SC 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 HN 1.16 KP 0.94 LA 1.01 ! NL 0.96 OV 0.99 PT 1.00 SC 1.00 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.02 FD 0.99 KP 0.94 LA 1.02 ! MK 1.01 NL 1.04 OV 0.96 PT 0.99 ! SC 1.03 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 HN 1.20 KP 0.84 LA 1.07 ! NL 1.00 OV 1.05 PT 0.99 SC 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.09 FD 0.97 KP 0.84 LA 1.09 ! MK 0.99 NL 1.06 OV 1.03 PT 0.99 ! SC 1.00 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.04 HN 1.19 KP 0.88 LA 1.05 ! NL 1.00 OV 1.02 PT 1.03 SC 0.99 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.08 FD 1.03 KP 0.87 LA 1.08 ! MK 1.01 NL 1.09 OV 1.00 PT 1.03 ! SC 1.01 ! ! ! Fit before self-cal, rms=0.079855Jy sigma=0.520787 ! Fit after self-cal, rms=0.068295Jy sigma=0.405066 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9644 mas, bmaj=2.839 mas, bpa=-0.04615 degrees ! Estimated noise=1.40964 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 (-2, -12.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00596272 Jy ! Component: 100 - total flux cleaned = 0.00712533 Jy ! Component: 150 - total flux cleaned = 0.00712708 Jy ! Component: 200 - total flux cleaned = 0.0070501 Jy ! Total flux subtracted in 200 components = 0.0070501 Jy ! Clean residual min=-0.003633 max=0.003374 Jy/beam ! Clean residual mean=-0.000006 rms=0.000722 Jy/beam ! Combined flux in latest and established models = 0.641323 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 59 components and 0.641323 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.067643Jy sigma=0.401081 ! Fit after self-cal, rms=0.067674Jy sigma=0.400616 ! 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.067674Jy sigma=0.400616 ! Fit after self-cal, rms=0.067557Jy sigma=0.400339 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9643 mas, bmaj=2.839 mas, bpa=-0.02474 degrees ! Estimated noise=1.40794 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000819465 Jy ! Component: 100 - total flux cleaned = 0.00074578 Jy ! Component: 150 - total flux cleaned = 0.000749383 Jy ! Component: 200 - total flux cleaned = 0.000749176 Jy ! Total flux subtracted in 200 components = 0.000749176 Jy ! Clean residual min=-0.003351 max=0.002817 Jy/beam ! Clean residual mean=-0.000004 rms=0.000636 Jy/beam ! Combined flux in latest and established models = 0.642072 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 69 components and 0.642072 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.067336Jy sigma=0.399398 ! Fit after self-cal, rms=0.067312Jy sigma=0.399326 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.000359649 Jy ! Component: 100 - total flux cleaned = 0.000354939 Jy ! Component: 150 - total flux cleaned = 0.000247013 Jy ! Component: 200 - total flux cleaned = 0.000197353 Jy ! Total flux subtracted in 200 components = 0.000197353 Jy ! Clean residual min=-0.003200 max=0.002597 Jy/beam ! Clean residual mean=-0.000004 rms=0.000615 Jy/beam ! Combined flux in latest and established models = 0.642269 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 76 components and 0.642269 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.067193Jy sigma=0.398866 ! Fit after self-cal, rms=0.067180Jy sigma=0.398842 ! 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.067180Jy sigma=0.398842 ! Fit after self-cal, rms=0.067156Jy sigma=0.398748 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9641 mas, bmaj=2.839 mas, bpa=0.008526 degrees ! Estimated noise=1.40649 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000518013 Jy ! Component: 100 - total flux cleaned = -0.000463276 Jy ! Component: 150 - total flux cleaned = -0.000509637 Jy ! Component: 200 - total flux cleaned = -0.000554069 Jy ! Total flux subtracted in 200 components = -0.000554069 Jy ! Clean residual min=-0.002948 max=0.002551 Jy/beam ! Clean residual mean=-0.000004 rms=0.000588 Jy/beam ! Combined flux in latest and established models = 0.641715 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 83 components and 0.641715 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.067051Jy sigma=0.398342 ! Fit after self-cal, rms=0.067040Jy sigma=0.398319 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.000145085 Jy ! Component: 100 - total flux cleaned = 0.000101821 Jy ! Component: 150 - total flux cleaned = 5.8326e-05 Jy ! Component: 200 - total flux cleaned = -2.18558e-05 Jy ! Total flux subtracted in 200 components = -2.18558e-05 Jy ! Clean residual min=-0.002823 max=0.002453 Jy/beam ! Clean residual mean=-0.000004 rms=0.000576 Jy/beam ! Combined flux in latest and established models = 0.641693 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 85 components and 0.641693 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.066970Jy sigma=0.398052 ! Fit after self-cal, rms=0.066962Jy sigma=0.398039 ! 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.066962Jy sigma=0.398039 ! Fit after self-cal, rms=0.066962Jy sigma=0.397987 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.549 mas, bmaj=7.822 mas, bpa=-3.802 degrees ! Estimated noise=1.54184 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000509736 Jy ! Component: 100 - total flux cleaned = -0.000816472 Jy ! Component: 150 - total flux cleaned = -0.000950616 Jy ! Component: 200 - total flux cleaned = -0.00102264 Jy ! Total flux subtracted in 200 components = -0.00102264 Jy ! Clean residual min=-0.002200 max=0.002071 Jy/beam ! Clean residual mean=-0.000006 rms=0.000551 Jy/beam ! Combined flux in latest and established models = 0.64067 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 92 components and 0.64067 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.066918Jy sigma=0.397813 ! Fit after self-cal, rms=0.066899Jy sigma=0.397746 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 = 5.52941e-05 Jy ! Component: 100 - total flux cleaned = -3.88952e-05 Jy ! Component: 150 - total flux cleaned = -8.18237e-05 Jy ! Component: 200 - total flux cleaned = -0.00014312 Jy ! Total flux subtracted in 200 components = -0.00014312 Jy ! Clean residual min=-0.002243 max=0.002054 Jy/beam ! Clean residual mean=-0.000006 rms=0.000549 Jy/beam ! Combined flux in latest and established models = 0.640527 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 98 components and 0.640527 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.066884Jy sigma=0.397678 ! Fit after self-cal, rms=0.066875Jy sigma=0.397653 ! 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 "/d2/scr/pima/rdv96_uvs/J0407-3303_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=0.9639 mas, bmaj=2.839 mas, bpa=0.03326 degrees ! Estimated noise=1.4053 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9639 x 2.839 at 0.03326 degrees (North through East) ! Clean map min=-0.0027188 max=0.52935 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J0407-3303_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.5293 rms= 0.00055 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J0407-3303_X_uvs.log closed on Fri Dec 20 23:44:01 2013