So this is my first batch ever. My starting gravity was 1.058 7 days ago. My gravity yesterday was 1.007. Both within range for the recipe kit. I measured again today and got 1.011 in a beer thief. Also, I transferred to a secondary yesterday after taking the reading. Why would the gravity go up, and is this within an acceptable margin of error? I'd like to bottle tomorrow, since I won't have time again until next weekend.
Specific gravity will never increase while a beer is fermenting, or after a beer has finished fermenting. One of the readings must have been in error. I suspect the first reading of 1.007, as this would be 100% * (58-7) / 58 = 87.9% attenuation, which is suspiciously high. The reading of 1.011 yields an attenuation of 81%, which is more within reason.
There's a few ways a hydrometer reading can be off:
Regardless, your beer has probably stopped fermenting.
But it's not ready for bottling yet. Even though the fermentation is likely complete, the yeast will continue working over the next couple of weeks to improve the flavour of the beer. Leave it in secondary for another couple of weeks before bottling, and your beer will taste much better.