A system for performing a downhole optical analysis includes a housing positioned in a wellbore extending into a formation. The system also includes a carrier arranged within the housing, the carrier being coupled to a power supply. The system further includes a catalyst coating at least a portion of the carrier. The system also includes a regulated inlet providing a fluid pathway into a reaction chamber that includes at least a portion of the catalyst. The system further includes a detector arranged relative to the reaction chamber to detect a signal emitted via an interaction between the catalyst and a fluid sample introduced into the housing.