Its just happened again. Here is the system log. I cant make out much of this guess someone could find something in common.
I am starting to observe that it has something to do with Safari being open and computer running on battery.
Aug 2 11:56:15 macair com.apple.launchd[1] (com.apple.softwareupdatecheck.periodic): Throttling respawn: Will start in 9 seconds
Aug 2 11:58:49 macair WindowServer[82]: Created shield window 0x80 for display 0x04273c00
Aug 2 11:58:49 macair WindowServer[82]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x0(0)
Aug 2 11:58:49 macair WindowServer[82]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x0(0)
Aug 2 12:01:18 macair WindowServer[82]: handle_will_sleep_auth_and_shield_windows: no lock state data
Aug 2 12:01:18 macair WindowServer[82]: Created shield window 0x81 for display 0x003f003d
Aug 2 12:01:18 macair WindowServer[82]: handle_will_sleep_auth_and_shield_windows: no lock state data
Aug 2 12:01:18 macair WindowServer[82]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04273c00 device: 0x10493a110 isBackBuffered: 1 numComp: 3 numDisp: 3
Aug 2 12:01:19 macair WindowServer[82]: Created shield window 0x82 for display 0x003f003e
Aug 2 12:01:19 macair WindowServer[82]: handle_will_sleep_auth_and_shield_windows: no lock state data
Aug 2 12:01:19 macair kernel[0]: PM notification timeout (pid 146, Google Chrome)
Aug 2 12:01:19 macair kernel[0]: PM notification timeout (pid 240, Google Chrome He)
Aug 2 12:01:19 macair kernel[0]: PM notification timeout (pid 244, Google Chrome He)
Aug 2 12:01:19 macair kernel[0]: PM notification timeout (pid 246, Google Chrome He)
Aug 2 12:01:19 macair kernel[0]: PM notification timeout (pid 248, Google Chrome He)
Aug 2 12:01:19 macair kernel[0]: PM notification timeout (pid 247, Google Chrome He)
Aug 2 12:01:19 macair WindowServer[82]: Created shield window 0x83 for display 0x04273c00
Aug 2 12:01:19 macair WindowServer[82]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x0(0)
Aug 2 12:01:19 macair WindowServer[82]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x0(0)
Aug 2 12:01:23 macair kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep
Aug 2 12:01:25 macair kernel[0]: en0: BSSID changed to 80:a1:d7:28:4f:a2
Aug 2 12:01:25 macair kernel[0]: wlEvent: en0 en0 Link DOWN virtIf = 0
Aug 2 12:01:25 macair kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Aug 2 12:01:25 macair kernel[0]: en0::IO80211Interface::postMessage bssid changed
Aug 2 12:01:25 macair kernel[0]: IOThunderboltSwitch(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0
Aug 2 12:01:25 macair kernel[0]: IOThunderboltSwitch(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0
Aug 2 12:01:25 macair kernel[0]: Wake reason: EHC1
Aug 2 12:01:32 macair kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
Aug 2 12:01:32 macair kernel[0]: Previous Sleep Cause: 5
Aug 2 12:01:32 macair kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1d000000) may have caused a wake by issuing a remote wakeup (2)
Aug 2 12:01:32 macair kernel[0]: IOThunderboltSwitch(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0
Aug 2 12:01:32 macair kernel[0]: IOThunderboltSwitch(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0
Aug 2 12:01:32 macair kernel[0]: The USB device HubDevice (Port 8 of Hub at 0x1d100000) may have caused a wake by issuing a remote wakeup (3)
Aug 2 12:01:32 macair kernel[0]: TBT W (2): 0x0100 [x]
Aug 2 12:01:32 macair kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 2 of Hub at 0x1d180000) may have caused a wake by issuing a remote wakeup (3)
Aug 2 12:01:32 macair kernel[0]: HID tickle 171 ms
Aug 2 12:01:32 macair kernel[0]: AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitialized
Aug 2 12:01:32 macair hidd[62]: MultitouchHID: device bootloaded
Aug 2 12:01:32 macair kernel[0]: AppleUSBMultitouchDriver::handleReport() - restoring correct operating mode
Aug 2 12:01:32 macair kernel[0]: AppleUSBMultitouchDriver::_deviceSetReport - DeviceRequest for reportID 0xac returned with result 0xe000404f - retrying
Aug 2 12:01:32 macair configd[19]: network changed: v4(en0-:192.168.1.4) DNS- Proxy- SMB-
Aug 2 12:01:32 macair awacsd[72]: InnerStore GetWakeInfoForZone: zero address for 1275066441.members.btmm.icloud.com.
Aug 2 12:01:32 macair awacsd[72]: KV HTTP 0
Aug 2 12:01:32 macair WindowServer[82]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1
Aug 2 12:01:32 macair WindowServer[82]: Created shield window 0x84 for display 0x003f003d
Aug 2 12:01:32 macair WindowServer[82]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1
Aug 2 12:01:32 macair WindowServer[82]: Created shield window 0x85 for display 0x003f003e
Aug 2 12:01:32 macair WindowServer[82]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1
Aug 2 12:01:33 macair kernel[0]: MacAuthEvent en0 Auth result for: 80:a1:d7:28:4f:a2 MAC AUTH succeeded
Aug 2 12:01:33 macair kernel[0]: wlEvent: en0 en0 Link UP virtIf = 0
Aug 2 12:01:33 macair kernel[0]: AirPort: Link Up on en0
Aug 2 12:01:33 macair kernel[0]: en0: BSSID changed to 80:a1:d7:28:4f:a2
Aug 2 12:01:33 macair kernel[0]: en0::IO80211Interface::postMessage bssid changed
Aug 2 12:01:33 macair configd[19]: network changed: v4(en0+:192.168.1.4) DNS+ Proxy+ SMB+
Aug 2 12:01:33 macair awacsd[72]: InnerStore GetWakeInfoForZone: zero address for 1275066441.members.btmm.icloud.com.
Aug 2 12:01:33 macair UserEventAgent[13]: Captive: en0: Not probing 'Airtel_602' (protected network)
Aug 2 12:01:33 macair configd[19]: network changed: v4(en0!:192.168.1.4) DNS Proxy SMB
Aug 2 12:01:33 macair airportd[4726]: _doAutoJoin: Already associated to “Airtel_602”. Bailing on auto-join.
Aug 2 12:01:33 --- last message repeated 1 time ---
Aug 2 12:01:33 macair kernel[0]: en0: BSSID changed to 80:a1:d7:28:4f:a2
Aug 2 12:01:43 macair mDNSResponder[54]: ERROR: socket closed prematurely tcpInfo->nread = 0
Aug 2 12:01:48 --- last message repeated 2 times ---
Aug 2 12:01:48 macair Cinch[219]: Error getting parent from element, bailing
Aug 2 12:02:45 macair login[4761]: in pam_sm_acct_mgmt(): OpenDirectory - Membership cache TTL set to 1800.
Aug 2 12:02:45 macair login[4761]: in od_record_check_pwpolicy(): retval: 0
Aug 2 12:02:45 macair login[4761]: in od_record_attribute_create_cfstring(): returned 2 attributes for dsAttrTypeStandard:AuthenticationAuthority
Aug 2 12:02:45 macair login[4761]: USER_PROCESS: 4761 ttys000
Aug 2 12:02:52 macair coreaudiod[156]: Disabled automatic stack shots because audio IO is active
Aug 2 12:02:53 macair coreaudiod[156]: Enabled automatic stack shots because audio IO is inactive
Aug 2 12:02:55 macair coreaudiod[156]: Disabled automatic stack shots because audio IO is active
Aug 2 12:02:55 macair coreaudiod[156]: Enabled automatic stack shots because audio IO is inactive
Aug 2 12:03:26 macair com.apple.quicklook.satellite[4744]: [QL] No sandbox token for thumbnail request file://localhost/Library/Logs/stackshot-syms.log, it will probably fail
Aug 2 12:03:26 macair com.apple.quicklook.satellite[4744]: [QL] No sandbox token for thumbnail request file://localhost/Library/Logs/stackshot.log, it will probably fail
Aug 2 12:03:27 macair com.apple.quicklook.satellite[4744]: [QL] No sandbox token for thumbnail request file://localhost/Library/Logs/stackshot-syms.log, it will probably fail
Aug 2 12:03:27 macair com.apple.quicklook.satellite[4744]: [QL] No sandbox token for thumbnail request file://localhost/Library/Logs/stackshot.log, it will probably fail
Aug 2 12:03:55 macair com.apple.SecurityServer[17]: Killing auth hosts
Aug 2 12:03:55 macair com.apple.SecurityServer[17]: Session 100010 destroyed