! this is a test of spec_read




  use sex_02 k2 0.01 -2.6 2.6
  use sex_48 k2 0.01 -2.6 2.6
  use sex_49 k2 0.01 -2.6 2.6



 $USE_LIST
   use SEX_08  k2  0.0002 -5.0  5.0
   use SEX_09  k2  0.0002 -5.0    5.0 
   use SEX_10  k2  0.0002 -5.0  5.0
   use SEX_11  k2  0.0002 -5.0    5.0 
   use SEX_12  k2  0.0002 -5.0  5.0
   use SEX_13  k2  0.0002 -5.0    5.0 
   use SEX_14  k2  0.0002 -5.0  5.0
   use SEX_15  k2  0.0002 -5.0    5.0 
   use SEX_16  k2  0.0002 -5.0  5.0
   use SEX_17  k2  0.0002 -5.0    5.0 
   use SEX_18  k2  0.0002 -5.0  5.0
   use SEX_19  k2  0.0002 -5.0    5.0 
   use SEX_20  k2  0.0002 -5.0    5.0 
   use SEX_21  k2  0.0002 -5.0  5.0
   use SEX_22  k2  0.0002 -5.0    5.0 
   use SEX_23  k2  0.0002 -5.0  5.0
   use SEX_24  k2  0.0002 -5.0    5.0 
   use SEX_25  k2  0.0002 -5.0  5.0
   use SEX_26  k2  0.0002 -5.0    5.0 
   use SEX_27  k2  0.0002 -5.0  5.0
   use SEX_28  k2  0.0002 -5.0    5.0 
   use SEX_29  k2  0.0002 -5.0  5.0
   use SEX_30  k2  0.0002 -5.0    5.0 
   use SEX_31  k2  0.0002 -5.0  5.0
   use SEX_32  k2  0.0002 -5.0    5.0 
   use SEX_33  k2  0.0002 -5.0  5.0
   use SEX_34  k2  0.0002 -5.0    5.0 
   use SEX_35  k2  0.0002 -5.0  5.0
   use SEX_36  k2  0.0002 -5.0    5.0 
   use SEX_37  k2  0.0002 -5.0  5.0
   use SEX_38  k2  0.0002 -5.0    5.0 
   use SEX_39  k2  0.0002 -5.0  5.0
   use SEX_40  k2  0.0002 -5.0    5.0 
   use SEX_41  k2  0.0002 -5.0  5.0
   use SEX_42  k2  0.0002 -5.0    5.0 
   use SEX_43  k2  0.0002 -5.0  5.0        ! Changed 0.0 to 5.0
   use SEX_44  k2  0.0002 -5.0    5.0 
   use SEX_45  k2  0.0002 -5.0  5.0
   use SEX_47  k2  0.0002 -5.0  5.0
 $END

 $CONSTRAINT_LIST
    ALPHA             X  target	initial_value	200.  	IP_L0
    ALPHA             Y  target initial_value	2.  	IP_L0
    eta               x  target initial_value	100.  	Q03w to q03e
    D_ETA_BEAM        X  target 3.637E-03	0.9e2   IP_L0
    D_ETA_BEAM        X  target 3.163E-03	0.9e2  	SC_Q02w
    D_ETA_BEAM        X  target 1.957E-02	0.9e2   SC_q02e
    D_ETA_BEAM        X  target -1.004E-01	0.9e2   Q24W
    D_ETA_BEAM        X  target 9.320E-02	0.9e2   Q24E
    EMITTANCE         N  target 1.231E-07 	1.0e9  	GLOBAL
    ELEC_EMITT        N  target 1.265E-07 	1.0e9  	GLOBAL
    d_xemit           N  target 1.265E-07	1.e7  	GLOBAL 
    BETA              X  target	initial_value	1.5e1  	Q03W
    BETA              Y  target	initial_value	1.5e1  	Q03W
    BETA_ELECTRONS    X  target	7.403E+00 	1.5e1  	Q03W
    BETA_ELECTRONS    Y  target	1.522E+01	1.5e1  	Q03W
    BETA              X  target	initial_value	1.5e1  	Q03E       
    BETA              Y  target	initial_value	1.5e1  	Q03E     
    BETA_ELECTRONS    X  target	7.219E+00 	1.5e1  	Q03E       
    BETA_ELECTRONS    Y  target	2.540E+01	1.5e1  	Q03E     
    BETA              X  target	initial_value	1.5e1  	Q04W       
    BETA              Y  target	initial_value	1.5e1  	Q04W     
    BETA_ELECTRONS    X  target	1.277E+01 	1.5e1  	Q04W       
    BETA_ELECTRONS    Y  target	7.288E+00	1.5e1  	Q04W     
    BETA              X  target	initial_value	1.5e1  	Q04E       
    BETA              Y  target	initial_value	1.5e1  	Q04E     
    BETA_ELECTRONS    X  target	1.366E+01 	1.5e1  	Q04E       
    BETA_ELECTRONS    Y  target	9.583E+00	1.5e1  	Q04E     
     Q                X  target initial_value	0.00001 GLOBAL
     Q                Y  target initial_value	0.00001 GLOBAL
    CHROM             X  target 1.006E+00	200.0   GLOBAL
    CHROM             Y  target 9.971E-01	400.0   GLOBAL
    SYNC_BETA_path    X  target  0.000E+00 	1.e10   GLOBAL
    SYNC_BETA_volt    X  target -1.002E-08 	1.e10   GLOBAL
     QS_2QX           N  target  6.614E+00 	5.e-1   GLOBAL 
     QS_2QX_cos       N  target -1.435E+00 	5.e-1   GLOBAL 
     QS_2QX_sin       N  target  6.456E+00 	5.e-1   GLOBAL 
    I_bunch           N  target 4.076E+00	3.0e2   GLOBAL
    pretz_eff         N  target 5.150E-01 	20.e0   GLOBAL
    LRBBI_DEL_Q       X  max    0.00072 	1.e5    GLOBAL
    LRBBI_DEL_Q       Y  max    0.0011  	1.e5    GLOBAL
    WELCH_TEMNYKH     N  max    1.1     	1.e13   GLOBAL
    VARIABLE_LIMIT    N  max	0. 		1.   	GLOBAL
    DET_4BY4          N  max    1.0   		20.    FULL_TURN
    DELTA_BETA        X  target 0.0		20.   	IP_L0 
    DELTA_BETA        Y  target 0.0		20.   	IP_L0 
    DELTA_BETA        X  max  	1.00E+0 	1.e0   Q03W    to Q03E
    DELTA_BETA        Y  max  	1.00E+0 	1.e0   Q03W    to Q03e
 $END

 &SINGLE_VARS
    N_LOOPS             = 200
    N_CYCLES            = 15
    CIRCULAR_MACHINE    = .true.
    EXCLUDE_LRBBI       = 'IP_L0', 'G2'
    N_TRAINS            = 9
    N_CARS              = 5
    N_14NS_SPACE        = 1
    OPTIMIZER           = 'marquardt'
    SYMMETRY            = 'NO_SYMMETRY'
    LAT_FILE            = 'bmad.'
    initial_lat_file    = 'bmad.'
    NONLINEARITY        = .true.
    PRETZEL             = .true.
    SPECIAL_OUTPUT      = 'xquneing1'
    ENERGY_OFFSET       = -0.003, 0., 0.003
    SEXTUPOLE_SYMMETRY  = 'NO_SYMMETRY'
    CALCULATE_MOMENTS   = .false.
    MINIMIZE_MOMENTS    = .false.
    SEX_COMPENSATE_NATURAL = .true.
    DISP_FILE           = 'disp.dat'
    PLOT                = .false.
    linearize_custom    = .false.
    hybridize           = .false.
    use_sextupole_fom   = .true.
    qs_2qx_turns        = 1000
/

 $END_FILE              ! reading of file stops here

this is garbage that should not be read










