Skip to content

Instantly share code, notes, and snippets.

View smsharma's full-sized avatar

Siddharth Mishra-Sharma smsharma

View GitHub Profile
This file has been truncated, but you can view the full file.
#Results from heasarc_fermilpsc: Fermi LAT 4-Year Point Source Catalog
#Coordinate system: Galactic
|name |_Lii |_Bii |flux_1_100_gev|flux_1_100_gev_error|spectral_index|spectral_index_error|detection_significance|assoc_name_1 |lii |bii |semi_major_axis_68|semi_minor_axis_68|position_angle_68|semi_major_axis_95|semi_minor_axis_95|position_angle_95|pivot_energy|flux_density|flux_density_error|energy_flux|energy_flux_error|curve_significance|spectrum_type |beta |beta_error|cutoff |cutoff_error|exp_index|exp_index_error|powerlaw_index|flux_30_100_mev|flux_30_100_mev_pos_err|flux_30_100_mev_neg_err|nufnu_30_100_mev|sqrt_ts_30_100_mev|flux_100_300_mev|flux_100_300_mev_pos_err|flux_100_300_mev_neg_err|nufnu_100_300_mev|sqrt_ts_100_300_mev|flux_0p3_1_gev|flux_0p3_1_gev_pos_err|flux_0p3_1_gev_neg_err|nufnu_0p3_1_gev|sqrt_ts_0p3_1_gev|flux_1_3_gev|flux_1_3_gev_pos_err|flux_1_3_gev_neg_err|nufnu_1_3_gev|sqrt_ts_1_3_gev|flux_3_10_gev|flux_3_10_gev_pos_err|flux_3_10_gev_neg_er
<LesHouchesEvents version="3.0">
<header>
<!--
#*********************************************************************
# *
# MadGraph5_aMC@NLO *
# *
# Going Beyond *
# *
# http://madgraph.hep.uiuc.edu *
<LesHouchesEvents version="3.0">
<header>
<!--
#*********************************************************************
# *
# MadGraph5_aMC@NLO *
# *
# Going Beyond *
# *
# http://madgraph.hep.uiuc.edu *
######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
######################################################################
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
### MATPLOTLIBRC FORMAT
# This is a sample matplotlib configuration file - you can find a copy
# of it on your system in
# site-packages/matplotlib/mpl-data/matplotlibrc. If you edit it
# there, please note that it will be overwritten in your next install.
# If you want to keep a permanent local copy that will not be
# overwritten, place it in the following location:
# unix/linux:
# $HOME/.config/matplotlib/matplotlibrc or
###############################################################################
# p3FGL.py
###############################################################################
#
# Plot Fermi 3FGL PS catalog histogram
# Usage:
#
# p = plot_3FGL()
# x_counts, y_counts, error_L, error_H, x_errors_L, x_errors_H = \
# p.return_counts(flux_min = 5e-11,
#!/bin/sh
# create ssh connections without giving a password
if [ $# -lt 1 ]; then
echo Usage: $0 username@remotehost
exit
fi
remote="$1" # 1st command-line argument is the user@remotehost address
this=$HOST # name of client host
@smsharma
smsharma / tmux_local_install.sh
Last active October 25, 2024 21:39
Install tmux locally without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $INSTALL_DIR/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
@smsharma
smsharma / Princeton.md
Last active August 12, 2019 18:40
Random notes on cluster-related stuff for Princeton clusters.

Useful tips and tricks for running on Princeton's computing clusters. (Adapted from https://gist.github.com/smsharma/c579c6563eed954f2283)

Feynman

feynman.princeton.edu

Feynman-hepheno has 3 nodes -- node022 with 16 cores and 128GB memory, and node040-node041 with 28 cores and 256GB memory.

  • Three areas -- home (~), group (/group/hepheno/) and group storage (/mnt/hepheno/)
  • Best to work from your user directory in /group/hepheno since ~ has very little storage space -- set a cd /group/hepheno/ in ~/.bashrc!
  • The contents of /group/hepheno/group-setup.sh are automatically sourced on cd into the group directory /group/hepheno/: