CBS’ “Big Brother” remained Wednesday’s top-rated program in demos and NBC’s “America’s Got Talent” drew the most eyeballs overall, but the night was also a good one for CW’s “Penn & Teller: Fool Us,” which hit series highs, and Fox’s “So You Think You Can Dance,” which finished its season with a nice uptick.

According to preliminary national estimates from Nielsen, CW’s new summer series “Penn & Teller: Fool Us” jumped two tenths week to week in 18-49 (to 0.7/2) and gained about 500,000 total viewers — hitting highs in both categories as well as adults 18-34 (0.5/2) and men 18-49 (0.8/3). Combined with a repeat “The 100” (0.3/1 in 18-49, 0.8 million viewers overall), the network had its highest-rated Wednesday in three months (since June 4).

At Fox, “So You Think You Can Dance” may have had a rough season ratings-wise, but it finished well (1.3/5 in 18-49, 4.1 million viewers overall) — up 30% in 18-49 (0.3) from last week to a nine-week high; if it picks up a tenth in the nationals, it would match its year-ago finale. This was the show’s largest overall audience in 10 weeks (since June 25).

CBS, which won Wednesday in adults 18-49, opened with “Big Brother” (2.2/8 in 18-49, 6.5 million viewers overall); it was down a tenth from last week but was the night’s top series in 18-49 for a sixth straight week. It was followed by a repeat “Criminal Minds” (1.1/3 in 18-49, 4.9 million viewers overall) and an original “Extant” (1.0/3 in 18-49, 5.8 million viewers overall), with the latter holding at the same demo rating for a fifth straight week.

NBC followed an “America’s Got Talent” repeat (1.1/4 in 18-49, 6.4 million viewers overall) with the show’s results program (1.9/6 in 18-49, 10.1 million viewers overall), which was up a tenth to match its top demo score in four weeks. Firstrun drama “Taxi Brooklyn” capped the night (0.9/3 in 18-49, 5.5 million viewers overall), up two-tenths in the demo from its low of last week.

ABC aired a four-episode marathon of “The Goldbergs,” opening at 8 p.m. with a 0.9/4 in 18-49 and 4.1 million viewers overall and then growing in demo rating with each half-hour: 1.0/3 at 8:30 (3.9 million viewers overall), 1.1/4 at 9 (3.4 million viewers overall) and 1.2/4 at 9:30 (3.4 million viewers overall). A special hour of “Modern Family” encores closed out the night (1.1/3 in 18-49, 3.2 million viewers overall at 10, 1.1/4 in 18-49, 3.4 million viewers overall at 10:30).

Of note at Telemundo was another strong 10 p.m. performance by telenovela “El Senor De Los Cielos” (Lord of the Skies), which averaged a 1.1/4 in 18-49 (tying for the broadcast lead) and drawing 2.3 million total viewers. The show is coming off its highest-rated week to date, averaging the same 1.1 demo rating and 2.3 million viewers overall for the full week of Aug. 25-29.

Preliminary 18-49 averages for the night: CBS, 1.4/5; Fox, 1.3/5; NBC, 1.3/4; ABC and Univision, 1.1/4; Telemundo, 0.7/2; CW, 0.5/2.

In total viewers: NBC, 7.3 million; CBS, 5.7 million; Fox, 4.1 million; ABC, 3.6 million; Univision, 2.9 million; Telemundo, 1.6 million; CW, 1.4 million.