Variability of solar output and associated effect on the short term modulation of cosmic ray intensity during solar cycle23