closely (adv.) Look up closely at Dictionary.com
1550s, "secretly," from close (adj.) + -ly (2). From 1560s as "compactly," 1590s as "so as to enclose;" 1630s as "nearly."