Analytical Modeling Of Compact Binaries In General Relativity And Modified Gravity Theories