public static void printCorInfEventsToLLInterCount(){
		int startTime = 0;
		int incTime = 5*(60*60*24);
		int endTime = 100*60*60*24;
		int estNumLocs = 100000;
		HashMap<Integer,Integer> aggPop = new HashMap<Integer,Integer>(estNumLocs);
		HashMap<Integer,Integer> numInfected = new HashMap<Integer,Integer>(estNumLocs);
//		HashMap<Integer,Double> xs = new HashMap<Integer,Double>(estNumLocs);
//		HashMap<Integer,Double> ys = new HashMap<Integer,Double>(estNumLocs);
		int time = startTime;
		try {
			Connection con = dbConnect();
			PreparedStatement getInfEvents = con.prepareStatement(
					"SELECT locationID FROM "+EpiSimUtil.dendroTbl+" WHERE time > ? AND time <= ?");
			PreparedStatement getLLInterCount = con.prepareStatement(
					"SELECT tally FROM "+EpiSimUtil.llInterCountTbl+
					" WHERE location1ID = ? AND location2ID = ?");
			PreparedStatement getAggPop = con.prepareStatement(
					"SELECT aggregatePop FROM "+EpiSimUtil.locTbl+" WHERE locationID = ?");
			while (time <= endTime) {
				getInfEvents.setInt(1, time);
				getInfEvents.setInt(2, time+incTime);
				ResultSet getInfEventsQ = getInfEvents.executeQuery();
				while (getInfEventsQ.next()) {
					Integer location = new Integer(getInfEventsQ.getInt("locationID"));
					if (numInfected.containsKey(location)) {
						numInfected.put(location, numInfected.get(location) + 1);
					} else {
						numInfected.put(location, new Integer(1));
					}
					if (!aggPop.containsKey(location)) {
						getAggPop.setInt(1, location.intValue());
						ResultSet getAggPopQ = getAggPop.executeQuery();
						if (getAggPopQ.first()) {
							Integer pop = new Integer(getAggPopQ.getInt("aggregatePop"));
							aggPop.put(location, pop);
						}
					}
				}
				int day = time / (60*60*24);
				FileWriter fw = new FileWriter(day+".dat");
				Iterator<Integer> itr = numInfected.keySet().iterator();
				while (itr.hasNext()) {
					Integer location = itr.next();
					Iterator<Integer> itr2 = numInfected.keySet().iterator();
					while (itr2.hasNext()) {
						Integer location2 = itr2.next();
						getLLInterCount.setInt(1, location.intValue());
						getLLInterCount.setInt(2, location2.intValue());
						ResultSet getLLInterCountQ = getLLInterCount.executeQuery();
						if (getLLInterCountQ.first()) {
							int tally = getLLInterCountQ.getInt("tally");
							double del = Math.abs(
									numInfected.get(location).doubleValue()/aggPop.get(location).doubleValue()
									-  numInfected.get(location2).doubleValue()/aggPop.get(location2).doubleValue());
							fw.write(tally+"\t"+del+"\n");
						}
					}
//					double x,y;
//					if (!xs.containsKey(location)) {
//						xs.put(location, getX(location.intValue()));
//						ys.put(location, getY(location.intValue()));
//					}
//					x = xs.get(location);
//					y = ys.get(location);
//					fw.write(x+"\t"+y+"\t"+numInfected.get(location)+"\n");
				}
				fw.close();
				time += incTime;
			}
			con.close();
		} catch (Exception e) {
			System.out.println(e);
		}
	}