Early stage of tumor-immune competition with time dependent parameter and external source