Trader John Song, left, works on the floor of the New York Stock Exchange, Monday, June 10, 2013. The stock market is getting off to a mixed start as traders show only mild enthusiasm for an improving outlook for the U.S. government's credit rating. Trader Thomas Ferrigno watches activity on the floor of the New York Stock Exchange, Monday, June 10, 2013. Trader Kevin Colter works on the floor of the New York Stock Exchange, Monday, June 10, 2013. NEW YORK (AP) - The Standard & Poor's ratings agency said Monday it's getting more optimistic about the U.S. economy. But investors just yawned. Stocks budged higher when trading opened, shortly after the S&P agency raised its outlook for the U.S. government's debt rating and credited "the strengths of the economy." But the gains proved both modest and fickle, and the market spent most of the day flitting between small gains and losses. At day's end, the Dow Jones industrial average and the S&P 500 were lower, but just barely. The Nasdaq composite was slightly higher. It was a marked change from Friday, when the Dow jumped 207 points after a jobs report that investors viewed as positive. Trading volume was light, and there were no major economic reports or company announcements. The 10 industry sectors in the S&P were split down the middle, with half rising and half falling, but none moved dramatically. The best performer, telecommunications, was up 0.8 percent. The worst, consumer discretionary, was down 0.3 percent. Booz Allen Hamilton slid after a company employee said he had leaked information about secret government surveillance programs. The consulting company's stock dropped 46 cents, or 2.6 percent, to $17.54. The S&P's statement harkened back to August 2011, when the agency slashed its rating of the U.S. government's debt because Congress was in a heated battle over whether to raise government spending limits. The downgrade, an embarrassment to the U.S., also sent the stock market into a tailspin. The Dow plunged 634 points, or more than 5 percent, on the first trading day after the downgrade. The market had triple-digit swings throughout that fall. On Monday, S&P upgraded its outlook on the U.S. debt rating to "Stable" from "Negative." That doesn't restore the U.S. government's top-shelf credit rating, but it does mean that S&P is unlikely to cut the rating again in the near future. S&P cited the Federal Reserve's willingness to keep interest rates low, which is meant to spur borrowing and spending, and its bond purchasing program, which is meant to encourage investors to buy stocks and other riskier assets. S&P also noted approvingly that Congress had agreed to raise some taxes this year, notably the Social Security tax that most workers pay, which has helped shrink the government's budget deficit. The reaction from investors was a far cry from two summers ago. Some doubted the S&P's assessment that the economy is improving, and said the Fed is only artificially propping it up. Ed Butowsky, managing partner of Chapwood Investments in Dallas, said that the unemployment rate is still too high, economic growth too weak and the government's budget deficit too heavy for the economy to be considered healthy. "It defies economic logic as to why the S&P did this," Butowsky said. ..."We continue to print money, we continue to spend money. What are they looking at? Others agreed with the S&P's assessment, but said it was old news. Jerry Webman, chief economist at OppenheimerFunds in New York, thinks the economy is strong enough to drive sustainable earnings growth, but not so strong that the Fed might pull the plug on its stimulus measures - a sentiment that seemed to drive Friday's rally. Still, he thinks investors shouldn't draw too many conclusions from a single S&P report. "On the question of what's moving the U.S. stock market," Webman said, "the answer is 'Not much.'" The Dow closed down 9.53 points at 15,238.59, a loss of 0.06 percent. The S&P 500 index was essentially flat, falling 0.57 point to 1,642.81, or 0.03 percent. The Nasdaq composite edged up 4.55 points to 3,473.77, a gain of 0.1 percent. Outside the U.S., Japan's Nikkei stock index soared 4.9 percent after a report that the world's No. 3 economy is growing faster than expected. But there were also reminders that the global economy is far from cured. In the Netherlands, the central bank warned that the government needs to cut spending. Courts in Germany are poised to consider whether Germany is legally allowed to bail out struggling European countries, as it has been doing. The yield on the 10-year Treasury note edged up to 2.21 percent from 2.18 percent late Friday, a sign that investors were more willing to put their money in the stock market. In commodities trading, the price of crude oil fell 26 cents to $95.77 per barrel, and gold edged up $3 to $1,386 an ounce. Among companies making big moves: Facebook jumped after Stifel Nicolaus analysts upgraded the stock to "Buy" from "Hold," saying the company is one of the most compelling investments in the Internet sector. The stock rose $1.04, or 4.5 percent, to $24.33. B&G Foods, whose brands include Cream of Wheat and Mrs. Dash, jumped after announcing it would buy Robert's American Gourmet Food, whose brands include Pirate's Booty and Smart Puffs. B&G Foods rose $1.99, or 6.8 percent, to $31.17. Apricus Biosciences soared after reporting that its impotence drug, Vitaros, has been approved in 10 European countries. The stock shot up 17 cents, or 6.6 percent, to $2.73.