SANTA CRUZ , Bolivia ( CNN ) -- Thousands of people in Bolivia 's largest state celebrated what they saw as the success of a referendum on autonomy Sunday night , but the country 's president said the measure had failed .