The Federal Reserve ended weeks of speculation Thursday by keeping U.S. interest rates at record lows in the face of threats from a weak global economy, persistently low inflation and unstable financial markets. Financial markets had been zigzagging with anxiety this summer as investors tried to figure out whether the Fed would start phasing out the period of extraordinarily low borrowing rates it launched at a time of crisis.