Testosterone production and social environment vary with breeding stage in a competitive female songbird