Army opened heavy fire on militant targets