If you are playing Pokemon Moon, your best bet is to lower Necrozma's health with Nature's Madness and then use a dusk ball during the day (our time). It seriously works! It did for me! It only took a minute or two to do...
Source WHAT JUST FREAKING HAPPENED (aka experience).