! Started logfile: /d2/scr/pima/rdv96_uvs/J1640-3727_X_uvs.log on Fri Dec 20 23:46:06 2013 obs /d2/scr/pima/rdv96_uvs/J1640-3727_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J1640-3727_X_uva.fits ! AN table 1: 22 integrations on 28 of 28 possible baselines. ! AN table 2: 22 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.58256 visibilities/baseline/integration-bin. ! Found source: J1640-3727 ! ! 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 2512 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/J1640-3727_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: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: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 ! 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. ! A total of 24 telescope corrections were flagged in sub-array 1. ! A total of 22 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 24 telescope corrections were flagged in sub-array 1. ! A total of 22 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 24 telescope corrections were flagged in sub-array 1. ! A total of 22 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 24 telescope corrections were flagged in sub-array 1. ! A total of 22 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.006871Jy sigma=0.662775 ! Fit after self-cal, rms=0.942190Jy sigma=0.633115 ! 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.9233 mas, bmaj=4.156 mas, bpa=-10.84 degrees ! Estimated noise=52.3935 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.0459071 Jy ! Component: 100 - total flux cleaned = 0.0560453 Jy ! Total flux subtracted in 100 components = 0.0560453 Jy ! Clean residual min=-0.007030 max=0.007590 Jy/beam ! Clean residual mean=0.000015 rms=0.001994 Jy/beam ! Combined flux in latest and established models = 0.0560453 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.0560453 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057681Jy sigma=0.037650 ! Fit after self-cal, rms=0.056261Jy sigma=0.036835 ! 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.638 mas, bmaj=7.157 mas, bpa=-8.965 degrees ! Estimated noise=22.3703 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.00658799 Jy ! Component: 100 - total flux cleaned = 0.00912597 Jy ! Component: 150 - total flux cleaned = 0.0101075 Jy ! Component: 200 - total flux cleaned = 0.0101623 Jy ! Total flux subtracted in 200 components = 0.0101623 Jy ! Clean residual min=-0.004421 max=0.004800 Jy/beam ! Clean residual mean=0.000016 rms=0.001250 Jy/beam ! Combined flux in latest and established models = 0.0662077 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 23 components and 0.0662077 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055833Jy sigma=0.036222 ! Fit after self-cal, rms=0.055901Jy sigma=0.036217 ! 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 0.96 LA 1.23 MK 1.15 ! NL 0.97 OV 1.04 PT 0.95 SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 0.94 KP 1.04 LA 1.00 NL 1.00* ! OV 1.08 PT 1.02 SC 0.94 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 0.98 KP 0.99 LA 1.04 MK 1.21 ! NL 0.97 OV 1.02 PT 0.96 SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.00 KP 0.88 LA 0.94 NL 1.00* ! OV 1.07 PT 1.08 SC 0.96 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 0.95 KP 0.90 LA 0.91 MK 1.13 ! NL 1.20 OV 1.26 PT 0.97 SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.08 KP 0.80 LA 1.03 NL 1.00* ! OV 1.12 PT 1.02 SC 1.00 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 0.89 KP 0.82 LA 1.15 MK 0.77 ! NL 1.15 OV 1.07 PT 1.00 SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.13 KP 0.77 LA 0.92 NL 1.00* ! OV 1.08 PT 1.27 SC 0.80 ! ! ! Fit before self-cal, rms=0.055901Jy sigma=0.036217 ! Fit after self-cal, rms=0.056814Jy sigma=0.035694 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.611 mas, bmaj=7.058 mas, bpa=-8.297 degrees ! Estimated noise=22.039 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.000109546 Jy ! Component: 100 - total flux cleaned = -8.68617e-05 Jy ! Component: 150 - total flux cleaned = -4.16569e-05 Jy ! Component: 200 - total flux cleaned = -2.04085e-05 Jy ! Total flux subtracted in 200 components = -2.04085e-05 Jy ! Clean residual min=-0.002926 max=0.004347 Jy/beam ! Clean residual mean=0.000011 rms=0.000932 Jy/beam ! Combined flux in latest and established models = 0.0661872 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 37 components and 0.0661872 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056792Jy sigma=0.035682 ! Fit after self-cal, rms=0.057175Jy sigma=0.035624 ! 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.057175Jy sigma=0.035624 ! Fit after self-cal, rms=0.057420Jy sigma=0.035612 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.605 mas, bmaj=7.029 mas, bpa=-8.345 degrees ! Estimated noise=21.9494 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000170331 Jy ! Component: 100 - total flux cleaned = -0.000123535 Jy ! Component: 150 - total flux cleaned = -7.94832e-05 Jy ! Component: 200 - total flux cleaned = -3.82167e-05 Jy ! Total flux subtracted in 200 components = -3.82167e-05 Jy ! Clean residual min=-0.002815 max=0.004293 Jy/beam ! Clean residual mean=0.000013 rms=0.000924 Jy/beam ! Combined flux in latest and established models = 0.066149 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 44 components and 0.066149 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057397Jy sigma=0.035601 ! Fit after self-cal, rms=0.057459Jy sigma=0.035592 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 (4.4, 1.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00351002 Jy ! Component: 100 - total flux cleaned = 0.00419677 Jy ! Component: 150 - total flux cleaned = 0.00438583 Jy ! Component: 200 - total flux cleaned = 0.00443836 Jy ! Total flux subtracted in 200 components = 0.00443836 Jy ! Clean residual min=-0.002258 max=0.003119 Jy/beam ! Clean residual mean=0.000009 rms=0.000724 Jy/beam ! Combined flux in latest and established models = 0.0705874 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 59 components and 0.0705874 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057272Jy sigma=0.035446 ! Fit after self-cal, rms=0.057232Jy sigma=0.035411 ! Inverting map ! Added new window around map position (-22.8, 1.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00271576 Jy ! Component: 100 - total flux cleaned = 0.00317697 Jy ! Component: 150 - total flux cleaned = 0.00328162 Jy ! Component: 200 - total flux cleaned = 0.00322288 Jy ! Total flux subtracted in 200 components = 0.00322288 Jy ! Clean residual min=-0.001961 max=0.001923 Jy/beam ! Clean residual mean=0.000014 rms=0.000585 Jy/beam ! Combined flux in latest and established models = 0.0738103 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 80 components and 0.0738103 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057088Jy sigma=0.035321 ! Fit after self-cal, rms=0.057062Jy sigma=0.035298 ! 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.057062Jy sigma=0.035298 ! Fit after self-cal, rms=0.058146Jy sigma=0.035270 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.628 mas, bmaj=7.099 mas, bpa=-8.48 degrees ! Estimated noise=21.9858 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00128449 Jy ! Component: 100 - total flux cleaned = 0.00140403 Jy ! Component: 150 - total flux cleaned = 0.00143598 Jy ! Component: 200 - total flux cleaned = 0.0014384 Jy ! Total flux subtracted in 200 components = 0.0014384 Jy ! Clean residual min=-0.001616 max=0.001668 Jy/beam ! Clean residual mean=0.000011 rms=0.000471 Jy/beam ! Combined flux in latest and established models = 0.0752487 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 88 components and 0.0752487 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058083Jy sigma=0.035237 ! Fit after self-cal, rms=0.058172Jy sigma=0.035227 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.000557451 Jy ! Component: 100 - total flux cleaned = 0.000609041 Jy ! Component: 150 - total flux cleaned = 0.000632187 Jy ! Component: 200 - total flux cleaned = 0.000654055 Jy ! Total flux subtracted in 200 components = 0.000654055 Jy ! Clean residual min=-0.001507 max=0.001656 Jy/beam ! Clean residual mean=0.000010 rms=0.000457 Jy/beam ! Combined flux in latest and established models = 0.0759028 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 100 components and 0.0759027 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058141Jy sigma=0.035213 ! Fit after self-cal, rms=0.058136Jy sigma=0.035211 ! 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.058136Jy sigma=0.035211 ! Fit after self-cal, rms=0.058976Jy sigma=0.035202 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.882 mas, bmaj=15.14 mas, bpa=-4.904 degrees ! Estimated noise=22.2286 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000413031 Jy ! Component: 100 - total flux cleaned = 0.000582543 Jy ! Component: 150 - total flux cleaned = 0.000672682 Jy ! Component: 200 - total flux cleaned = 0.000688316 Jy ! Total flux subtracted in 200 components = 0.000688316 Jy ! Clean residual min=-0.001264 max=0.001555 Jy/beam ! Clean residual mean=0.000012 rms=0.000455 Jy/beam ! Combined flux in latest and established models = 0.0765911 Jy selfcal ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 136 components and 0.076591 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058971Jy sigma=0.035195 ! Fit after self-cal, rms=0.059014Jy sigma=0.035192 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.000237922 Jy ! Component: 100 - total flux cleaned = 0.000254607 Jy ! Component: 150 - total flux cleaned = 0.000255956 Jy ! Component: 200 - total flux cleaned = 0.000242049 Jy ! Total flux subtracted in 200 components = 0.000242049 Jy ! Clean residual min=-0.001268 max=0.001563 Jy/beam ! Clean residual mean=0.000011 rms=0.000443 Jy/beam ! Combined flux in latest and established models = 0.0768331 Jy ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 162 components and 0.0768331 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059012Jy sigma=0.035189 ! Fit after self-cal, rms=0.059018Jy sigma=0.035188 ! 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/J1640-3727_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.528 mas, bmaj=5.221 mas, bpa=-3.473 degrees ! Estimated noise=21.9955 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.528 x 5.221 at -3.473 degrees (North through East) ! Clean map min=-0.0032619 max=0.054908 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J1640-3727_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.0549 rms= 0.00079 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J1640-3727_X_uvs.log closed on Fri Dec 20 23:46:09 2013