You will need to get the cpu utilization details during the period when this occurs on the CLI. This will help identify the source of the cpu utilization.
get perf cpu detai
Follow the instructions here to trace down the process and potential solutions.
https://kb.juniper.net/InfoCenter/index?page=content&id=KB9453