In one of the recent device OS releases Particle.subscribe() handlers will only come into effect a short while aftersetup() has finished. So publishing from setup() (directly or indirectly) will emit the event before the handler will be ready to catch it - that is for SYSTEM_MODE(AUTOMATIC)