def check_output_options(input,):
	"""
	Checks the inputs of the mcmc_options dictionary and ensures that 
	all keywords have valid values. 

	output_options={
	'write_chain'    : False,# Write MCMC chains for all paramters, fluxes, and
	                         # luminosities to a FITS table We set this to false 
	                         # because MCMC_chains.FITS file can become very large, 
	                         # especially  if you are running multiple objects.  
	                         # You only need this if you want to reconstruct chains 
	                         # and histograms. 
	'print_output'   : True,  # prints steps of fitting process in Jupyter output
	}
	"""
	output={} # output dictionary

	if not input:
		output={
		'write_chain'   : False, # Write MCMC chains for all paramters, fluxes, and
		                         # luminosities to a FITS table We set this to false 
		                         # because MCMC_chains.FITS file can become very large, 
		                         # especially  if you are running multiple objects.  
		                         # You only need this if you want to reconstruct chains 
		                         # and histograms. 
		'print_output'  : True,  # prints steps of fitting process in Jupyter output
		}
		return output

	# Check write_chain
	if 'write_chain' in input:
		write_chain = input['write_chain']
		if (not isinstance(write_chain,(bool,int))):
				raise TypeError('\n write_chain must be set to "True" or "False" \n')
		else: 
			output['write_chain']=write_chain
	else: 
		output['write_chain']= False

	# Check print_output
	if 'print_output' in input:
		print_output = input['print_output']
		if (not isinstance(print_output,(bool,int))):
				raise TypeError('\n print_output must be set to "True" or "False" \n')
		else: 
			output['print_output']=print_output
	else: 
		output['print_output']= True

	# print output
	return output