The past tense of have down to a science is had down to a science.
The third-person singular simple present indicative form of have down to a science is has down to a science.
The present participle of have down to a science is having down to a science.
The past participle of have down to a science is had down to a science.