&star_job  ! inlist_astero   

      show_log_description_at_start = .false.
      
      load_saved_model = .true.
      saved_model_name = 'astero_test.mod'

      save_model_when_terminate = .true.
      save_model_filename = 'final.mod'
      
      write_profile_when_terminate = .true.
      filename_for_profile_when_terminate = 'final_profile.data'

      change_initial_net = .true. ! switch nuclear reaction network
      new_net_name = 'o18_and_ne22.net'

	   set_rate_c12ag = 'Kunz'
	   set_rate_n14pg = 'jina reaclib'
	   
      kappa_file_prefix = 'a09'

      pgstar_flag = .false.
      

/ ! end of star_job namelist


&controls

      ! check for retries and backups as part of test_suite
      ! you can/should delete this for use outside of test_suite
         max_number_backups = 10
         max_number_retries = 50
         max_model_number = 3000

      calculate_Brunt_N2 = .true. 
      num_cells_for_smooth_brunt_B = 0
      
      !sig_min_factor_for_neg_abundances = 1d0

      which_atm_option = 'photosphere_tables'     

      ! timesteps
      max_timestep = 3.15d15  ! in seconds.  max_timestep <= 0 means no upper limit.            
      varcontrol_target = 1d-4

      ! mesh adjustment
      mesh_delta_coeff = 0.5

      ! controls for output
      photostep = 10
      profile_interval = 100
      history_interval = 10
      terminal_interval = 10
      write_header_frequency = 10



/ ! end of controls namelist


&pgstar
         
      ! top level controls

         !pause = .true. 
            ! if true, the code waits for user to enter a RETURN on the command line
            
            
      ! make up a grid plot with echelle, TRho_Profile, Mode_Prop, logg_Teff
         Grid9_win_flag = .true.
         Grid9_win_width = 11
         Grid9_win_aspect_ratio = 0.7 ! aspect_ratio = height/width
         Grid9_num_cols = 2 ! divide plotting region into this many equal width cols
         Grid9_num_rows = 11 ! divide plotting region into this many equal height rows
         Grid9_num_plots = 5 ! <= 10

         Grid9_xleft = 0.15 ! fraction of full window width for margin on left
         Grid9_xright = 0.85 ! fraction of full window width for margin on right
         Grid9_ybot = 0.02 ! fraction of full window width for margin on bottom
         Grid9_ytop = 0.91 ! fraction of full window width for margin on top
         Grid9_title = 'HD49385'
         
         
         Grid9_plot_name(1) = 'Echelle'
         Grid9_plot_row(1) = 1 ! number from 1 at top
         Grid9_plot_rowspan(1) = 4 ! plot spans this number of rows
         Grid9_plot_col(1) =  1 ! number from 1 at left
         Grid9_plot_colspan(1) = 1 ! plot spans this number of columns 
         Grid9_plot_pad_left(1) = 0.0 ! fraction of full window width for padding on left
         Grid9_plot_pad_right(1) = 0.05 ! fraction of full window width for padding on right
         Grid9_plot_pad_top(1) = 0.0 ! fraction of full window height for padding at top
         Grid9_plot_pad_bot(1) = 0.09 ! fraction of full window height for padding at bottom
         Grid9_txt_scale_factor(1) = 0.65 ! multiply txt_scale for subplot by this
         
         Grid9_plot_name(2) = 'TRho_Profile' 
         Grid9_plot_row(2) = 5 ! number from 1 at top
         Grid9_plot_rowspan(2) = 4 ! plot spans this number of rows
         Grid9_plot_col(2) =  1 ! number from 1 at left
         Grid9_plot_colspan(2) = 1 ! plot spans this number of columns 
         Grid9_plot_pad_left(2) = 0.00 ! fraction of full window width for padding on left        
         Grid9_plot_pad_right(2) = 0.05 ! fraction of full window width for padding on right        
         Grid9_plot_pad_top(2) = 0.05 ! fraction of full window height for padding at top
         Grid9_plot_pad_bot(2) = 0.01 ! fraction of full window height for padding at bottom
         Grid9_txt_scale_factor(2) = 0.65 ! multiply txt_scale for subplot by this
         
         Grid9_plot_name(3) = 'Mode_Prop' 
         Grid9_plot_row(3) = 1 ! number from 1 at top
         Grid9_plot_rowspan(3) = 4 ! plot spans this number of rows
         Grid9_plot_col(3) =  2 ! number from 1 at left
         Grid9_plot_colspan(3) = 1 ! plot spans this number of columns          
         Grid9_plot_pad_left(3) = 0.05 ! fraction of full window width for padding on left
         Grid9_plot_pad_right(3) = 0.0 ! fraction of full window width for padding on right         
         Grid9_plot_pad_top(3) = 0.00 ! fraction of full window height for padding at top
         Grid9_plot_pad_bot(3) = 0.09 ! fraction of full window height for padding at bottom
         Grid9_txt_scale_factor(3) = 0.65 ! multiply txt_scale for subplot by this
         
         Grid9_plot_name(4) = 'logg_Teff' 
         Grid9_plot_row(4) = 5 ! number from 1 at top
         Grid9_plot_rowspan(4) = 4 ! plot spans this number of rows
         Grid9_plot_col(4) =  2 ! number from 1 at left
         Grid9_plot_colspan(4) = 1 ! plot spans this number of columns          
         Grid9_plot_pad_left(4) = 0.05 ! fraction of full window width for padding on left         
         Grid9_plot_pad_right(4) = 0.0 ! fraction of full window width for padding on right
         Grid9_plot_pad_top(4) = 0.05 ! fraction of full window height for padding at top
         Grid9_plot_pad_bot(4) = 0.01 ! fraction of full window height for padding at bottom
         Grid9_txt_scale_factor(4) = 0.65 ! multiply txt_scale for subplot by this
         
         Grid9_plot_name(5) = 'Text_Summary1'
         Grid9_plot_row(5) = 9 ! number from 1 at top
         Grid9_plot_rowspan(5) = 3 ! plot spans this number of rows
         Grid9_plot_col(5) =  1 ! number from 1 at left
         Grid9_plot_colspan(5) = 2 ! plot spans this number of columns 
         Grid9_plot_pad_right(5) = -0.081 ! fraction of full window width for padding on right
         Grid9_txt_scale_factor(5) = 0.2 ! multiply txt_scale for subplot by this

         Text_Summary1_name(4,4) = 'chi2'
         Text_Summary1_name(5,4) = 'delta_nu_model'

         ! file output
         !Grid9_file_flag = .true.
         Grid9_file_dir = 'png'
         Grid9_file_prefix = 'astero_'
         Grid9_file_cnt = 1 ! output when mod(model_number,Grid9_file_cnt)==0
         Grid9_file_width = -1 ! (inches) negative means use same value as for window
         Grid9_file_aspect_ratio = -1 ! negative means use same value as for window

      ! dPg_dnu window -- delta_Pg vs. delta_nu
      
         !dPg_dnu_win_flag = .true.
      
         dPg_dnu_win_width = 7
         dPg_dnu_win_aspect_ratio = 0.62 ! aspect_ratio = height/width
      
         ! axis limits -- to override system default selections
         dPg_dnu_delta_nu_min = -101 ! only used if > -100
         dPg_dnu_delta_nu_max = -101 ! only used if > -100
         dPg_dnu_delta_Pg_min = -101 ! only used if > -100
         dPg_dnu_delta_Pg_max = 200 ! only used if > -100
         
         ! file output
         dPg_dnu_file_flag = .false.
         dPg_dnu_file_dir = 'png'
         dPg_dnu_file_prefix = 'dPg_dnu'
         dPg_dnu_file_cnt = 5 ! output when mod(model_number,dPg_dnu_file_cnt)==0
         dPg_dnu_file_width = -1 ! negative means use same value as for window
         dPg_dnu_file_aspect_ratio = -1 ! negative means use same value as for window

      
      
      ! HR window -- lg_L vs. lg_Teff
      
         !HR_win_flag = .true.
      
         HR_win_width = 7
         HR_win_aspect_ratio = 0.62 ! aspect_ratio = height/width
      
         ! axis limits -- to override system default selections
         HR_logT_min = 3.74 ! -101 ! only used if > -100
         HR_logT_max = 3.83 ! only used if > -100
         HR_logL_min = 0.25 ! -101 ! only used if > -100
         HR_logL_max = 0.84 ! -101 ! only used if > -100
         
         show_HR_target_box = .true.
         HR_target_n_sigma = -3
         HR_target_logL = 0.67d0
         HR_target_logL_sigma = 0.05d0
         HR_target_logT = 3.785d0
         HR_target_logT_sigma = 0.00461d0
         
         ! file output
         HR_file_flag = .false.
         HR_file_dir = 'pgstar_out'
         HR_file_prefix = 'hr'
         HR_file_cnt = 5 ! output when mod(model_number,HR_file_cnt)==0
         HR_file_width = -1 ! negative means use same value as for window
         HR_file_aspect_ratio = -1 ! negative means use same value as for window
         
               
      ! TRho Profile window -- current model in T-Rho plane
      
         !TRho_Profile_win_flag = .true.

         TRho_Profile_win_width = 7
         TRho_Profile_win_aspect_ratio = 0.62 ! aspect_ratio = height/width
            
         show_TRho_Profile_text_info = .false.
         show_TRho_Profile_legend = .true.
         show_TRho_Profile_burn_labels = .true.
         show_TRho_Profile_mass_locs = .false.

         show_TRho_Profile_kap_regions = .false.
         show_TRho_Profile_eos_regions = .false.
         show_TRho_Profile_degeneracy_line = .true.
         show_TRho_Profile_Pgas_Prad_line = .true.
         show_TRho_Profile_burn_lines = .true.

         !show_TRho_Profile_annotation1 = .true.
         annotation1_ci = 1 ! color index
         annotation1_ch = 1.1 ! character height
         annotation1_lw = 1 ! line width
         annotation1_cf = 1 ! character font (1=sans serif, 2=roman, 3=italic, 4=script)
         annotation1_side = 'T' ! T, B, L, or R
         annotation1_disp = 2.8 ! displacement perpendicular to axis
         annotation1_coord = 0.5 ! fractional location along axis
         annotation1_fjust = 0.5 ! 0 => left justified, 0.5 => centered, 1 => right justified
         annotation1_text = 'HD49385'
      
         ! axis limits
         TRho_Profile_xmin = -10
         TRho_Profile_xmax = 10
         TRho_Profile_ymin = 3.0
         TRho_Profile_ymax = 10
         
         ! file output
         !TRho_Profile_file_flag = .true.
         TRho_Profile_file_dir = 'png'
         TRho_Profile_file_prefix = 'trho_profile'
         TRho_Profile_file_cnt = 2 ! output when mod(model_number,TRho_Profile_file_cnt)==0
         
         
      ! Mode Propagation window
      
         !Mode_Prop_win_flag = .true.
      
         Mode_Prop_win_width = 6
         Mode_Prop_win_aspect_ratio = 0.62 ! aspect_ratio = height/width
         
         Mode_Prop_nu_max_obs = 1000
      
         Mode_Prop_xaxis_name = 'r_div_R' 
         
         ! power xaxis limits -- to override system default selections
         Mode_Prop_xmin = -101 ! only used if > -100
         Mode_Prop_xmax = 0.3 !-101 ! only used if > -100
         
         ! power yaxis limits -- to override system default selections
         Mode_Prop_ymin = 2 ! -101 ! only used if > -100
         Mode_Prop_ymax = 5 ! -101 ! only used if > -100
         
         ! file output
         Mode_Prop_file_flag = .false.
         Mode_Prop_file_dir = 'pgstar_out'
         Mode_Prop_file_prefix = 'mode_prop'
         Mode_Prop_file_cnt = 5 ! output when mod(model_number,Mode_Prop_file_cnt)==0
         Mode_Prop_file_width = -1 ! negative means use same value as for window
         Mode_Prop_file_aspect_ratio = -1 ! negative means use same value as for window      
      
      
      ! logg_Teff window -- logg vs. Teff
      
         logg_Teff_win_flag = .true.
      
         logg_Teff_win_width = 7
         logg_Teff_win_aspect_ratio = 0.62 ! aspect_ratio = height/width         


         show_logg_Teff_target_box = .true.
         logg_Teff_target_n_sigma = -3
         logg_Teff_target_logg = 4.00d0
         logg_Teff_target_logg_sigma = 0.06d0
         logg_Teff_target_Teff = 6095d0
         logg_Teff_target_Teff_sigma = 65  
      
         ! axis limits -- to override system default selections
         logg_Teff_logg_min = 3.8 ! only used if > -100
         logg_Teff_logg_max = 4.9 ! only used if > -100
         logg_Teff_Teff_min = 4700 ! only used if > -100
         logg_Teff_Teff_max = 6500 ! only used if > -100

         ! file output
         logg_Teff_file_flag = .false.
         logg_Teff_file_dir = 'pgstar_out'
         logg_Teff_file_prefix = 'logg_Teff'
         logg_Teff_file_cnt = 5 ! output when mod(model_number,logg_Teff_file_cnt)==0
         logg_Teff_file_width = -1 ! negative means use same value as for window
         logg_Teff_file_aspect_ratio = -1 ! negative means use same value as for window
      
      ! logg_logT window -- history of logg vs. log Teff
      
         !logg_logT_win_flag = .true.
      
         logg_logT_win_width = 7
         logg_logT_win_aspect_ratio = 0.62 ! aspect_ratio = height/width

         show_logg_logT_target_box = .true.
         logg_logT_target_n_sigma = -3 ! -n means show sig 1..n
         logg_logT_target_logg = 4.00d0
         logg_logT_target_logg_sigma = 0.06d0
         logg_logT_target_logT = 3.785d0
         logg_logT_target_logT_sigma = 0.00461d0  
      
         ! axis limits -- to override system default selections
         logg_logT_logg_min = 3.8 ! only used if /= -101d0
         logg_logT_logg_max = 4.4 ! only used if /= -101d0
         logg_logT_logT_min = 3.74 ! only used if /= -101d0
         logg_logT_logT_max = 3.83 ! only used if /= -101d0
         
         ! file output
         logg_logT_file_flag = .false.
         logg_logT_file_dir = 'png'
         logg_logT_file_prefix = 'logg_logT_'
         logg_logT_file_cnt = 5 ! output when mod(model_number,logg_logT_file_cnt)==0
         logg_logT_file_width = -1 ! (inches) negative means use same value as for window
         logg_logT_file_aspect_ratio = -1 ! negative means use same value as for window
            

/ ! end of pgstar namelist
