Thanks to those who replied. Found out this morning that she has an anal gland abcess. Once the vet shaved her I was stunned to see the extent of her problem. He had just seen her on Saturday and didn't notice it himself. She's on antibiotics now and is already obviously improved. Am steeling myself for 2 weeks of pill giving. Guess it beats the alternative.