At the time of issuing a warrant of arrest, the magistrate shall fix the amount of bail which in his judgment in accordance with the provisions of section 1275 will be reasonable and sufficient for the appearance of the defendant following his arrest, if the offense is bailable, and said magistrate shall endorse upon said warrant a statement signed by him, with the name of his office, dated at the county, city or town where it is made to the following effect “The defendant is to be admitted to bail in the sum of ____ dollars” (stating the amount).