Limiting distributions for the general branching process with immigration