! Started logfile: /scr/pima/rdv96_uvs/J2238+6804_S_uvs.log on Sat Dec 21 00:26:09 2013 obs /scr/pima/rdv96_uvs/J2238+6804_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J2238+6804_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.988889 visibilities/baseline/integration-bin. ! Found source: J2238+6804 ! ! 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 7832 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/J2238+6804_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:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 1: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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=1.004556Jy sigma=1.495384 ! Fit after self-cal, rms=0.906958Jy sigma=1.312424 ! 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=3.019 mas, bmaj=6.668 mas, bpa=-84.06 degrees ! Estimated noise=12.9441 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.0762816 Jy ! Component: 100 - total flux cleaned = 0.102237 Jy ! Total flux subtracted in 100 components = 0.102237 Jy ! Clean residual min=-0.007045 max=0.025353 Jy/beam ! Clean residual mean=-0.000041 rms=0.002194 Jy/beam ! Combined flux in latest and established models = 0.102237 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 0.102237 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.067737Jy sigma=0.097243 ! Fit after self-cal, rms=0.067448Jy sigma=0.096804 ! Inverting map ! Added new window around map position (-2.8, 4.4). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0222832 Jy ! Component: 100 - total flux cleaned = 0.0325452 Jy ! Total flux subtracted in 100 components = 0.0325452 Jy ! Clean residual min=-0.005392 max=0.006964 Jy/beam ! Clean residual mean=-0.000015 rms=0.001238 Jy/beam ! Combined flux in latest and established models = 0.134782 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 23 components and 0.134782 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060524Jy sigma=0.081627 ! Fit after self-cal, rms=0.059851Jy sigma=0.080766 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00719589 Jy ! Component: 100 - total flux cleaned = 0.0107484 Jy ! Total flux subtracted in 100 components = 0.0107484 Jy ! Clean residual min=-0.004042 max=0.003689 Jy/beam ! Clean residual mean=-0.000006 rms=0.000994 Jy/beam ! Combined flux in latest and established models = 0.145531 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 37 components and 0.145531 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059107Jy sigma=0.078957 ! Fit after self-cal, rms=0.059007Jy sigma=0.078852 ! 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=4.164 mas, bmaj=8.461 mas, bpa=-85.78 degrees ! Estimated noise=5.87182 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.00314315 Jy ! Component: 100 - total flux cleaned = 0.00454365 Jy ! Component: 150 - total flux cleaned = 0.00524684 Jy ! Component: 200 - total flux cleaned = 0.00545581 Jy ! Total flux subtracted in 200 components = 0.00545581 Jy ! Clean residual min=-0.002687 max=0.002180 Jy/beam ! Clean residual mean=-0.000009 rms=0.000685 Jy/beam ! Combined flux in latest and established models = 0.150987 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 51 components and 0.150987 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058856Jy sigma=0.078568 ! Fit after self-cal, rms=0.058830Jy sigma=0.078533 ! 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.99 FD 0.98 HN 1.00 KP 1.03 ! LA 1.17 MK 0.93 NL 0.97 OV 1.01 ! PT 1.06 SC 0.95 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.06 HN 1.03 KP 1.04 ! LA 1.04 MK 0.95 NL 1.01 OV 1.05 ! PT 1.04 SC 0.97 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.04 HN 1.08 KP 0.91 ! LA 1.00 MK 1.02 NL 1.05 OV 1.02 ! PT 1.09 SC 0.94 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 1.05 HN 0.98 KP 0.83 ! LA 0.81 MK 1.08 NL 1.04 OV 0.87 ! PT 0.97 SC 0.99 ! ! ! Fit before self-cal, rms=0.058830Jy sigma=0.078533 ! Fit after self-cal, rms=0.056532Jy sigma=0.073774 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.148 mas, bmaj=8.447 mas, bpa=-85.84 degrees ! Estimated noise=5.86433 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 = 3.79828e-05 Jy ! Component: 100 - total flux cleaned = -5.17417e-05 Jy ! Component: 150 - total flux cleaned = -0.0001012 Jy ! Component: 200 - total flux cleaned = -0.000163498 Jy ! Total flux subtracted in 200 components = -0.000163498 Jy ! Clean residual min=-0.001507 max=0.001762 Jy/beam ! Clean residual mean=-0.000002 rms=0.000439 Jy/beam ! Combined flux in latest and established models = 0.150823 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 63 components and 0.150823 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056496Jy sigma=0.073746 ! Fit after self-cal, rms=0.056500Jy sigma=0.073711 ! 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.056500Jy sigma=0.073711 ! Fit after self-cal, rms=0.056354Jy sigma=0.073710 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.143 mas, bmaj=8.443 mas, bpa=-85.86 degrees ! Estimated noise=5.85739 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.18356e-05 Jy ! Component: 100 - total flux cleaned = -2.38017e-05 Jy ! Component: 150 - total flux cleaned = -6.0822e-05 Jy ! Component: 200 - total flux cleaned = -0.000123739 Jy ! Total flux subtracted in 200 components = -0.000123739 Jy ! Clean residual min=-0.001457 max=0.001776 Jy/beam ! Clean residual mean=-0.000002 rms=0.000431 Jy/beam ! Combined flux in latest and established models = 0.150699 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 67 components and 0.150699 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056331Jy sigma=0.073694 ! Fit after self-cal, rms=0.056324Jy sigma=0.073688 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 = 3.62503e-05 Jy ! Component: 100 - total flux cleaned = 2.32004e-05 Jy ! Component: 150 - total flux cleaned = 8.7463e-06 Jy ! Component: 200 - total flux cleaned = -1.85388e-05 Jy ! Total flux subtracted in 200 components = -1.85388e-05 Jy ! Clean residual min=-0.001430 max=0.001768 Jy/beam ! Clean residual mean=-0.000002 rms=0.000427 Jy/beam ! Combined flux in latest and established models = 0.150681 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 72 components and 0.150681 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056309Jy sigma=0.073679 ! Fit after self-cal, rms=0.056304Jy sigma=0.073674 ! 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.056304Jy sigma=0.073674 ! Fit after self-cal, rms=0.056337Jy sigma=0.073482 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.138 mas, bmaj=8.453 mas, bpa=-85.66 degrees ! Estimated noise=5.86062 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -6.56849e-05 Jy ! Component: 100 - total flux cleaned = 1.32691e-05 Jy ! Component: 150 - total flux cleaned = 1.75249e-06 Jy ! Component: 200 - total flux cleaned = -9.64457e-06 Jy ! Total flux subtracted in 200 components = -9.64457e-06 Jy ! Clean residual min=-0.001509 max=0.001666 Jy/beam ! Clean residual mean=0.000002 rms=0.000376 Jy/beam ! Combined flux in latest and established models = 0.150671 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 78 components and 0.150671 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056323Jy sigma=0.073475 ! Fit after self-cal, rms=0.056323Jy sigma=0.073470 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 (83.2, 30). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00106006 Jy ! Component: 100 - total flux cleaned = 0.00132006 Jy ! Component: 150 - total flux cleaned = 0.00149519 Jy ! Component: 200 - total flux cleaned = 0.00151782 Jy ! Total flux subtracted in 200 components = 0.00151782 Jy ! Clean residual min=-0.001349 max=0.001345 Jy/beam ! Clean residual mean=0.000003 rms=0.000343 Jy/beam ! Combined flux in latest and established models = 0.152189 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 98 components and 0.152189 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056277Jy sigma=0.073402 ! Fit after self-cal, rms=0.056277Jy sigma=0.073397 ! 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.056277Jy sigma=0.073397 ! Fit after self-cal, rms=0.056257Jy sigma=0.073392 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.835 mas, bmaj=12.59 mas, bpa=-87.77 degrees ! Estimated noise=5.66509 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 9.0441e-05 Jy ! Component: 100 - total flux cleaned = 0.000266458 Jy ! Component: 150 - total flux cleaned = 0.000423759 Jy ! Component: 200 - total flux cleaned = 0.000503696 Jy ! Total flux subtracted in 200 components = 0.000503696 Jy ! Clean residual min=-0.001104 max=0.001114 Jy/beam ! Clean residual mean=0.000001 rms=0.000346 Jy/beam ! Combined flux in latest and established models = 0.152693 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 123 components and 0.152693 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056254Jy sigma=0.073371 ! Fit after self-cal, rms=0.056253Jy sigma=0.073370 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 = 7.07863e-05 Jy ! Component: 100 - total flux cleaned = 0.000130085 Jy ! Component: 150 - total flux cleaned = 0.000191549 Jy ! Component: 200 - total flux cleaned = 0.000235687 Jy ! Total flux subtracted in 200 components = 0.000235687 Jy ! Clean residual min=-0.001093 max=0.001124 Jy/beam ! Clean residual mean=0.000000 rms=0.000340 Jy/beam ! Combined flux in latest and established models = 0.152928 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 136 components and 0.152928 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056254Jy sigma=0.073365 ! Fit after self-cal, rms=0.056254Jy sigma=0.073364 ! 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/J2238+6804_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.134 mas, bmaj=8.441 mas, bpa=-85.54 degrees ! Estimated noise=5.86317 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.134 x 8.441 at -85.54 degrees (North through East) ! Clean map min=-0.0012208 max=0.09902 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J2238+6804_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.099 rms= 0.00032 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J2238+6804_S_uvs.log closed on Sat Dec 21 00:26:11 2013