Weak manufacturing, energy sectors drag output amid rising costs