A construction of singular solutions for a semilinear elliptic equation using asymptotic analysis