I am having trouble with the Table of contents and the list of figures: The title and the entries are showing on two pages. How do I remove the big space before apendix and vita.
\documentclass[]{report}
\usepackage[md]{titlesec}
\usepackage{subfiles}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage[titles]{tocloft}
\usepackage[tocindentauto]{tocstyle}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{gensymb}
\usepackage{float}
\usepackage{floatpag}
\floatpagestyle{plain}
\usepackage{listings}
\usepackage[verbose]{cite}
\usepackage{cleveref}
\usepackage{url}
\usepackage{breakurl}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{epstopdf}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{setspace}
\usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@chapter}{\addtocontents{lof}{\protect\addvspace{10\p@}}}{}{}{}% LoF
\patchcmd{\@chapter}{\addtocontents{lot}{\protect\addvspace{10\p@}}}{}{}{}% LoT
\makeatother
\usepackage{pgfplots}
\usepackage{tikz}
\titleformat{\chapter}[display]{\centering\normalfont\large}{CHAPTER \arabic{chapter}}{0pt}{}{}
\titleformat*{\section}{\centering\bfseries\large}
\titleformat*{\subsection}{\bfseries\large}
\titleformat*{\subsubsection}{\normalfont\large}
\titlespacing*{\section}{0pt}{1\baselineskip}{0pt}
\titlespacing*{\subsection}{0pt}{0pt}{0pt}
\titlespacing*{\subsubsection}{0pt}{2\baselineskip}{0pt}
\titlespacing{\paragraph}{0pt}{0pt}{1em}
\renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}} % for parts
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} % for chapters
\setcounter{tocdepth}{3}%all headings must be displayed in ToC.
\setcounter{secnumdepth}{3}%numbers all headings; not actually required (can set to 0 instead of 3 if wanted)
\renewcommand{\contentsname}{}%this is a kludge; ignore it
\renewcommand{\listfigurename}{}
\renewcommand{\listtablename}{}
\renewcommand{\cftpartfont}{\normalsize\normalfont} %changes font of chapters & parts in ToC. removes bold, for instance
\renewcommand{\cftchapfont}{\normalsize\normalfont}
\renewcommand{\cftpartpagefont}{\normalsize\normalfont}
\renewcommand{\cftchappagefont}{\normalsize\normalfont}
\cftsetindents{chapter}{.25in}{.25in}%indents the chapters & sections in the ToC
\cftsetindents{section}{.5in}{.25in}
\cftsetindents{subsection}{.75in}{.5in}
\cftsetindents{subsubsection}{1in}{.5in}
\renewcommand\cftsecafterpnum{\vskip-.5\baselineskip} %these make the ToC single spaced within chapters, but keep it double spaced elsewhere
\renewcommand\cftsubsecafterpnum{\vskip-.5\baselineskip}
\renewcommand\cftsubsubsecafterpnum{\vskip-.5\baselineskip}
\newenvironment{MyFigure}[1][]{\begin{figure}[#1]\vspace{\baselineskip}}{\vspace{\baselineskip}\end{figure}}
\doublespacing %double space
\raggedbottom
\begin{document}
%DO NOT USE \maketitle
\thispagestyle{empty}
\renewcommand{\thepage}{\roman{page}}% lowercase roman numerals for pre-document stuff
\chapter*{}
\begin{center}
\vfill
Copyright \copyright\ 2017
All Rights Reserved
\vfill
\end{center}
\chapter*{ABSTRACT}
\addcontentsline{toc}{part}{\vspace{-.5\baselineskip}ABSTRACT}
\large
\paragraph{Test}
\chapter*{ACKNOWLEDGMENTS}
\addcontentsline{toc}{part}{\vspace{-.5\baselineskip}ACKNOWLEDGMENTS}
%\subfile{sections/Acknowledge}
\chapter*{DEDICATION}
\addcontentsline{toc}{part}{\vspace{-.5\baselineskip}DEDICATION}
%\subfile{sections/Dedication}
\chapter*{TABLE OF CONTENTS}
\vspace{-6\baselineskip}
\tableofcontents
\chapter*{LIST OF FIGURES}
\vspace{-4\baselineskip}
\listoffigures
\addcontentsline{toc}{part}{\vspace{-.5\baselineskip}LIST OF FIGURES}
\chapter*{LIST OF SYMBOLS}
%\vspace{-6\baselineskip}
\addcontentsline{toc}{part}{\vspace{-.5\baselineskip}LIST OF SYMBOLS}
\subfile{sections/Los}
\chapter*{LIST OF ABBREVIATIONS}
%\vspace{-6\baselineskip}
\addcontentsline{toc}{part}{\vspace{-.5\baselineskip}LIST OF ABBREVIATIONS}
\subfile{sections/Loa}
\cleardoublepage
\cleardoublepage
\large
\clearpage
\setcounter{page}{1}
\renewcommand{\thepage}{\arabic{page}}% Arabic numerals, starting at 1, for the actual document
\addtocontents{toc}{%
\protect\contentsline{part}{.}{}}
\chapter{INTRODUCTION}
\label{Intro}
\section{Background}
\label{Backgrnd}
%\subfile{Sections/Background}
\section{Questions and Limitations}
\label{Quest}
%\subfile{Sections/quest}
\chapter{RELATED WORKS}
\label{RelWorks}
%\subfile{Sections/Relworks}
\chapter{METHODOLOGY}
\label{Method}
%\subfile{Sections/Methodology}
\chapter{RESULTS}
\label{Result}
\%subfile{Sections/Result}
\chapter{CONCLUSION}
\label{Conclusion}
%\subfile{Sections/conclusion}
\cleardoublepage
\addcontentsline{toc}{part}{\vspace{-.5\baselineskip}REFERENCES}
\cleardoublepage
\renewcommand\bibname{REFERENCES}
\setstretch{1} %this single spaces within bib entries, but keeps double spaces between entries
%\bibliography{ref}
%\bibliographystyle{IEEEtran}
%\nocite{*}
%\bibliographystyle{unsrt}
\addtocontents{toc}{%
\protect\contentsline{part}{APPENDIX }{}}
\appendix
\titleformat{\chapter}[display]{\centering\normalfont\large}{APPENDIX \Alph{chapter}}{0pt}{}{}
\titlespacing*{\chapter }{0pt}{250pt}{40pt}
\chapter{Equations }
\label{eqn}
%\subfile{Sections/Equation}
\clearpage
%\chapter[\vspace{-.5\baselineskip}FINAL APPENDIX TITLE]{ Equation}%the last appendix needs to be added strangely
\clearpage
\chapter*{VITA}
\addcontentsline{toc}{part}{VITA}
\large
%\subfile{Sections/Vita}
\end{document}


epsfig. See How to keep up with packages and know which ones are obsolete? – Werner Nov 03 '17 at 00:42