My productivity levels depends on the time of the day and my sleep. It also depends on the task. Some tasks motivate me to work towards it. Like I like UI development. I am drawn towards completing task quickly because it is one of the favorites. But for logical problems I need time to think about and execute it. So those task take time and I am not productive while doing those tasks.
In conclusion I am best productive on tasks that are best to my liking.