A slump in fourth-quarter earnings has hit full-year profits at Philadelphia-based retailer Weis Markets.