! Started logfile: /scr/pima/rdv96_uvs/J0330+4656_S_uvs.log on Sat Dec 21 00:22:11 2013 obs /scr/pima/rdv96_uvs/J0330+4656_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J0330+4656_S_uva.fits ! AN table 1: 36 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0330+4656 ! ! 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 6480 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/J0330+4656_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.017630Jy sigma=3.161093 ! Fit after self-cal, rms=0.808904Jy sigma=2.457607 ! 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.553 mas, bmaj=4.671 mas, bpa=-15.9 degrees ! Estimated noise=6.10762 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.15048 Jy ! Component: 100 - total flux cleaned = 0.19152 Jy ! Total flux subtracted in 100 components = 0.19152 Jy ! Clean residual min=-0.006856 max=0.016691 Jy/beam ! Clean residual mean=-0.000024 rms=0.002136 Jy/beam ! Combined flux in latest and established models = 0.19152 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.19152 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.063520Jy sigma=0.201083 ! Fit after self-cal, rms=0.063602Jy sigma=0.200895 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0179835 Jy ! Component: 100 - total flux cleaned = 0.0269719 Jy ! Total flux subtracted in 100 components = 0.0269719 Jy ! Clean residual min=-0.005804 max=0.007228 Jy/beam ! Clean residual mean=-0.000010 rms=0.001522 Jy/beam ! Combined flux in latest and established models = 0.218492 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 26 components and 0.218492 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058348Jy sigma=0.176511 ! Fit after self-cal, rms=0.058374Jy sigma=0.176397 ! 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.498 mas, bmaj=5.882 mas, bpa=-16.32 degrees ! Estimated noise=2.95513 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.4, 6.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0106027 Jy ! Component: 100 - total flux cleaned = 0.0169967 Jy ! Component: 150 - total flux cleaned = 0.0213327 Jy ! Component: 200 - total flux cleaned = 0.0244642 Jy ! Total flux subtracted in 200 components = 0.0244642 Jy ! Clean residual min=-0.004287 max=0.004440 Jy/beam ! Clean residual mean=0.000008 rms=0.001039 Jy/beam ! Combined flux in latest and established models = 0.242956 Jy ! Performing phase self-cal ! Adding 56 model components to the UV plane model. ! The established model now contains 77 components and 0.242956 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056668Jy sigma=0.168014 ! Fit after self-cal, rms=0.056610Jy sigma=0.167693 ! 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.97 HN 1.00 KP 1.01 ! LA 1.17 MK 0.95 NL 0.99 OV 1.01 ! PT 1.05 SC 0.94 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.06 HN 1.05 KP 1.01 ! LA 1.06 MK 1.04 NL 1.04 OV 1.04 ! PT 1.03 SC 1.04 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.05 HN 1.01 KP 0.90 ! LA 0.97 MK 1.01 NL 1.07 OV 1.03 ! PT 1.05 SC 0.96 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.00 HN 0.91 KP 0.83 ! LA 0.81 MK 1.13 NL 1.03 OV 0.89 ! PT 0.92 SC 1.01 ! ! ! Fit before self-cal, rms=0.056610Jy sigma=0.167693 ! Fit after self-cal, rms=0.050912Jy sigma=0.142664 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.526 mas, bmaj=5.896 mas, bpa=-15.92 degrees ! Estimated noise=2.93551 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.00123891 Jy ! Component: 100 - total flux cleaned = 0.00140526 Jy ! Component: 150 - total flux cleaned = 0.00153043 Jy ! Component: 200 - total flux cleaned = 0.00158545 Jy ! Total flux subtracted in 200 components = 0.00158545 Jy ! Clean residual min=-0.001912 max=0.002015 Jy/beam ! Clean residual mean=-0.000007 rms=0.000466 Jy/beam ! Combined flux in latest and established models = 0.244542 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 90 components and 0.244542 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050827Jy sigma=0.142413 ! Fit after self-cal, rms=0.050850Jy sigma=0.142359 ! 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.050850Jy sigma=0.142359 ! Fit after self-cal, rms=0.050866Jy sigma=0.142350 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.528 mas, bmaj=5.896 mas, bpa=-15.9 degrees ! Estimated noise=2.93416 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000241431 Jy ! Component: 100 - total flux cleaned = 0.00035028 Jy ! Component: 150 - total flux cleaned = 0.00046588 Jy ! Component: 200 - total flux cleaned = 0.000507409 Jy ! Total flux subtracted in 200 components = 0.000507409 Jy ! Clean residual min=-0.001928 max=0.001836 Jy/beam ! Clean residual mean=-0.000007 rms=0.000454 Jy/beam ! Combined flux in latest and established models = 0.245049 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 100 components and 0.245049 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050831Jy sigma=0.142284 ! Fit after self-cal, rms=0.050827Jy sigma=0.142275 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.000194754 Jy ! Component: 100 - total flux cleaned = 0.000235848 Jy ! Component: 150 - total flux cleaned = 0.000254755 Jy ! Component: 200 - total flux cleaned = 0.000272622 Jy ! Total flux subtracted in 200 components = 0.000272622 Jy ! Clean residual min=-0.001928 max=0.001750 Jy/beam ! Clean residual mean=-0.000006 rms=0.000448 Jy/beam ! Combined flux in latest and established models = 0.245322 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 110 components and 0.245322 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050804Jy sigma=0.142240 ! Fit after self-cal, rms=0.050802Jy sigma=0.142236 ! 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.050802Jy sigma=0.142236 ! Fit after self-cal, rms=0.050800Jy sigma=0.141776 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.522 mas, bmaj=5.896 mas, bpa=-15.93 degrees ! Estimated noise=2.93248 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000251049 Jy ! Component: 100 - total flux cleaned = 0.000291086 Jy ! Component: 150 - total flux cleaned = 0.000309868 Jy ! Component: 200 - total flux cleaned = 0.000362425 Jy ! Total flux subtracted in 200 components = 0.000362425 Jy ! Clean residual min=-0.001766 max=0.001850 Jy/beam ! Clean residual mean=-0.000010 rms=0.000416 Jy/beam ! Combined flux in latest and established models = 0.245684 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 119 components and 0.245684 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050777Jy sigma=0.141737 ! Fit after self-cal, rms=0.050778Jy sigma=0.141733 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 (85.2, 86.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000769526 Jy ! Component: 100 - total flux cleaned = 0.00050538 Jy ! Component: 150 - total flux cleaned = 0.000294009 Jy ! Component: 200 - total flux cleaned = 0.000219527 Jy ! Total flux subtracted in 200 components = 0.000219527 Jy ! Clean residual min=-0.001675 max=0.001524 Jy/beam ! Clean residual mean=-0.000010 rms=0.000396 Jy/beam ! Combined flux in latest and established models = 0.245904 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 137 components and 0.245904 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050693Jy sigma=0.141558 ! Fit after self-cal, rms=0.050689Jy sigma=0.141543 ! 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.050689Jy sigma=0.141543 ! Fit after self-cal, rms=0.050644Jy sigma=0.141525 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.565 mas, bmaj=9.265 mas, bpa=-7.082 degrees ! Estimated noise=3.0873 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00037594 Jy ! Component: 100 - total flux cleaned = 0.000379584 Jy ! Component: 150 - total flux cleaned = 0.000269718 Jy ! Component: 200 - total flux cleaned = 0.000193083 Jy ! Total flux subtracted in 200 components = 0.000193083 Jy ! Clean residual min=-0.001563 max=0.001722 Jy/beam ! Clean residual mean=-0.000021 rms=0.000488 Jy/beam ! Combined flux in latest and established models = 0.246097 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 153 components and 0.246097 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050640Jy sigma=0.141471 ! Fit after self-cal, rms=0.050639Jy sigma=0.141466 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.000115666 Jy ! Component: 100 - total flux cleaned = 2.85786e-05 Jy ! Component: 150 - total flux cleaned = -3.33793e-05 Jy ! Component: 200 - total flux cleaned = -7.59119e-05 Jy ! Total flux subtracted in 200 components = -7.59119e-05 Jy ! Clean residual min=-0.001521 max=0.001737 Jy/beam ! Clean residual mean=-0.000018 rms=0.000479 Jy/beam ! Combined flux in latest and established models = 0.246021 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 172 components and 0.246021 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050638Jy sigma=0.141447 ! Fit after self-cal, rms=0.050637Jy sigma=0.141445 ! 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/J0330+4656_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.52 mas, bmaj=5.896 mas, bpa=-15.82 degrees ! Estimated noise=2.93227 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.52 x 5.896 at -15.82 degrees (North through East) ! Clean map min=-0.0014703 max=0.19747 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J0330+4656_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.1974 rms= 0.00038 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J0330+4656_S_uvs.log closed on Sat Dec 21 00:22:13 2013