! Started logfile: /d2/scr/pima/rdv96_uvs/J1606+5521_X_uvs.log on Fri Dec 20 23:45:52 2013 obs /d2/scr/pima/rdv96_uvs/J1606+5521_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J1606+5521_X_uva.fits ! AN table 1: 22 integrations on 15 of 15 possible baselines. ! AN table 2: 22 integrations on 15 of 15 possible baselines. ! Apparent sampling: 0.387879 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J1606+5521 ! ! 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 1024 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/J1606+5521_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:KP self-cal status=correctable weight=1 ! 1:LA self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT 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 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 66 telescope corrections were flagged in sub-array 1. ! A total of 54 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 66 telescope corrections were flagged in sub-array 1. ! A total of 54 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 66 telescope corrections were flagged in sub-array 1. ! A total of 54 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 66 telescope corrections were flagged in sub-array 1. ! A total of 54 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=0.996046Jy sigma=0.648960 ! Fit after self-cal, rms=0.950086Jy sigma=0.709991 ! 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=7.332 mas, bmaj=8.589 mas, bpa=-87.73 degrees ! Estimated noise=48.8355 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=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0378882 Jy ! Component: 100 - total flux cleaned = 0.0392877 Jy ! Total flux subtracted in 100 components = 0.0392877 Jy ! Clean residual min=-0.007285 max=0.007293 Jy/beam ! Clean residual mean=0.000745 rms=0.004276 Jy/beam ! Combined flux in latest and established models = 0.0392877 Jy ! Performing phase self-cal ! Adding 40 model components to the UV plane model. ! The established model now contains 40 components and 0.0392877 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.039848Jy sigma=0.027384 ! Fit after self-cal, rms=0.039524Jy sigma=0.027073 ! 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=7.114 mas, bmaj=9.217 mas, bpa=-71.67 degrees ! Estimated noise=40.9999 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.00289231 Jy ! Component: 100 - total flux cleaned = -0.000737598 Jy ! Component: 150 - total flux cleaned = -5.85397e-05 Jy ! Component: 200 - total flux cleaned = -0.000250637 Jy ! Total flux subtracted in 200 components = -0.000250637 Jy ! Clean residual min=-0.000954 max=0.000941 Jy/beam ! Clean residual mean=0.000054 rms=0.000478 Jy/beam ! Combined flux in latest and established models = 0.0390371 Jy ! Performing phase self-cal ! Adding 115 model components to the UV plane model. ! The established model now contains 155 components and 0.039037 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.038580Jy sigma=0.025236 ! Fit after self-cal, rms=0.038716Jy sigma=0.025207 ! 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. ! A total of 66 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.00* FD 0.00* KP 0.00* LA 0.00* ! OV 0.00* PT 0.00* ! ! A total of 30 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! FD 1.14 KP 1.05 LA 1.15 NL 1.00* ! OV 1.00* PT 0.85 ! ! ! Correcting IF 2. ! A total of 66 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.00* FD 0.00* KP 0.00* LA 0.00* ! OV 0.00* PT 0.00* ! ! A total of 30 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! FD 0.75 KP 1.11 LA 0.96 NL 1.00* ! OV 1.00* PT 1.13 ! ! ! Correcting IF 3. ! A total of 66 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.00* FD 0.00* KP 0.00* LA 0.00* ! OV 0.00* PT 0.00* ! ! A total of 30 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! FD 0.88 KP 1.11 LA 1.00 NL 1.00* ! OV 1.00* PT 0.88 ! ! ! Correcting IF 4. ! A total of 66 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.00* FD 0.00* KP 0.00* LA 0.00* ! OV 0.00* PT 0.00* ! ! A total of 30 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! FD 1.17 KP 0.85 LA 0.84 NL 1.00* ! OV 1.00* PT 1.13 ! ! ! Fit before self-cal, rms=0.038716Jy sigma=0.025207 ! Fit after self-cal, rms=0.035609Jy sigma=0.024365 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=6.392 mas, bmaj=12.74 mas, bpa=77.97 degrees ! Estimated noise=66.3398 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.000778805 Jy ! Component: 100 - total flux cleaned = 0.00082668 Jy ! Component: 150 - total flux cleaned = 0.00088165 Jy ! Component: 200 - total flux cleaned = 0.00100148 Jy ! Total flux subtracted in 200 components = 0.00100148 Jy ! Clean residual min=-0.000501 max=0.000511 Jy/beam ! Clean residual mean=-0.000007 rms=0.000169 Jy/beam ! Combined flux in latest and established models = 0.0400385 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 181 components and 0.0400385 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.035566Jy sigma=0.024354 ! Fit after self-cal, rms=0.035837Jy sigma=0.024316 ! 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.035837Jy sigma=0.024316 ! Fit after self-cal, rms=0.037036Jy sigma=0.024275 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.401 mas, bmaj=12.74 mas, bpa=77.9 degrees ! Estimated noise=66.2085 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 2.70182e-05 Jy ! Component: 100 - total flux cleaned = -9.93407e-05 Jy ! Component: 150 - total flux cleaned = -0.000380202 Jy ! Component: 200 - total flux cleaned = -0.00104882 Jy ! Total flux subtracted in 200 components = -0.00104882 Jy ! Clean residual min=-0.000684 max=0.000664 Jy/beam ! Clean residual mean=-0.000009 rms=0.000188 Jy/beam ! Combined flux in latest and established models = 0.0389897 Jy selfcal ! Performing phase self-cal ! Adding 55 model components to the UV plane model. ! The established model now contains 236 components and 0.0389897 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.036998Jy sigma=0.024268 ! Fit after self-cal, rms=0.037454Jy sigma=0.024246 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 = -2.17652e-05 Jy ! Component: 100 - total flux cleaned = -5.84059e-05 Jy ! Component: 150 - total flux cleaned = -0.000275681 Jy ! Component: 200 - total flux cleaned = -0.000551315 Jy ! Total flux subtracted in 200 components = -0.000551315 Jy ! Clean residual min=-0.000697 max=0.000699 Jy/beam ! Clean residual mean=-0.000004 rms=0.000210 Jy/beam ! Combined flux in latest and established models = 0.0384384 Jy ! Performing phase self-cal ! Adding 70 model components to the UV plane model. ! The established model now contains 306 components and 0.0384384 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.037347Jy sigma=0.024229 ! Fit after self-cal, rms=0.037418Jy sigma=0.024218 ! 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.037418Jy sigma=0.024218 ! Fit after self-cal, rms=0.039125Jy sigma=0.024194 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.393 mas, bmaj=12.75 mas, bpa=78.08 degrees ! Estimated noise=65.9287 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000207491 Jy ! Component: 100 - total flux cleaned = 0.000473044 Jy ! Component: 150 - total flux cleaned = 0.000347505 Jy ! Component: 200 - total flux cleaned = -0.000605763 Jy ! Total flux subtracted in 200 components = -0.000605763 Jy ! Clean residual min=-0.000818 max=0.000621 Jy/beam ! Clean residual mean=-0.000012 rms=0.000218 Jy/beam ! Combined flux in latest and established models = 0.0378326 Jy selfcal ! Performing phase self-cal ! Adding 44 model components to the UV plane model. ! The established model now contains 346 components and 0.0378326 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.039026Jy sigma=0.024187 ! Fit after self-cal, rms=0.039139Jy sigma=0.024179 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.39594e-05 Jy ! Component: 100 - total flux cleaned = 0.000345414 Jy ! Component: 150 - total flux cleaned = 0.00143488 Jy ! Component: 200 - total flux cleaned = 0.0035709 Jy ! Total flux subtracted in 200 components = 0.0035709 Jy ! Clean residual min=-0.001580 max=0.001903 Jy/beam ! Clean residual mean=0.000018 rms=0.000479 Jy/beam ! Combined flux in latest and established models = 0.0414035 Jy ! Performing phase self-cal ! Adding 73 model components to the UV plane model. ! The established model now contains 415 components and 0.0414035 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.039096Jy sigma=0.024179 ! Fit after self-cal, rms=0.039105Jy sigma=0.024172 ! 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.039105Jy sigma=0.024172 ! Fit after self-cal, rms=0.039917Jy sigma=0.024159 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.523 mas, bmaj=12.74 mas, bpa=77.79 degrees ! Estimated noise=65.0365 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000250142 Jy ! Component: 100 - total flux cleaned = -0.000271205 Jy ! Component: 150 - total flux cleaned = -0.000268497 Jy ! Component: 200 - total flux cleaned = -0.000340289 Jy ! Total flux subtracted in 200 components = -0.000340289 Jy ! Clean residual min=-0.000636 max=0.000639 Jy/beam ! Clean residual mean=0.000009 rms=0.000199 Jy/beam ! Combined flux in latest and established models = 0.0410632 Jy selfcal ! Performing phase self-cal ! Adding 58 model components to the UV plane model. ! The established model now contains 465 components and 0.0410632 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.039844Jy sigma=0.024157 ! Fit after self-cal, rms=0.039924Jy sigma=0.024151 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.000744374 Jy ! Component: 100 - total flux cleaned = -0.00124655 Jy ! Component: 150 - total flux cleaned = -0.00226007 Jy ! Component: 200 - total flux cleaned = -0.00410018 Jy ! Total flux subtracted in 200 components = -0.00410018 Jy ! Clean residual min=-0.001689 max=0.001151 Jy/beam ! Clean residual mean=-0.000045 rms=0.000345 Jy/beam ! Combined flux in latest and established models = 0.036963 Jy ! Performing phase self-cal ! Adding 62 model components to the UV plane model. ! The established model now contains 525 components and 0.036963 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.039875Jy sigma=0.024156 ! Fit after self-cal, rms=0.039918Jy sigma=0.024152 ! 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/J1606+5521_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=5.262 mas, bmaj=5.948 mas, bpa=44.02 degrees ! Estimated noise=36.6013 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 5.262 x 5.948 at 44.02 degrees (North through East) ! Clean map min=-0.010043 max=0.034163 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J1606+5521_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.0341 rms= 0.00292 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J1606+5521_X_uvs.log closed on Fri Dec 20 23:45:55 2013