I think it's a female. I asked for how long it's been cupped like that because I though the you might have by chance caught a male in the act of cupping it's anal fin when you took the pics, but if it's been cupped for an extended amount of time than it is probably the effect of the longfin.