Please read CXC Director Dr. Pat Slane's A Letter to the Community regarding NASA's plans to decommission Chandra.
For detailed information and examples of running this tool, refer to the mtl_build_gti ahelp file.
See dmgti