Influence of a linear concentration heat source and a quadratic density on the onset of penetrative convection