A detailed analysis of the galactic TeV source HESS J1804-216